3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.1 Sequence Program
3.1.1 Main routine programs
3 - 7
1
Overview
2
Performance
Specification
3
Sequence Program
Configuration and
Execution Conditions
4
I/O Nunber Assignment
5
Memories and Files
Handled by CPU Module
6
Functions
7
Communication using
built-in Ethernet ports of
CPU module
8
Communication with
Intelligent Function
Module
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.
Figure 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.