1
OVERVIEW
(2) Structured programs
1
- 27
1.2 Program Storage and Operation
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 (
and file-divided structuring (
(a) Structuring in the same program
Structuring in the same program is achieved by creating subroutine programs
(
Section 3.1.2) or interrupt programs (
Main routine
program
Subroutine
program 1
Subroutine
program 2
Subroutine
program 3
Figure 1.15 Example of structuring in the same program
(2)(b) in this section) are available.
Section 3.1.3).
P0
P8
P1
(2)(a) in this section)
CALL P1
FEND
Y10
RET
Y11
RET
Y12
RET
END