3
- 7
3.1 Sequence Program
3.1.1 Main routine programs
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.1.1 Main routine programs
(1) Definition of main routine program
A main routine program is a program from Step 0 to the END/FEND instruction.
(2) Execution operation of main routine program
When the main routine program is executed, it operates as described below.
(a) When only one program is executed
The main routine program is executed from Step 0 to the END/FEND instruction,
where END processing is performed.
After the END processing, the program restarts operation from Step 0.
(b) When multiple programs are executed
The main routine program operation after execution of the END/FEND instruction
varies depending on the preset execution conditions.
Diagram 3.7 Main routine program
END/FEND
END/FEND
Main routine
program
Step 0
END
processing
Indicates execution of program.
When only one program is
executed, program returns to
Step 0.