2
-
16
(3) Program sequence in the CPU module
Figure 2.18 shows the program sequence after the CPU module is powered on or its operating status is changed
from STOP to RUN.
Use initial execution type program, stand-by type program, and fixed scan execution type program as required.
Figure 2.18 Program sequence
Powered off on/STOP RUN
Initial execution
type program
Fixed scan
execution type
program
Scan execution
type program
Stand-by
type program
END processing
Executed only once when
the CPU module is powered
on or its status is switched
from STOP to RUN.
Executed at specified
time intervals.
Program execution sequence
Program execution when any
subroutine program or interrupt
program is called
Executed only when its
execution is requested.