Fanuc M-code list
27 M-codes. Pick a code for the format, the addresses, an example program and what to watch out for.
| Code | Meaning | Machine |
|---|---|---|
| M00 | Program stop | Mill and lathe |
| M01 | Optional stop | Mill and lathe |
| M02 | End of program | Mill and lathe |
| M03 | Spindle on, forward | Mill and lathe |
| M04 | Spindle on, reverse | Mill and lathe |
| M05 | Spindle stop | Mill and lathe |
| M06 | Tool change | Mill |
| M07 | Mist or second coolant on | Mill and lathe |
| M08 | Coolant on | Mill and lathe |
| M09 | Coolant off | Mill and lathe |
| M10 | Chuck clamp | Lathe |
| M11 | Chuck unclamp | Lathe |
| M13 | Live tool on, forward | Lathe |
| M14 | Live tool on, reverse | Lathe |
| M15 | Live tool stop | Lathe |
| M19 | Spindle orientation | Mill and lathe |
| M23 | Thread chamfer on | Lathe |
| M24 | Thread chamfer off | Lathe |
| M29 | Rigid tapping mode | Mill and lathe |
| M30 | End of program and rewind | Mill and lathe |
| M41 | Low gear range | Mill and lathe |
| M42 | High gear range | Mill and lathe |
| M96 | Interrupt type macro enable | Mill and lathe |
| M97 | Interrupt type macro disable | Mill and lathe |
| M98 | Subprogram call | Mill and lathe |
| M99 | Subprogram end and return | Mill and lathe |
| M198 | Subprogram call from external device | 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 Fanuc G-codes