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)