Aborting of operation 2 (stop) – IAI America XSEL-KE User Manual
Page 314

299
Appendix
17. Aborting of Operation 2 (STOP)
Description
Decelerate the moving axis to a stop and cancel the remaining operation (STOP).
How to Use
Use a STOP command from other program to abort the operation (multi-tasking mode).
You can specify multiple axes to be aborted using an axis pattern.
Example of Use 1
STOP command
Main program
Abort control program
EXPG
n Start of abort program
WTON
20
Wait for abort input.
STOP
11
Abort axes 1 and 2.
MOVL 1
MOVL 2
,I³6723´LVH[HFXWHGZKLOH³029/´LVEHLQJH[HFXWHG³029/´ZLOOEHFDQFHOOHGDQGWKH
RSHUDWLRQZLOOFRQWLQXHIURP³029/´
Example of Use 2
Main program
Abort control program
EXPG
n Start of abort program
WTON
20
Wait for abort input.
STOP
10
Abort axis 2.
MOVL 1
MOVL 2
,I³6723´LVH[HFXWHGZKLOH³0293´LVEHLng executed, only the operation of axis 2 under
³0293´ZLOOEHFDQFHOOHG%RWKD[HVDQGZLOORSHUDWHIURP³0293´
Note
All axes currently performing CP operation (interpolation operation) via MOVL, etc., will be cancelled
regardless of the axis pattern specified in the STOP command.
Input port 20 ON
Remaining
operation
Speed
o
Time
o
This operation is cancelled.