1
OVERVIEW
1.2 Program Storage and Operation
1
- 20
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 with
Intelligent Function
Module
8
Parameters
(2) Structured programs
CPU module programs can be structured.
A program can be created according to processes and functions by structuring it.
As program structuring, structuring in the same program ( (2)(a) in this section)
and file-divided structuring ( (2)(b) in this section) are available.
(a) Structuring in the same program
Structuring in the same program is achieved by creating subroutine programs
( Section 3.1.2) or interrupt programs ( Section 3.1.3).
Diagram 1.12 Example of structuring in the same program
P8
RET
RET
Y10
RET
Y11
Y12
P0
P1
END
FEND
CALL P1
Main routine
program
Subroutine
program 1
Subroutine
program 2
Subroutine
program 3