M01 – Optional Program Stop

M01 stops the program only if Optional Stop is turned on. Press Cycle Start to resume. If Optional Stop is off, the program carries on.

Syntax
M01
Also written
M1
Toggle Optional Stop
CTRL + O

1. Turning Optional Stop on or off

On the F2 – Program & MDI screen, press CTRL + O. The Optional Stop status shows at the top of the screen, and you can also tap or click it to toggle it.

Optional Stop status at the top of the screen

2. Example

N10 G00 X0 Y0
N20 G00 X10
N30 M01
N40 G00 Y10
CodeResult
G00 X0 Y0Moves X and Y to 0.
G00 X10Moves X to 10.
M01Optional Stop on: stops and waits for Cycle Start. Optional Stop off: carries on.
G00 Y10Moves Y to 10.