Task Execution Conditions And Settings - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Task Features
4-1-5

Task Execution Conditions and Settings

Task
Cyclic tasks
Interrupt
Power OFF interrupt task
tasks
Scheduled interrupt tasks
0 and 1
I/O interrupt tasks
00 to 31
External interrupt tasks
0 to 255
Extra cyclic tasks
Note
170
Item
Index (IR) and data
(DR) register values
3. The CS1G/H-CPU@@(-V1) and CJ1@-CPU@@ CPU Units do not support
this function.
The following table describes task execution conditions, related settings, and
status.
No.
Execution condition
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.
Interrupt
Executes when CPU Unit power
task 1
shuts OFF.
Interrupt
Executes once every time the
tasks 2 and
preset period elapses according
3
to the internal timer of CPU Unit.
Interrupt
Executes when an input on an
tasks 100 to
Interrupt Input Unit on the CPU
131
Rack turns ON.
Interrupt
Executes when requested by a
tasks 0 to
user program in a Special I/O
255
Unit or CPU Bus Unit on the CPU
Rack or by a user program in an
Inner Board (CS Series only).
Interrupt
Executed once each cycle if
tasks 0 to
READY (started with the
255
TKON(820)instruction) when the
right to execute is obtained.
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.
Extra cyclic tasks
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.
None
• Power OFF interrupt enabled
in PLC Setup.
• 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.)
• Masks for designated inputs
are canceled through the
SET INTERRUPT MASK
instruction (MSKS).
None (always enabled)
None (always enabled)
Section 4-1
Normal cyclic tasks
Undefined at the beginning
of operation. Values set in
the previous cycle can be
read.
Related Setting

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents