![Mitsubishi Electric Q172CPU Programming Manual Download Page 384](http://html.mh-extra.com/html/mitsubishi-electric/q172cpu/q172cpu_programming-manual_1811836384.webp)
7 - 123
7 MOTION PROGRAMS FOR POSITIONING CONTROL
7.15.2 M01 Optional program stop
Code M01
Function
Optional program stop
When the optional program stop is ON, executing M01 stops an
execution of program.
Format
1 ;
M0
[Explanation]
When the optional program stop command (M4401+10n) is ON, executing this
command stops the program without execution of the next block.
By turning ON the restart signal command (M4404+10n) after a stop, execution
resumes from the next block.
When the optional program stop command (M4401+10n) is OFF, the next block is
executed without a program stop.
[Program Example]
The program which uses the optional program stop (M01).
1) G01 X100. F10. ; (Positioning)
2) M01 ; (Optional program stop)
3) G01 X200. ; (Positioning)
<Optional program stop command (M4401+10n) is ON>
X-axis
V
t
1) G01 X100.
2)
3) G01 X200.
During stop as M01 is being executed
Re-start command (M4404+10n) ON
<Optional program stop command (M4401+10n) is OFF>
X-axis
V
1) G01 X100.
2) is not executed.
3) G01 X200.
t
REMARK
M01 performs the same operation as "M00" when the optional program stop
command (M4401+10n) is ON.
Summary of Contents for Q172CPU
Page 229: ...5 88 5 POSITIONING DEDICATED SIGNALS MEMO ...
Page 447: ...7 186 7 MOTION PROGRAMS FOR POSITIONING CONTROL MEMO ...
Page 535: ...8 88 8 AUXILIARY AND APPLIED FUNCTIONS MEMO ...
Page 557: ...11 10 11 COMMUNICATIONS VIA NETWORK MEMO ...
Page 559: ...12 2 12 MONITOR FUNCTION OF THE MAIN CYCLE MEMO ...