Chapter 4. programming – IAI America S-SEL-E User Manual
Page 137

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)
E x p a n s i o n
c o n d i t i o n
( A N D · O R )
I n p u t
c o n d i t i o n
( I / O · F l a g )
C o m m a n d
P o s t
( O u t p u t p o r t · F l a g )
C o m m a n d
O p e r a n d 1
O p e r a n d 2
O p t i o n a l
O p t i o n a l
S T O P
A x i s p a t t e r n
р