| M code | Illustration |
| M00 | Program stop |
| M01 | Optional stop |
| M02 | End of program |
| M03 | Spindle on clockwise (CW) |
| M04 | Spindle on counterclockwise (CCW) |
| M05 | Spindle stop |
| M06 | Toochange |
| M08 | Coolant on |
| M09 | Coolant off |
| M16 | Cutter joining tool rest |
| M28 | Tool rest return to orgin |
| M30 | Program end and reset |
| M48 | Cancel M49 |
| M49 | Bypass Override |
| M60 | APC cycle start |
| M80 | Rotary table corotation (CW) |
| M81 | Rotary table reversion (CCW) |
| M98 | Subprogram call |
| M99 | Subprogram end |