M-code reference
M00 M-Code: Program Stop
Program Stop — Unconditionally stops the program, spindle and coolant (on most machines). Cycle Start continues from the next block. Use it to remove chips, flip parts or…
| Property | Value |
|---|---|
| Code | M00 |
| Function | Program Stop |
| Used on | Mills and lathes |
What does M00 do?
Unconditionally stops the program, spindle and coolant (on most machines). Cycle Start continues from the next block. Use it to remove chips, flip parts or check a dimension.
M00 example
M05
M09
M00 (FLIP PART - CLEAN JAWS)Tips
- Write the reason in a comment on the same line so the operator knows what to do.
- Modal states (offsets, G-codes) are kept.
M-codes vary between machine builders. Codes from M00 to M09, M30 and M98/M99 are nearly universal; most others are defined by the machine builder. Always check the M-code list in your machine manual.
Related codes
Most-used M-codes
| Code | Function |
|---|---|
M01 | Optional Stop |
M03 | Spindle On Clockwise |
M04 | Spindle On Counter-Clockwise |
M05 | Spindle Stop |
M06 | Tool Change |
M08 | Flood Coolant On |
M09 | Coolant Off |
M30 | Program End and Rewind |
M98 | Subprogram Call |
M99 | Subprogram Return / Loop |
Frequently asked questions
What does M00 mean on a CNC machine?
M00 is Program Stop. Unconditionally stops the program, spindle and coolant (on most machines). Cycle Start continues from the next block. Use it to remove chips, flip parts or check a dimension.