Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 123
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.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.