Chapter 4. CPU module
4 - 29
•
Restart mode is executed as the figure given below when the power has been re-applied during execution of the
CPU module
4) Data initialization according to the restart mode
The variables relating to the restart mode are classified into three types, i.e, default variable, initialization
variable and retain variable. The following table shows the initialization method for each type variable.
Mode
Variable type
Cold
Warm
Default
Initialized with ‘0’
Initialized with ‘0’
Retain
Initialized with ‘0’
Previous value is retained
Initialization
Initialized with the user
defined value
Initialized with the user defined
value
Retain & Initialization
Initialized with the user
defined value
Previous value is retained
REMARK
1) Definitions
(1)Default variable : A variable whose initial value is not defined or previous value will not be retained.
(2)Initialization variable : A variable whose initial value is defined.
(3)Retain variable : A variable whose previous value will be retained.
Power ON
Operation mode
STOP
Data that remains at
power failure
Warm Restart execution
Cold Restart execution
Restart mode
Operation in the STOP mode
Abnormal
Warm Restart
RUN
Cold Restart
RUN mode
Normal