Cyclic Task Status - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
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
next to the CPU Unit (slots 0 to 4). For CJ1M CPU Units, the Unit must be
connected as one of the three Units next to the CPU Unit (slots 0 to 2).
Units mounted elsewhere cannot be used to generate external interrupts.
3. 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.
This section describes cyclic task status, including extra cyclic tasks (sup-
ported by CS1-H, CJ1-H, CJ1M, or CS1D CPU Units only).
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
165

Advertisement

Table of Contents
loading

Table of Contents