124
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2-33 Task Control Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
TASK ON
TKON
@TKON
820
Output
Required
1112
TASK OFF
TKOF
@TKOF
821
Output
Required
1112
TKON(820)
N
N: Task number
Makes the specified task executable.
The specified task's task number
is higher than the local task's
task number (m<n).
The specified task's task number
is lower than the local task's task
number (m>n).
Task m
Task n
Task m
Task n
Becomes
execut-
able in that
cycle.
Be-
comes
execut-
able in
the next
cycle.
TKOF(821)
N
N: Task number
Puts the specified task into standby status.
The specified task's task num-
ber is higher than the local
task's task number (m<n).
The specified task's task num-
ber is lower than the local
task's task number (m>n).
Task m
Task n
Task m
Task n
In stand-
by status
that
cycle.
In stand-
by status
the next
cycle.