Doosan MX series M-Codes – Doosan CNC Turning Center Programming

Doosan MX series M-code list for cnc machinists/programmers. M-Codes for both Upper unit and lower unit are given.

Doosan MX Series CNC

This list of M-codes works for the following cnc machines,
Doosan PUMA series

  • MX2000, MX2000L/T/LT/S/LS/LST
  • MX2500, MX2500L/T/LT/S/LS/LST
  • MX3000, MX3000S

Doosan PUMA MX2500ST

Doosan MX Series M-Code List

M-CodeUPPER UNITLOWER UNIT
M00PROGRAM STOPPROGRAM STOP
M01OPTIONAL PROGRAM STOPOPTIONAL PROGRAM STOP
M02PROGRAM ENDPROGRAM END
M03LEFT SPINDLE FORWARD ROTATIONLEFT SPINDLE FORWARD ROTATION
M04LEFT SPINDLE REVERSE ROTATIONLEFT SPINDLE REVERSE ROTATION
M05LEFT SPINDLE STOP & SELECTIONLEFT SPINDLE STOP & SELECTION
M06ATC TOOL CHANGE COMMAND
M07BED SHOER COOLANT ONBED SHOER COOLANT ON
M08COOLANT ON (UPPER SIDE)COOLANT ON (UPPER SIDE)
M09COOLANT OFF (UPPER SIDE)COOLANT OFF (UPPER SIDE)
M10PARTS UNLOADER DOWN TO CHUCKPARTS UNLOADER DOWN TO CHUCK
M11PARTS UNLOADER RETURN TO HOMEPARTS UNLOADER RETURN TO HOME
M12COOLJECT ON (UPPER SIDE)COOLJECT ON (UPPER SIDE)
M13LEFT SPINDLE COOLANT BLOWER OFFLEFT SPINDLE COOLANT BLOWER OFF
M14LEFT SPINDLE AIR BLOW ONLEFT SPINDLE AIR BLOW ON
M15LEFT SPINDLE AIR BLOW OFFLEFT SPINDLE AIR BLOW OFF
M16BED SHOER COOLANT OFFBED SHOER COOLANT OFF
M17MACHINE LOCK ACTMACHINE LOCK ACT
M18MACHINE LOCK CANCELMACHINE LOCK CANCEL
M19LEFT SPINDLE ORIENTATIONLEFT SPINDLE ORIENTATION
M20GANTRY LOADER CALLGANTRY LOADER CALL
M21OPTIONAL BLOCK SKIP ACT
M22OPTIONAL BLOCK SKIP CANCEL
M23PROGRAM START CHECKPROGRAM START CHECK
M24CHIP CONVEYOR RUNCHIP CONVEYOR RUN
M25CHIP CONVEYOR STOPCHIP CONVEYOR STOP
M26T.S.C COOLANT ON (MILLING SPINDLE)
M27T.S.C COOLANT OFF (MILLING SPINDLE)
M28POLYGON MODE SELECTPOLYGON MODE SELECT
M29RIGID TAPPING MODE SELECTRIGID TAPPING MODE SELECT
M30PROGRAM END & REWINDPROGRAM END & REWIND
M31LEFT CHUCKING INTERLOCK BY-PASSLEFT CHUCKING INTERLOCK BY-PASS
M33MILLING SPINDLE FORWARD ROTATIONREVOLVING SPINDLE FORWARD ROTATION
M34MILLING SPINDLE REVERSE ROTATIONREVOLVING SPINDLE REVERSE ROTATION
M35MILLING SPINDLE STOP & C1-AXIS SELECTREVOLVING SPINDLE STOP & C1-AXIS SELECT
M45MILLING SPINDLE HEAD TOOL NO, EXTERNAL SET
M46P.T.S.BODY CLAMP & BAR ADVANCE
M47P.T.S.BODY UNCLAMP & BAR RETRACT
M48
M49MILLING SPINDLE ORIENTATION
M50BAR-FEEDER COMMAND 1BAR-FEEDER COMMAND 1
M51BAR-FEEDER COMMAND 2BAR-FEEDER COMMAND 2
M52FRONT SPLASH GUARD DOOR OPENFRONT SPLASH GUARD DOOR OPEN
M53FRONT SPLASH GUARD DOOR CLOSEFRONT SPLASH GUARD DOOR CLOSE
M54PARTS COUNTPARTS COUNT
M55REPEAT PROGRAM AFTER M02 / M30REPEAT PROGRAM AFTER M02 / M30
M56TAPPING MODE SELECTTAPPING MODE SELECT
M57TAPPING MODE CANCELTAPPING MODE CANCEL
M58STEADY REST CLAMP
M59STEADY REST UNCLAMP
M60TOOL CHANGE WITH MOVING AXES
M61LEFT SPINDLE WINDING CHANGE LOW SPEEDLEFT SPINDLE WINDING CHANGE LOW SPEED
M62LEFT SPINDLE WINDING CHANGE HIGH SPEEDLEFT SPINDLE WINDING CHANGE HIGH SPEED
M63LEFT SPINDLE FORWARD & UPPER COOLANT ONLEFT SPINDLE FORWARD & UPPER COOLANT ON
M64LEFT SPINDLE REVERSE & UPPER COOLANT ONLEFT SPINDLE REVERSE & UPPER COOLANT ON
M65LEFT SPINDLE STOP & UPPER COOLANT OFFLEFT SPINDLE STOP & UPPER COOLANT OFF
M66LEFT CHUCKING LOW PRESSURERIGHT CHUCKING LOW PRESSURE
M67LEFT CHUCKING HIGH PRESSURERIGHT CHUCKING HIGH PRESSURE
M68LEFT CHUCK CLAMPLEFT CHUCK CLAMP
M69LEFT CHUCK UNCLAMPLEFT CHUCK UNCLAMP
M70TAIL STOCK QUILL LOW PRESSURE ADVANCETAIL STOCK QUILL LOW PRESSURE ADVANCE
M72SPINDLE CONVERT ROTATION DIRECTIONSPINDLE CONVERT ROTATION DIRECTION
M73SPINDLE NORMAL ROTATION DIRECTIONSPINDLE NORMAL ROTATION DIRECTION
M74ERROR DETECT ONERROR DETECT ON
M75ERROR DETECT OFFERROR DETECT OFF
M76CHAMFERING ONCHAMFERING ON
M77CHAMFERING OFFCHAMFERING OFF
M78TAIL STOCK QUILL ADVANCETAIL STOCK QUILL ADVANCE
M79TAIL STOCK QUILL RETRACTTAIL STOCK QUILL RETRACT
M80Q-SETTER SWING ARM DOWNQ-SETTER SWING ARM DOWN
M81Q-SETTER SWING ARM UPQ-SETTER SWING ARM UP
M82TOUCH PROBE ONTOUCH PROBE ON
M83TOUCH PROBE OFFTOUCH PROBE OFF
M84TURRET C.W. ROTATION
M85TURRET C.C.W. ROTATION
M86LOWER A-AXIS TORQUE SKIP
M87LOWER A-AXIS TORQUE SKIP CANCEL
M88C1-AXIS LOW PRESSURE CLAMPC1-AXIS LOW PRESSURE CLAMP
M89C1-AXIS HIGH PRESSURE CLAMPC1-AXIS HIGH PRESSURE CLAMP
M90C1-AXIS UNCLAMPC1-AXIS UNCLAMP
M91EXTERNAL M-CODE M91EXTERNAL M-CODE M91
M92EXTERNAL M-CODE M92EXTERNAL M-CODE M92
M93EXTERNAL M-CODE M93EXTERNAL M-CODE M93
M94EXTERNAL M-CODE M94EXTERNAL M-CODE M94
M98SUB PROGRAM CALLSUB PROGRAM CALL
M99END OF SUB PROGRAMEND OF SUB PROGRAM
M100MILLING SPINDLE CLAMP
M101MILLING SPINDLE UNCLAMP
M103RIGHT SPINDLE FORWARD ROTATIONRIGHT SPINDLE FORWARD ROTATION
M104RIGHT SPINDLE REVERSE ROTATIONRIGHT SPINDLE REVERSE ROTATION
M105RIGHT SPINDLE STOP & SELECTIONRIGHT SPINDLE STOP & SELECTION
M106B-AXIS CURVIC COUPLING CLAMP
M107B-AXIS CURVIC COUPLING UNCLAMP
M108T.S.C COOLANT ON (LEFT SPINDLE)T.S.C COOLANT ON (LEFT SPINDLE)
M109T.S.C COOLANT OFF(LEFT SPINDLE)T.S.C COOLANT OFF(LEFT SPINDLE)
M110B-AXIS DISC CLAMP
M111B-AXIS DISC UNCLAMP
M112B-AXIS CURVIC & DISC CLAMP
M113B-AXIS CURVIC & DISC UNCLAMP
M114RIGHT SPINDLE AIR BLOW ONRIGHT SPINDLE AIR BLOW ON
M115RIGHT SPINDLE AIR BLOW OFFRIGHT SPINDLE AIR BLOW OFF
M116WORK EJECTOR OPERATION COMMANDWORK EJECTOR OPERATION COMMAND
M117LOWER A-AXIS TORQUE CONTROL ON
M118LOWER A-AXIS TORQUE CONTROL RESET
M119RIGHT SPINDLE ORIENTATIONRIGHT SPINDLE ORIENTATION
M121LOWER Z2-AXIS TORQUE CONTROL ON
M124LOWER Z2-AXIS TORQUE CONTROL RESET
M125SYNCHRO CONTROL WITH Z2-AXIS
M126SYNCHRO CONTROL CANCEL
M131RIGHT CHUCKING INTERLOCK BY-PASSRIGHT CHUCKING INTERLOCK BY-PASS
M135MILLING SPINDLE STOP & C2 AXIS SELECTIONREVOLVING SPINDLE STOP & C2 AXIS SELECTION
M138ROOF SHOWER COOLANT ON
M139ROOF SHOWER COOLANT OFF
M144ATC WAITING POT RETRACT
M145ATC WAITING POT ADVANCE
M146ATC WAITING POT CHANGE POSITION
M147ATC WAITING POT HOME POSITION
M148ATC WAITING POT HOME POSITION CHECK
M149ATC MAINTENANCE MODE ON
M150ATC MAINTENANCE MODE OFF
M151ATC CHANGER START FLAG
M152ATC 1 CYCLE
M153ATC DOOR OPEN
M154ATC DOOR CLOSE
M155AUTO MILLING SPINDLE ORIENTATION
M156V-GROOVE AIR ON
M157ATC CHANGER MOTOR BRAKE RELEASE
M158ATC CHANGER MOTOR BRAKE ENGAGE
M159
M160
M161RIGHT SPINDLE WINDING CHANGE LOW SPEEDRIGHT SPINDLE WINDING CHANGE LOW SPEED
M162RIGHT SPINDLE WINDING CHANGE HIGH SPEEDRIGHT SPINDLE WINDING CHANGE HIGH SPEED
M163RIGHT SPINDLE FORWARD & UPPER COOLANT ONRIGHT SPINDLE FORWARD & LOWER COOLANT ON
M164RIGHT SPINDLE REVERSE & UPPER COOLANT ONRIGHT SPINDLE REVERSE & LOWER COOLANT ON
M165RIGHT SPINDLE STOP & UPPER COOLANT OFFRIGHT SPINDLE STOP & LOWER COOLANT OFF
M168RIGHT CHUCK CLAMPRIGHT CHUCK CLAMP
M169RIGHT CHUCK UNCLAMPRIGHT CHUCK UNCLAMP
M170INTERFERENCE CHECK RELEASEINTERFERENCE CHECK RELEASE
M171INTERFERENCE CHECK RELEASE CANCELINTERFERENCE CHECK RELEASE CANCEL
M172Y-AXIS REFERENCE INTERLOCK RELEASE
M173Y-AXIS REFERENCE INTERLOCK RELEASE CANCEL
M174AUTO B-AXIS UN/CLAMP OFF & B-AXIS UNCLAMP
M175AUTO B-AXIS UN/CLAMP ON & B-AXIS CLAMP
M188C2-AXIS LOW PRESSURE CLAMPC2-AXIS LOW PRESSURE CLAMP
M189C2-AXIS HIGH PRESSURE CLAMPC2-AXIS HIGH PRESSURE CLAMP
M190C2-AXIS UNCLAMPC2-AXIS UNCLAMP
M192SIMUL.FEEDRATE ON(BALANCE CUTTING)SIMUL.FEEDRATE ON(BALANCE CUTTING)
M193SIMUL.FEEDRATE OFF(BALANCE CUTTING)SIMUL.FEEDRATE OFF(BALANCE CUTTING)
M194
M200TOOL LOAD MONITOR OFFTOOL LOAD MONITOR OFF
M201TOOL LOAD MONITOR ONTOOL LOAD MONITOR ON
M203SPINDLE FORWARD SPEED SYNCHRO COMMANDSPINDLE FORWARD SPEED SYNCHRO COMMAND
M204SPINDLE REVERSE SPEED SYNCHRO COMMANDSPINDLE REVERSE SPEED SYNCHRO COMMAND
M205SPINDLE SYNCHRO STOP COMMANDSPINDLE SYNCHRO STOP COMMAND
M206SPINDLE SYNCHRO RELEASE COMMANDSPINDLE SYNCHRO RELEASE COMMAND
M208SPINDLE SPEED & PHASE CONFRIM COMMANDSPINDLE SPEED & PHASE CONFRIM COMMAND
M209SPINDLE SPEED CONFIRM COMMANDSPINDLE SPEED CONFIRM COMMAND
M210PARTS UNLOADER WAITING IN LEFT CHUCKPARTS UNLOADER WAITING IN LEFT CHUCK
M211COMPOSITE CONTROL ACTCOMPOSITE CONTROL ACT
M212COMPOSITE CONTROL CANCELCOMPOSITE CONTROL CANCEL
M213SPINDLE FORWARD PHASE SYNCHRO COMMANDSPINDLE FORWARD PHASE SYNCHRO COMMAND
M214SPINDLE REVERSE PHASE SYNCHRO COMMANDSPINDLE REVERSE PHASE SYNCHRO COMMAND
M215TURRET UNCLAMP BEFORE T-CODE COMMAND
M217Z2-AXIS INTERLOCK(A-AXIS REF) RELEASE
M218Z2-AXIS INTERLOCK(A-AXIS REF) RELEASE CANCEL
M220UPPER X-AXIS INTERLOCK RELEASE
M221UPPER X-AXIS INTERLOCK RELEASE CANCEL
M226WORK EJECTER ADVANCEWORK EJECTER ADVANCE
M227WORK EJECTER RETRACTWORK EJECTER RETRACT
M230PARTS UNLOADER STOPPER RETURNPARTS UNLOADER STOPPER RETURN
M231PARTS UNLOADER STOPPER ADVANCEPARTS UNLOADER STOPPER ADVANCE
M232PARTS UNLOADER BODY ADVANCEPARTS UNLOADER BODY ADVANCE
M233PARTS UNLOADER BODY RETURNPARTS UNLOADER BODY RETURN
M234PARTS UNLOADER BUCKET DOWNPARTS UNLOADER BUCKET DOWN
M235PARTS UNLOADER BUCKET RETURNPARTS UNLOADER BUCKET RETURN
M236PARTS UNLOADER ARM DOWNPARTS UNLOADER ARM DOWN
M237PARTS CATCHER ARM RETURNPARTS CATCHER ARM RETURN
M250MACHINE MAINTENANCE MODE ONMACHINE MAINTENANCE MODE ON
M251MACHINE MAINTENANCE MODE OFFMACHINE MAINTENANCE MODE OFF
M252TOOL CHANGE AREA INTERLOCK OFF
M253TOOL CHANGE AREA INTERLOCK OFF CANCEL
M254A-AXIS INTERLOCK IGNORE
M255A-AXIS INTERLOCK IGNORE CANCEL
M256PARTS UNLOADER CONTINUOS ACT W/RIGHT CHUCKPARTS UNLOADER CONTINUOS ACT W/RIGHT CHUCK
M289CANNED CYCLE ON WITH M89,M90 OF LEFT C1-AXISCANNED CYCLE ON WITH M89,M90 OF LEFT C1-AXIS
M296DYNAMIC RADIUS/DIAMETER CONVERT ONDYNAMIC RADIUS/DIAMETER CONVERT ON
M297DYNAMIC RADIUS/DIAMETER CONVERT CANCELDYNAMIC RADIUS/DIAMETER CONVERT CANCEL
M300Z-AXIS MIRROR IMAGE ONZ-AXIS MIRROR IMAGE ON
M301Z-AXIS MIRROR IMAGE OFFZ-AXIS MIRROR IMAGE OFF
M308T.S.C COOLANT ON (RIGHT SPINDLE)T.S.C COOLANT ON (RIGHT SPINDLE)
M309T.S.C COOLANT OFF(RIGHT SPINDLE)T.S.C COOLANT OFF(RIGHT SPINDLE)
M310PARTS UNLOADER WAITING IN RIGHT CHUCKPARTS UNLOADER WAITING IN RIGHT CHUCK
M311PARTS UNLOADER RETRACT FROM RIGHT CHUCKPARTS UNLOADER RETRACT FROM RIGHT CHUCK
M312LEFT SPINDLE COOLANT BLOWER ONLEFT SPINDLE COOLANT BLOWER ON
M313RIGHT SPINDLE COOLANT BLOWER OFFRIGHT SPINDLE COOLANT BLOWER OFF
M314RIGHT SPINDLE COOLANT BLOWER ONRIGHT SPINDLE COOLANT BLOWER ON
M315LEFT SPINDLE STOP (NOT CONFIRM)LEFT SPINDLE STOP (NOT CONFIRM)
M316Z2-AXIS CURRENT LOAD READ (MINUS)
M317Z2-AXIS CURRENT LOAD READ (PLUS)
M320GANTRY LOADER CALLGANTRY LOADER CALL
M325RIGHT SPINDLE STOP (NOT CONFIRM)RIGHT SPINDLE STOP (NOT CONFIRM)
M326A-AXIS CURRENT LOAD READ
M389CANNED CYCLE ON WITH M189,M190 OF RIGHT C2-AXISCANNED CYCLE ON WITH M189,M190 OF RIGHT C2-AXIS
M900WAITING M-CODEWAITING M-CODE