CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M01

M01 Optional stop

Haas NGC M-code · Mill, Lathe

On mills: Optional stop

Stops the program only when the Option Stop key is on. Otherwise it is ignored. Use it after each tool to check the work.

Format

M01

How it works

Not modal. Acts once on the line where it is commanded.

Example program

G91 G28 Z0. (Z HOME AFTER THE TOOL)
M01 (OPTIONAL STOP TO CHECK THE PART)
T2 M06 (NEXT TOOL)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Optional stop

Works like M00 but only stops when OPTION STOP is turned on at the control.

Format

M01

How it works

Non-modal.

Example program

G53 X0 M09 (X HOME, COOLANT OFF)
M01 (OPTIONAL STOP, CHECK PART)
T0202 (NEXT TOOL)
G97 S1000 M03 (RESTART SPINDLE)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M00 · M30

M01 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucOptional stop
Doosan (Fanuc)Optional program stop
DMG Mori MAPPS (Fanuc)Optional stop
Mazak (EIA)Optional stop
Okuma OSPOptional Stop (Lathes & Mills)
Mitsubishi M70 M80Optional stop
Brother SpeedioOptional stop
Siemens 840D 828DOptional stop
Heidenhain TNC (ISO)Optional program stop
Fagor 8055 8065Optional stop
LinuxCNC TormachOptional pause
Mach3 Mach4Optional stop
Centroid CNC12 AcornOptional stop
Hurco WinMax (NC)Optional stop
FadalOptional stop
Swiss (Citizen Star)Optional 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 M01 in the app All Haas NGC M-codes

App Store Google Play