EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Task Execution Conditions and Settings

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
170
Task Features Section 4-1
3. The CS1G/H-CPU@@(-V1) and CJ1@-CPU@@ CPU Units do not support
this function.
4-1-5 Task Execution Conditions and Settings
The following table describes task execution conditions, related settings, and
status.
Note 1. The Interrupt Input Unit must be mounted to the CPU Rack. For CJ1-H
CPU Units, the Unit must be connected as one of the five Units 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). I/O Interrupt
Units mounted elsewhere cannot be used to request execution of I/O inter-
rupt tasks
2. The Special I/O Unit or CPU Bus Unit must be mounted to the CPU Rack.
For CJ1-H CPU Units, the Unit must be connected as one of the five Units
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 CJ1-H-R and CJ1M CPU Units can use a 0.1-ms time units setting.
Index (IR) and data
(DR) register values
Not defined when task is
started (same as normal
interrupt tasks). Values at
the beginning of each
cycle are undefined.
Always set values before
using them. Values set in
the previous cycle can-
not be read.
Undefined at the beginning
of operation. Values set in
the previous cycle can be
read.
Item Extra cyclic tasks Normal cyclic tasks
Task No. Execution condition Related Setting
Cyclic tasks 0 to 31 Executed once each cycle if
READY (set to start initially or
started with the
TKON(820)instruction) when the
right to execute is obtained.
None
Interrupt
tasks
Power OFF interrupt task Interrupt
task 1
Executes when CPU Unit power
shuts OFF.
Power OFF interrupt enabled
in PLC Setup.
Scheduled interrupt tasks
0 and 1
Interrupt
tasks 2 and
3
Executes once every time the
preset period elapses according
to the internal timer of CPU Unit.
The scheduled interrupt time
is set (0 to 9999) through the
SET INTERRUPT MASK
instruction (MSKS).
Scheduled interrupt unit
(10 ms or 1.0 ms) is set in
PLC Setup. (See note 3.)
I/O interrupt tasks
00 to 31
Interrupt
tasks 100 to
131
Executes when an input on an
Interrupt Input Unit on the CPU
Rack turns ON.
Masks for designated inputs
are canceled through the
SET INTERRUPT MASK
instruction (MSKS).
External interrupt tasks
0 to 255
Interrupt
tasks 0 to
255
Executes when requested by a
user program in a Special I/O
Unit or CPU Bus Unit on the CPU
Rack or by a user program in an
Inner Board (CS Series only).
None (always enabled)
Extra cyclic tasks Interrupt
tasks 0 to
255
Executed once each cycle if
READY (started with the
TKON(820)instruction) when the
right to execute is obtained.
None (always enabled)

Table of Contents

Related product manuals