![Omron CJ1G-CPU series Programming Manual Download Page 36](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489036.webp)
15
Description of Tasks
Section 1-6
Each program is allocated 1:1 to a task through individual program property
settings set with the CX-Programmer.
Program Structure
Standard subroutine programs can be created and allocated to tasks as
needed to create programs. This means that programs can be created in
modules (standard components) and that tasks can be debugged individually.
When creating modular programs, addresses can be specified by symbols to
facilitate standardization.
Cyclic task 0
Executed in order starting
from the lowest number.
Cyclic task 1
Cyclic task 2
I/O refreshing
Peripheral processing
Interrupt occurs
Interrupt task 5
Note Condition Flags (ER, >, =, etc.) and instruction
conditions (interlock ON, etc.) are cleared at the
beginning of each task.
Standard subroutine programs
User program ABC
User program ABD
Task 1 (A)
Task 1 (A)
Task 2 (B)
Task 2 (B)
Task 3 (C)
Task 3 (D)
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...