Chapter 3. multi-tasking, Sel os – IAI America S-SEL-E User Manual
Page 110

Page 105
Chapter 3. Multi-Tasking
n
The most efficient configuration is to ex-
ecute the next program during a waiting
period such as waiting for an input signal.
n
Use the WTON command (instead of con-
ditional judgment) and have the steps ex-
ecuted in sequence rather than scanning the
programs all the time.
n
The WTON command keeps the program
in a waiting condition until the designated
condition turns ON.
Commands to keep programs in waiting
conditions are:
WTON WTOF
MOVP MOVL CIR ARC PATH
TIMW
2.
Most Efficient Configuration
Start
Program
Cylinder Forward
Input 15 ON?
Cylinder Backward
Input 16 ON?
The program goes into a waiting
condition with commands in
and executes steps in sequence
without scanning.
[SEL OS]
Program 1
Program 2
Program m
Program n
Wait
Wait
Wait
Wait
Wait
Wait
Wait
Wait
Execute
Execute
Execute
Execute
Execute
Execute
Execute
Execute
The returning point is not necessarily the first program
but differs depending on the waiting condition.
Executes other programs using
the waiting condition