User guide

Page 132
Chapter 4. Programming
[Function] Stops the movement of axes in the main program and the other programs running in parallel, then proceeds to
the next step. The STOP command is like the CANC command which can designate the axis but is executable
from other programs.
[Example] STOP 10000011
Stops movement of axis 1, axis 2, and axis 8.
*This stops only the command that is currently being performed after which the program goes on to execute
the next step. If you want the program [Example 1] to end after stopping the axis, rewrite the program as
shown in [Example 2]. In this case, consider input signal 15 as the trigger signal for STOP.
[Example 1] [Example 2]
MOVL 1 MOVL 1
MOVL 2 15 EXIT
MOVL 3 MOVL 2
15 EXIT
MOVL 3
15 EXIT
STOP (Stop Motion)
Expansion
condition
(A N D · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional STOP Axis pattern
ð