![Omron CJ1G-CPU series Programming Manual Download Page 172](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489172.webp)
151
Task Features
Section 4-1
6.
Easily understood user programs.
Programs are structured in blocks that make the programs much simpler
to understand for sections that would conventionally be handled with in-
structions like jump.
4-1-2
Tasks and Programs
• Up to 288 programs (tasks) can be controlled. Individual programs are
allocated 1:1 to tasks. Tasks are broadly grouped into the following types:
• Cyclic tasks
• Interrupt tasks
Note
1.
Up to 32 cyclic tasks and 256 interrupt tasks for a maximum total of 288
tasks can be created. Each task has its own unique number ranging from
0 to 31 for cyclic tasks and 0 to 255 for interrupt tasks.
2.
With the CS1-H, CJ1-H, or CJ1M CPU Units, interrupt task (interrupt task
numbers 0 to 255) can be executed as cyclic tasks by starting them with
TKON. These are called “extra cyclic tasks.” If extra cyclic tasks are used,
then the total number of cyclic tasks that can be used is 288.
3.
CJ1 CPU Units do not currently support I/O interrupt tasks and external in-
terrupt 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.
Each program allocated to a task must end with an END(001) instruction. I/O
refreshing will be executed only after all task programs in a cycle have been
executed.
Task C
Start task A
Start task B
Task A
Task B
(Program A)
(Program B)
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...