Cyclic Task Status - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Task Features
4-1-6

Cyclic Task Status

Disabled Status (INI)
READY Status
Instruction-activated
Tasks
Operation-activated Tasks
RUN Status
Standby Status
4. The number of cyclic tasks and interrupt tasks are limited when the mem-
ory clear operation is performed with a Programming Console.
• Only cyclic task 0 can be created.
Cyclic tasks 1 to 31 cannot be created with a Programming Console,
but these tasks can be edited if they were already created with CX-
Programmer.
• Only interrupt tasks 1, 2, 3, and 100 through 131 (CS Series only) can
be created.
Interrupt tasks 0, 4 through 99, and 132 through 255 cannot be created
with a Programming Console (except that 140 through 143 can be cre-
ated for CJ1M CPU Units), but these tasks can be edited if they were
already created with CX-Programmer.
The CS1G/H-CPU@@(-V1) and CJ1@-CPU@@ CPU Units do not support this
function
Cyclic tasks always have one of four statuses: Disabled, READY, RUN (exe-
cutable), and standby (WAIT).
A task with Disabled status is not executed. All cyclic tasks have Disabled sta-
tus in PROGRAM mode. Any cycle task that shifted from this to another status
cannot return to this status without returning to PROGRAM mode.
A task attribute can be set to control when the task will go to READY status.
The attribute can be set to either activate the task using the TASK ON instruc-
tion or when RUN operation is started.
A TASK ON (TKON(820)) instruction is used to switch an instruction-activated
cyclic task from Disabled status or Standby status to READY status.
An operation-activated cyclic task will switch from Disabled status to READY
status when the operating mode is changed from PROGRAM to RUN or
MONITOR mode. This applies only to normal cyclic tasks.
Note A Programming Device can be used to set one or more tasks to go to READY
status when operation is started for task numbers 0 through 31. The setting,
however, is not possible with extra cyclic tasks.
A cyclic task that is READY will switch to RUN status and be executed when
the task obtains the right to execute.
A TASK OFF (TKOF(821)) instruction can be used to change a cyclic task
from Disabled status to Standby status.
Section 4-1
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents