CNC Machinist Calculator Ultra

Home › M-codes › Fanuc › M01

M01 Optional stop

Fanuc M-code · Mill and lathe

Stops the program like M00, but only when the optional stop switch on the panel is on.

Format

M01

How it works

Non-modal.

Example program

G28 U0 W0 (HOME)
M01 (OPTIONAL STOP)
T0202 (NEXT TOOL)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M00

M01 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCOptional 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 Fanuc 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 Fanuc M-codes

App Store Google Play