A-77
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-33 Task Control Instructions
A-1-33 Task Control Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
TASK ON TKON
@TKON
820 Output Required
TASK OFF TKOF
@TKOF
821 Output Required
A-1-34 Model Conversion Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
BLOCK
TRANSFER
XFERC
@XFERC
565 Output Required
N
TKON(820)
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
executable
in that
cycle.
Becomes
executable
in the next
cycle.
TKOF(821)
N
N: Task number
Puts the specified task into standby status.
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 m
Task n
Task n
In
stand-
by
status
that
cycle.
In
stand-
by
status the
next cycle.
XFERC(565)
N
S
D
N: Number of
words
S: 1st source
word
D: 1st destination
word
S+(W−1)
D+(W−1)
to to
W words
Transfers the specified number of consecutive words.