Home › M-codes › Haas NGC › M00
M00 Program stop
Haas NGC M-code · Mill, Lathe
On mills: Program stop
Stops the program. The spindle, coolant and feed stop. Press Cycle Start to continue from the next line.
Format
M00
How it works
Not modal. Acts once on the line where it is commanded.
Example program
G91 G28 Z0. (Z HOME)
M00 (FLIP THE PART AND PRESS CYCLE START)
G90 (ABSOLUTE)
S2000 M03 (RESTART THE SPINDLE)
M00 (FLIP THE PART AND PRESS CYCLE START)
G90 (ABSOLUTE)
S2000 M03 (RESTART THE SPINDLE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Put a comment on the M00 line telling the operator what to do.
- The spindle must be restarted with M03 after M00 if the program does not do it.
On lathes: Program stop
Stops the program. Axes, spindle and coolant stop. Press CYCLE START to continue from the next block.
Format
M00
How it works
Non-modal.
Example program
G00 G53 X0 M09 (X HOME, COOLANT OFF)
G53 Z0 M05 (Z HOME, SPINDLE OFF)
M00 (STOP, FLIP PART)
G97 S1000 M03 (RESTART SPINDLE)
G53 Z0 M05 (Z HOME, SPINDLE OFF)
M00 (STOP, FLIP PART)
G97 S1000 M03 (RESTART SPINDLE)
Example is in inch. Check offsets and clearances first.
Watch out for
- Put a comment on the M00 line to tell the operator what to do.
- The spindle does not restart by itself. Command M03 and S again after the stop.
Related codes
M00 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Program stop |
| Doosan (Fanuc) | Program stop |
| DMG Mori MAPPS (Fanuc) | Program stop |
| Mazak (EIA) | Program stop |
| Okuma OSP | Program Stop (Lathes & Mills) |
| Mitsubishi M70 M80 | Program stop |
| Brother Speedio | Program stop |
| Siemens 840D 828D | Program stop |
| Heidenhain TNC (ISO) | Program stop |
| Fagor 8055 8065 | Program stop |
| LinuxCNC Tormach | Program pause |
| Mach3 Mach4 | Program stop |
| Centroid CNC12 Acorn | Program stop |
| Hurco WinMax (NC) | Program stop |
| Fadal | Program stop |
| Swiss (Citizen Star) | Program stop |
Every M-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M00 in the app All Haas NGC M-codes