Home › M-codes › Doosan (Fanuc)
Doosan (Fanuc) M-code list
200 M-codes. Pick a code for the format, the addresses, an example program and what to watch out for.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
| Code | Meaning | Machine |
|---|---|---|
| M00 | Program stop | Mill and lathe |
| M01 | Optional program stop | Mill and lathe |
| M02 | Program end | Mill and lathe |
| M03 | Left spindle forward rotation | Mill and lathe |
| M04 | Left spindle reverse rotation | Mill and lathe |
| M05 | Left spindle stop & selection | Mill and lathe |
| M06 | Atc tool change command | Mill and lathe |
| M07 | Bed shoer coolant on | Mill and lathe |
| M08 | Coolant on (upper side) | Mill and lathe |
| M09 | Coolant off (upper side) | Mill and lathe |
| M10 | Parts unloader down to chuck | Mill and lathe |
| M11 | Parts unloader return to home | Mill and lathe |
| M12 | Coolject on (upper side) | Mill and lathe |
| M13 | Left spindle coolant blower off | Mill and lathe |
| M14 | Left spindle air blow on | Mill and lathe |
| M15 | Left spindle air blow off | Mill and lathe |
| M16 | Bed shoer coolant off | Mill and lathe |
| M17 | Machine lock act | Mill and lathe |
| M18 | Machine lock cancel | Mill and lathe |
| M19 | Left spindle orientation | Mill and lathe |
| M20 | Gantry loader call | Mill and lathe |
| M21 | Optional block skip act | Mill and lathe |
| M22 | Optional block skip cancel | Mill and lathe |
| M23 | Program start check | Mill and lathe |
| M24 | Chip conveyor run | Mill and lathe |
| M25 | Chip conveyor stop | Mill and lathe |
| M26 | T.S.C coolant on (milling spindle) | Mill and lathe |
| M27 | T.S.C coolant off (milling spindle) | Mill and lathe |
| M28 | Polygon mode select | Mill and lathe |
| M29 | Rigid tapping mode select | Mill and lathe |
| M30 | Program end & rewind | Mill and lathe |
| M31 | Left chucking interlock by-pass | Mill and lathe |
| M33 | Milling spindle forward rotation \ Revolving spindle forward rotation | Mill and lathe |
| M34 | Milling spindle reverse rotation \ Revolving spindle reverse rotation | Mill and lathe |
| M35 | Milling spindle stop & c1-axis select \ Revolving spindle stop & c1-axis select | Mill and lathe |
| M45 | Milling spindle head tool no, external set | Mill and lathe |
| M46 | P.T.S.Body clamp & bar advance | Mill and lathe |
| M47 | P.T.S.Body unclamp & bar retract | Mill and lathe |
| M49 | Milling spindle orientation | Mill and lathe |
| M50 | Bar-feeder command 1 | Mill and lathe |
| M51 | Bar-feeder command 2 | Mill and lathe |
| M52 | Front splash guard door open | Mill and lathe |
| M53 | Front splash guard door close | Mill and lathe |
| M54 | Parts count | Mill and lathe |
| M55 | Repeat program after m02 or m30 | Mill and lathe |
| M56 | Tapping mode select | Mill and lathe |
| M57 | Tapping mode cancel | Mill and lathe |
| M58 | Steady rest clamp | Mill and lathe |
| M59 | Steady rest unclamp | Mill and lathe |
| M60 | Tool change with moving axes | Mill and lathe |
| M61 | Left spindle winding change low speed | Mill and lathe |
| M62 | Left spindle winding change high speed | Mill and lathe |
| M63 | Left spindle forward & upper coolant on | Mill and lathe |
| M64 | Left spindle reverse & upper coolant on | Mill and lathe |
| M65 | Left spindle stop & upper coolant off | Mill and lathe |
| M66 | Chucking low pressure | Mill and lathe |
| M67 | Chucking high pressure | Mill and lathe |
| M68 | Chuck clamp | Mill and lathe |
| M69 | Chuck unclamp | Mill and lathe |
| M70 | Tail stock quill low pressure advance | Mill and lathe |
| M72 | Spindle convert rotation direction | Mill and lathe |
| M73 | Spindle normal rotation direction | Mill and lathe |
| M74 | Error detect on | Mill and lathe |
| M75 | Error detect off | Mill and lathe |
| M76 | Chamfering on | Mill and lathe |
| M77 | Chamfering off | Mill and lathe |
| M78 | Tail stock quill advance | Mill and lathe |
| M79 | Tail stock quill retract | Mill and lathe |
| M80 | Q-setter swing arm down | Mill and lathe |
| M81 | Q-setter swing arm up | Mill and lathe |
| M82 | Touch probe on | Mill and lathe |
| M83 | Touch probe off | Mill and lathe |
| M84 | Turret c.W. Rotation | Mill and lathe |
| M85 | Turret c.C.W. Rotation | Mill and lathe |
| M86 | Lower a-axis torque skip | Mill and lathe |
| M87 | Lower a-axis torque skip cancel | Mill and lathe |
| M88 | C1-axis low pressure clamp | Mill and lathe |
| M89 | C1-axis high pressure clamp | Mill and lathe |
| M90 | C1-axis unclamp | Mill and lathe |
| M91 | External m-code m91 | Mill and lathe |
| M92 | External m-code m92 | Mill and lathe |
| M93 | External m-code m93 | Mill and lathe |
| M94 | External m-code m94 | Mill and lathe |
| M98 | Sub program call | Mill and lathe |
| M99 | End of sub program | Mill and lathe |
| M100 | Milling spindle clamp | Mill and lathe |
| M101 | Milling spindle unclamp | Mill and lathe |
| M103 | Right spindle forward rotation | Mill and lathe |
| M104 | Right spindle reverse rotation | Mill and lathe |
| M105 | Right spindle stop & selection | Mill and lathe |
| M106 | B-axis curvic coupling clamp | Mill and lathe |
| M107 | B-axis curvic coupling unclamp | Mill and lathe |
| M108 | T.S.C coolant on (left spindle) | Mill and lathe |
| M109 | T.S.C coolant off(left spindle) | Mill and lathe |
| M110 | B-axis disc clamp | Mill and lathe |
| M111 | B-axis disc unclamp | Mill and lathe |
| M112 | B-axis curvic & disc clamp | Mill and lathe |
| M113 | B-axis curvic & disc unclamp | Mill and lathe |
| M114 | Right spindle air blow on | Mill and lathe |
| M115 | Right spindle air blow off | Mill and lathe |
| M116 | Work ejector operation command | Mill and lathe |
| M117 | Lower a-axis torque control on | Mill and lathe |
| M118 | Lower a-axis torque control reset | Mill and lathe |
| M119 | Right spindle orientation | Mill and lathe |
| M121 | Lower z2-axis torque control on | Mill and lathe |
| M124 | Lower z2-axis torque control reset | Mill and lathe |
| M125 | Synchro control with z2-axis | Mill and lathe |
| M126 | Synchro control cancel | Mill and lathe |
| M131 | Right chucking interlock by-pass | Mill and lathe |
| M135 | Milling spindle stop & c2 axis selection | Mill and lathe |
| M138 | Roof shower coolant on | Mill and lathe |
| M139 | Roof shower coolant off | Mill and lathe |
| M144 | Atc waiting pot retract | Mill and lathe |
| M145 | Atc waiting pot advance | Mill and lathe |
| M146 | Atc waiting pot change position | Mill and lathe |
| M147 | Atc waiting pot home position | Mill and lathe |
| M148 | Atc waiting pot home position check | Mill and lathe |
| M149 | Atc maintenance mode on | Mill and lathe |
| M150 | Atc maintenance mode off | Mill and lathe |
| M151 | Atc changer start flag | Mill and lathe |
| M152 | Atc 1 cycle | Mill and lathe |
| M153 | Atc door open | Mill and lathe |
| M154 | Atc door close | Mill and lathe |
| M155 | Auto milling spindle orientation | Mill and lathe |
| M156 | V-groove air on | Mill and lathe |
| M157 | Atc changer motor brake release | Mill and lathe |
| M158 | Atc changer motor brake engage | Mill and lathe |
| M161 | Right spindle winding change low speed | Mill and lathe |
| M162 | Right spindle winding change high speed | Mill and lathe |
| M163 | Right spindle forward & upper coolant on | Mill and lathe |
| M164 | Right spindle reverse & upper coolant on | Mill and lathe |
| M165 | Right spindle stop & upper coolant off | Mill and lathe |
| M168 | Right chuck clamp | Mill and lathe |
| M169 | Right chuck unclamp | Mill and lathe |
| M170 | Interference check release | Mill and lathe |
| M171 | Interference check release cancel | Mill and lathe |
| M172 | Y-axis reference interlock release | Mill and lathe |
| M173 | Y-axis reference interlock release cancel | Mill and lathe |
| M174 | Auto b-axis un or clamp off & b-axis unclamp | Mill and lathe |
| M175 | Auto b-axis un or clamp on & b-axis clamp | Mill and lathe |
| M188 | C2-axis low pressure clamp | Mill and lathe |
| M189 | C2-axis high pressure clamp | Mill and lathe |
| M190 | C2-axis unclamp | Mill and lathe |
| M192 | Simul.Feedrate on(balance cutting) | Mill and lathe |
| M193 | Simul.Feedrate off(balance cutting) | Mill and lathe |
| M200 | Tool load monitor off | Mill and lathe |
| M201 | Tool load monitor on | Mill and lathe |
| M203 | Spindle forward speed synchro command | Mill and lathe |
| M204 | Spindle reverse speed synchro command | Mill and lathe |
| M205 | Spindle synchro stop command | Mill and lathe |
| M206 | Spindle synchro release command | Mill and lathe |
| M208 | Spindle speed & phase confrim command | Mill and lathe |
| M209 | Spindle speed confirm command | Mill and lathe |
| M210 | Parts unloader waiting in left chuck | Mill and lathe |
| M211 | Composite control act | Mill and lathe |
| M212 | Composite control cancel | Mill and lathe |
| M213 | Spindle forward phase synchro command | Mill and lathe |
| M214 | Spindle reverse phase synchro command | Mill and lathe |
| M215 | Turret unclamp before t-code command | Mill and lathe |
| M217 | Z2-axis interlock(a-axis ref) release | Mill and lathe |
| M218 | Z2-axis interlock(a-axis ref) release cancel | Mill and lathe |
| M220 | Upper x-axis interlock release | Mill and lathe |
| M221 | Upper x-axis interlock release cancel | Mill and lathe |
| M226 | Work ejecter advance | Mill and lathe |
| M227 | Work ejecter retract | Mill and lathe |
| M230 | Parts unloader stopper return | Mill and lathe |
| M231 | Parts unloader stopper advance | Mill and lathe |
| M232 | Parts unloader body advance | Mill and lathe |
| M233 | Parts unloader body return | Mill and lathe |
| M234 | Parts unloader bucket down | Mill and lathe |
| M235 | Parts unloader bucket return | Mill and lathe |
| M236 | Parts unloader arm down | Mill and lathe |
| M237 | Parts catcher arm return | Mill and lathe |
| M250 | Machine maintenance mode on | Mill and lathe |
| M251 | Machine maintenance mode off | Mill and lathe |
| M252 | Tool change area interlock off | Mill and lathe |
| M253 | Tool change area interlock off cancel | Mill and lathe |
| M254 | A-axis interlock ignore | Mill and lathe |
| M255 | A-axis interlock ignore cancel | Mill and lathe |
| M256 | Parts unloader continuos act w or right chuck | Mill and lathe |
| M289 | Canned cycle on with m89,m90 of left c1-axis | Mill and lathe |
| M296 | Dynamic radius or diameter convert on | Mill and lathe |
| M297 | Dynamic radius or diameter convert cancel | Mill and lathe |
| M300 | Z-axis mirror image on | Mill and lathe |
| M301 | Z-axis mirror image off | Mill and lathe |
| M308 | T.S.C coolant on (right spindle) | Mill and lathe |
| M309 | T.S.C coolant off(right spindle) | Mill and lathe |
| M310 | Parts unloader waiting in right chuck | Mill and lathe |
| M311 | Parts unloader retract from right chuck | Mill and lathe |
| M312 | Left spindle coolant blower on | Mill and lathe |
| M313 | Right spindle coolant blower off | Mill and lathe |
| M314 | Right spindle coolant blower on | Mill and lathe |
| M315 | Left spindle stop (not confirm) | Mill and lathe |
| M316 | Z2-axis current load read (minus) | Mill and lathe |
| M317 | Z2-axis current load read (plus) | Mill and lathe |
| M320 | Gantry loader call | Mill and lathe |
| M325 | Right spindle stop (not confirm) | Mill and lathe |
| M326 | A-axis current load read | Mill and lathe |
| M389 | Canned cycle on with m189,m190 of right c2-axis | Mill and lathe |
| M900 | Waiting m-code | Mill and lathe |
Take the list to the machine. The app searches every code by number or shop word and decodes a whole program line by line.
Open the M-code list Doosan G-codes