M01: Optional stop
When the optional stop signal is ON and the M01 command is executed, the program stops.
Code
M01
Processing details
• When the optional stop signal is ON and the M01 command is executed, the program stops without executing the next
block. After stopping, the execution of the next block is started by turning ON "[Rq.3382] Auxiliary function complete 1
(FIN1) (D54227.0+2s)".
• When the optional stop signal is OFF, the M01 command is ignored.
M01 performs the same operation as "M00".
Program example
■Program that uses optional stop (M01)
Operation
Program
(1)
G01 X100. F10.
(2)
M01
(3)
G01 X200.
• When optional stop signal is ON
[Rq.3382] Auxiliary function
complete 1 (FIN1) (D54227.0+2s)
Optional stop signal
(A device set by the user)
• When optional stop signal is OFF
[Rq.3382] Auxiliary function
complete 1 (FIN1) (D54227.0+2s)
Optional stop signal
(A device set by the user)
5 G-CODE CONTROL PROGRAMS
164
5.7 M-Code
Format
M01
V
Stop by execution of M01
X-axis
(1)
OFF
ON
V
(2) is not executed.
X-axis
(1)
OFF
OFF
Remarks
Positioning
Optional stop
Positioning
(3)
(2)
ON
(3)
t
t