Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1300

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Task Control Instructions
Flags
The specified task's task number
is higher than the local task's task
number (m<n).
Task m
Task n
A regular task that has been set to be executed at startup will be put in execut-
able status automatically when the PLC begins operation. All other regular
tasks will be in non-executable status.
A task in executable status can be put in standby status with TKOF(821), a
Peripheral Device running 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.
Unlike TKON(820), this instruction can be placed in interrupt tasks as well as
in cyclic tasks.
Name
Label
Error Flag
ER
Name
Addresses
Task Flags
TK00 to TK31
The specified task's task number
is lower than the local task's task
number (m>n).
Task n
In standby
status that
cycle.
Task m
Operation
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 TKOF(821) is executed in an interrupt task.
OFF in all other cases.
Operation
These flags are turned ON when the corresponding
cyclic task is executable and they are OFF when the
corresponding cyclic task is not executable or in
standby status.
TK00 to TK31 correspond to cyclic task numbers 00
to 31.
Section 3-34
In standby
status the
next cycle.
1261

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents