Chapter 5. Power Supply / CPU
5-28
• Restart mode is executed as the figure given below when the power has been re-applied during execution of the CPU module.
3) 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
Definitions of variable
(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
Check operation mode
Retain variables are…
Stop mode operation
Restart mode is …
Execute warm restart Execute cold restart
RUN mode operation
STOP
RUN
Timeout
Cold restart
Warm restart
abnormal