IAI America XSEL-KX User Manual
Page 249

233
Part 4 Commands
TSLP (Task sleep)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
Prohibited
Prohibited
TSLP
Time
Prohibited
CP
[Function] Set the time during which the applicable task will sleep, in order to distribute the processing
time to other tasks.
If the task level is set to User HIGH, this command must always be specified.
The applicable task will sleep during the set time.
The time in operand 1 is set in msec.
An appropriate time setting must be examined on the actual system. (Normally approx. 1 to 3
is set.)
(If the ladder statement becomes long, state this command multiple times between steps, as
necessary.)
This command can also be used with non-ladder tasks.