Commissioning
10.6 Operating modes of the CPU
The table below shows the effects of the operating mode transitions:
Table 10- 7
Operating mode transitions
No.
Operating mode transitions
①
POWER ON →
STARTUP
②
POWER ON →
STOP
③
STOP → STARTUP
④
STARTUP → STOP
⑤
STARTUP → RUN
⑥
RUN → STOP
216
After switching on, the CPU switches to "STARTUP"
mode if:
The hardware configuration and program blocks are
•
consistent.
The "Warm restart-RUN" startup type is set
•
or
The "Warm restart mode before POWER OFF" is
•
set and was in RUN mode before POWER OFF.
After switching on, the CPU goes to "STOP" mode if:
The hardware configuration and program blocks are
•
inconsistent
or
The "No restart" startup type is set.
•
The CPU switches to "STARTUP" mode if:
The hardware configuration and program blocks are
•
consistent.
The programming device sets the CPU to "RUN"
•
and the mode selector is in the RUN setting
or
The mode selector is switched from STOP to RUN.
•
The CPU returns to the "STOP" mode in the following
cases of "STARTUP":
The CPU detects an error during startup.
•
The programming device or the mode selector sets
•
the CPU to "STOP".
A STOP command is executed in the Startup OB.
•
The CPU goes to the "RUN" mode in the following
cases of "START-UP":
The CPU has initialized the PLC tags.
•
The CPU has executed the startup blocks success-
•
fully.
The CPU returns to the "STOP" mode in the following
cases of "RUN":
An error is detected that prevents continued pro-
•
cessing.
A STOP command is executed in the user program.
•
The programming device or the mode selector sets
•
the CPU to "STOP".
Effect
Non-retentive memory is cleared,
and the content of non-retentive
DBs is reset to the start values of
the load memory. Retentive
memory and retentive DB con-
tents are retained.
Non-retentive memory is cleared,
and the content of non-retentive
DBs is reset to the start values of
the load memory. Retentive
memory and retentive DB con-
tents are retained.
Non-retentive memory is cleared,
and the content of non-retentive
DBs is reset to the start values of
the load memory. Retentive
memory and retentive DB con-
tents are retained.
Distributed I/O system
System Manual, 12/2016, A5E03576849-AG