Home › M-codes › DMG Mori MAPPS (Fanuc)
DMG Mori MAPPS (Fanuc) M-code list
140 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 stop | Mill and lathe |
| M02 | Program end | Mill and lathe |
| M03 | Spindle start(normal) | Mill and lathe |
| M04 | Spindle start(reverse) | Mill and lathe |
| M05 | Spindle stop | Mill and lathe |
| M06 | Tool change | Mill and lathe |
| M08 | Coolant discharge ON | Mill and lathe |
| M09 | Oil shot OFF Coolant discharge OFF | Mill and lathe |
| M10 | C-axis clamp | Mill and lathe |
| M11 | C-axis unclamp | Mill and lathe |
| M19 | Spindle orientation | Mill and lathe |
| M20 | Automatic power shut off | Mill and lathe |
| M21 | External output | Mill and lathe |
| M22 | External output | Mill and lathe |
| M23 | External output | Mill and lathe |
| M24 | External output | Mill and lathe |
| M25 | External output | Mill and lathe |
| M26 | External output | Mill and lathe |
| M27 | External output | Mill and lathe |
| M28 | External output | Mill and lathe |
| M29 | Synchronized tapping mode | Mill and lathe |
| M30 | Program end and rewind | Mill and lathe |
| M31 | Axis interlock bypass ON | Mill and lathe |
| M32 | Axis interlock bypass OFF | Mill and lathe |
| M33 | Tool return | Mill and lathe |
| M44 | Table-mount sensor UP | Mill and lathe |
| M45 | Table-mount sensor DOWN | Mill and lathe |
| M46 | Sensor selection signal ON | Mill and lathe |
| M47 | Sensor selection signal OFF | Mill and lathe |
| M48 | Override cancel OFF | Mill and lathe |
| M49 | Override cancel ON | Mill and lathe |
| M50 | Oil-hole drill coolant ON | Mill and lathe |
| M51 | Air blow ON | Mill and lathe |
| M53 | Sensor air blow ON | Mill and lathe |
| M55 | Oil mist ON | Mill and lathe |
| M58 | Sensor air blow OFF | Mill and lathe |
| M59 | Air blow OFF | Mill and lathe |
| M60 | APC start command | Mill and lathe |
| M61 | APC start command | Mill and lathe |
| M66 | Tool skip ON | Mill and lathe |
| M68 | B-axis clamp | Mill and lathe |
| M69 | B-axis unclamp | Mill and lathe |
| M70 | Work counter or total counter | Mill and lathe |
| M72 | Chip removal coolant ON | Mill and lathe |
| M73 | Y-axis mirror image OFF | Mill and lathe |
| M74 | Y-axis mirror image ON | Mill and lathe |
| M75 | X-axis mirror image OFF | Mill and lathe |
| M76 | X-axis mirror image ON | Mill and lathe |
| M77 | External output | Mill and lathe |
| M80 | Shower coolant ON | Mill and lathe |
| M81 | Shower coolant OFF | Mill and lathe |
| M82 | Automatic door open | Mill and lathe |
| M83 | Automatic door close | Mill and lathe |
| M84 | Load monitor (teaching, monitoring) mode ON | Mill and lathe |
| M85 | Load monitor (teaching, monitoring) mode OFF Adaptive control mode OFF | Mill and lathe |
| M86 | Adaptive control mode ON | Mill and lathe |
| M88 | Through-spindle coolant ON | Mill and lathe |
| M89 | Through-spindle coolant OFF | Mill and lathe |
| M90 | Tool-spindle or turning spindle simultaneous operation mode ON | Mill and lathe |
| M91 | Tool-spindle or turning spindle simultaneous operation mode OFF | Mill and lathe |
| M95 | Chip removal coolant OFF | Mill and lathe |
| M96 | Macro interrupt mode | Mill and lathe |
| M97 | Macro interrupt mode cancel | Mill and lathe |
| M98 | Sub-program call in NC memory | Mill and lathe |
| M99 | Sub-program end Repeat program | Mill and lathe |
| M119 | Spindle (second) orientation | Mill and lathe |
| M120 | External output | Mill and lathe |
| M121 | External output | Mill and lathe |
| M122 | External output | Mill and lathe |
| M123 | External output | Mill and lathe |
| M124 | External output | Mill and lathe |
| M125 | External output | Mill and lathe |
| M126 | External output | Mill and lathe |
| M127 | External output | Mill and lathe |
| M128 | External output | Mill and lathe |
| M129 | External output | Mill and lathe |
| M144 | Optical sensor power ON | Mill and lathe |
| M145 | Optical sensor power OFF | Mill and lathe |
| M165 | Oil-hole air blow ON | Mill and lathe |
| M166 | Cs contouring control mode | Mill and lathe |
| M167 | Cs contouring control mode cancel | Mill and lathe |
| M180 | Mist collector ON | Mill and lathe |
| M181 | Mist collector OFF | Mill and lathe |
| M182 | Auxiliary output 2 ON | Mill and lathe |
| M183 | Auxiliary output 2 OFF | Mill and lathe |
| M192 | ATC preparation mode ON | Mill and lathe |
| M193 | ATC preparation mode OFF | Mill and lathe |
| M198 | Subprogram call in external I or O device | Mill and lathe |
| M200 | Chip conveyor start (forward direction) | Mill and lathe |
| M201 | Chip conveyor stop | Mill and lathe |
| M203 | Turning spindle start (normal) | Mill and lathe |
| M204 | Turning spindle start (reverse) | Mill and lathe |
| M205 | Turning spindle stop | Mill and lathe |
| M216 | Lubrication cycle start for break-in operation | Mill and lathe |
| M226 | Semi dry ON | Mill and lathe |
| M227 | Semi dry OFF | Mill and lathe |
| M229 | ID reader forward | Mill and lathe |
| M230 | ID reader return | Mill and lathe |
| M252 | Through-spindle air blow ON | Mill and lathe |
| M253 | Through-spindle air blow OFF | Mill and lathe |
| M258 | Automatic opening or closing protector open | Mill and lathe |
| M259 | Automatic opening or closing protector close | Mill and lathe |
| M270 | Coolant discharge pressure level 0 | Mill and lathe |
| M271 | Coolant discharge pressure level 1 | Mill and lathe |
| M272 | Coolant discharge pressure level 2 | Mill and lathe |
| M273 | Coolant discharge pressure level 3 | Mill and lathe |
| M274 | Coolant discharge pressure level 4 | Mill and lathe |
| M275 | Coolant discharge pressure level 5 | Mill and lathe |
| M276 | Coolant discharge pressure level 6 | Mill and lathe |
| M277 | Coolant discharge pressure level 7 | Mill and lathe |
| M302 | Tool life count override set | Mill and lathe |
| M303 | Turning mode OFF (C-axis indexing mode ON) | Mill and lathe |
| M304 | Turning mode ON | Mill and lathe |
| M305 | End face coolant ON | Mill and lathe |
| M306 | End face coolant OFF | Mill and lathe |
| M510 | Fixture 1 clamp | Mill and lathe |
| M511 | Fixture 1 unclamp | Mill and lathe |
| M512 | Fixture 2 clamp | Mill and lathe |
| M513 | Fixture 2 unclamp | Mill and lathe |
| M514 | Fixture 3 clamp | Mill and lathe |
| M515 | Fixture 3 unclamp | Mill and lathe |
| M516 | Fixture 4 clamp | Mill and lathe |
| M517 | Fixture 4 unclamp | Mill and lathe |
| M608 | 3D interference checking function ON | Mill and lathe |
| M609 | 3D interference checking function OFF | Mill and lathe |
| M1003 | Spindle start (normal) | Mill and lathe |
| M1004 | Spindle start (reverse) | Mill and lathe |
| M1005 | Spindle stop | Mill and lathe |
| M1010 | C-axis clamp | Mill and lathe |
| M1011 | C-axis unclamp | Mill and lathe |
| M1019 | Spindle orientation | Mill and lathe |
| M1044 | Sensor down | Mill and lathe |
| M1045 | Sensor up | Mill and lathe |
| M1046 | Sensor selection signal ON | Mill and lathe |
| M1047 | Sensor selection signal OFF | Mill and lathe |
| M1068 | B-axis clamp | Mill and lathe |
| M1069 | B-axis unclamp | Mill and lathe |
| M1082 | Automatic door open | Mill and lathe |
| M2000 – M2020 | Multi counter display function | 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 DMG Mori MAPPS G-codes