1047
Task Control Instructions
Section 3-34
TKON(820) will be treated as NOP(000) if the specified task is already execut-
able or the local task is specified.
A task in executable status can be put in standby status with TKOF(821), the
CX-Programmer, or a FINS command.
The terms executable and executing are not interchangeable. Executable
tasks are executed in order of their task numbers during cyclic program exe-
cution. An executable task will not be executed if it is put in standby status
before program execution reaches its task number.
Note
1.
The CX-Programmer’s General Properties Tab for each task has a setting
(the Operation start box) that specifies whether the cyclic task will be exe-
cutable at startup. When the Operation start box has been checked, the
corresponding cyclic task will be put in executable status automatically
when the PLC begins operation. All other cyclic tasks will be in non-exe-
cutable status.
(If the memory all clear operation is executed from the Programming Con-
sole, however, cyclic task 0 will automatically be made executable.)
2.
If a task is in non-executable status, TKON(820) can executed to put that
task into executable status. Likewise, a cyclic task in executable status can
be put into non-executable status with the TKOF(821) instruction.
3.
Cyclic tasks or extra cyclic tasks that were made executable will be put in
executable status in that cycle in task-number order. Consequently, a task
will not be executed if it is put into standby status before the cycle’s pro-
cessing reaches that task as each task is executed in task-number order.
Flags
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
Becomes
executable
in that cycle.
Task n
Task m
Becomes
executable
in the next
cycle.
Name
Label
Operation
Error Flag
ER
ON if N is not a constant between 00 and 31 or between
8000 and 8255 (CS1-H, CJ1-H, and CJ1M CPU Units
only).
ON if the task specified with N does not exist.
ON if TKON(820) is executed in an interrupt task or extra
cyclic task.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...