Chapter 5 Program Configuration and Operation Method
1) Initialization of data according to restart mode
There are three variable related with restart mode (Default, initialization and retain variable). Initialization
method about each variable in case of executing restart mode is as follows.
2) Operation of data retain area
Method on deleting the Retain data is as follows.
- RESET through XG5000 (Overall Reset)
- Execute “Clear PLC” through XG5000 at STOP mode
- Writing by program (Initialization program recommended)
- Writing ‘0’ FILL etc at XG5000 monitor mode
For holding of retain area data or reset (clear) operation according to PLC operation, refer to the following
table.
Classification Retain M area Retain R area
Reset
Hold previous value Hold previous value Hold previous value
Overall reset
Initialized as ‘0’ Initialized as ‘0’ Hold previous value
1) Terms on three types of variable are as follows.
(1) Default variable : variable not set as INIT or Retain variable
(2) INIT variable : initial value is set
(3) Retain variable : Holds previous value
3) Initialization of data
If PLC becomes ‘Cleat Memory’ status, memory of all devices are deleted as ‘0’. When you want to specify
initial value, use initialization task. At CPU module, there are two types of built-in memory. One is program
memory to save program made by user, for user to structure system, Another is data memory providing device
area saving data during operation.
Mode
COLD WARM
Default Initialized as ‘0’ Initialized as ‘0’
Retain Initialized as ‘0’ Hold previous value
Initialized as user defined value
Initialized as user defined value
Retain & Initialization Initialized as user defined value Hold previous value
5- 27