![background image](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489035.webp)
14
Description of Tasks
Section 1-6
• A card that is activated will remain activated and will be read in subse-
quent sequences. A card that is deactivated will remain deactivated and
will be skipped until it is reactivated by another card.
1-6
Description of Tasks
Tasks are broadly grouped into the following types:
1,2,3...
1.
Cyclic tasks (32 max.)
Tasks that will be executed once per cycle if executable. Execution can
also be disabled for cyclic tasks if required.
2.
Interrupt tasks
Tasks that are executed when the interrupt occurs whether or not a cyclic
task is being executed.
Interrupt tasks are grouped into the following four types (five types includ-
ing the extra cyclic tasks for CS1-H, CJ1-H, or CJ1M CPU Units):
a) Power OFF interrupt task:
Executed when power is interrupted.
(1 max.)
b) Scheduled interrupt task:
Executed at specified intervals. (2 max.).
c)
I/O interrupt task (note):
Executed when an Interrupt Input Unit in-
put turns ON (32 max.).
d) External interrupt task (note):Executed (256 max.) when requested by
an Special I/O Unit, CPU Bus Unit, or In-
ner Board (CS Series only).
e) Extra cyclic tasks:
Interrupt tasks that are treated as cyclic
tasks. Extra cyclic tasks are executed
once every cycle as long as they are in an
executable condition.
A total of 288 tasks with 288 programs can be created and controlled through
the CX-Programmer. These include up to 32 cyclic tasks and 256 interrupt
tasks.
Note CJ1 CPU Units do not currently support I/O interrupt tasks and external inter-
rupt tasks. The maximum number of tasks for a CJ1 CPU Unit is thus 35, i.e.,
32 cyclic tasks and 3 interrupt tasks. The total number of programs that can
be created and managed is also 35.
Earlier program:
Like a scroll
CS/CJ-series program:
Like a series of cards that can be activated
or deactivated by other cards.
Activated
Deactivated
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...