EMCO WinNC Heidenhain TNC 426 Conversational programming M codes complete list.

M Codes
| M Code | Description |
|---|---|
| M0 | Programmed stop |
| M1 | Optional stop (program stop only with opt. stop) |
| M2 | Program end |
| M3 | Spindle ON clockwise |
| M4 | Spindle ON counterclockwise |
| M5 | Spindle OFF |
| M6 | Tool change |
| M8 | Coolant ON |
| M9 | Coolant OFF |
| M10 | Dividing head, clamping ON |
| M11 | Dividing head, clamping OFF |
| M17 | End of subprogram |
| M25 | OPEN clamp/ machine vice |
| M26 | CLOSE clamp/ machine vice |
| M27 | Swivel dividing head |
| M30 | Main program end |
| M71 | Puff blowing device ON |
| M72 | Puff blowing device OFF |
| M99 | Cycle call |