![Omron CJ1G-CPU series Programming Manual Download Page 177](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489177.webp)
156
Task Features
Section 4-1
4.
The CJ1 CPU Units do not support I/O interrupt and external interrupt
tasks.
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 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-
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.
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 (CS1-H, CJ1-H, or
CJ1M CPU Units only)
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)
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...