(2) Precautions on saving variables at power off
In DRAM operation, the variables can be changed during program execution; however, the changed values
will be discarded when the controller power is turned off. Use the following method to retain the variables at
power off.
* When variables must be retained at power off:
Use the program external variables, execute program selection before turning the power off, or execute
the CallP instruction (execute to End instruction at CallP destination). Note that the user-defined exter-
nal variables are excluded.
Table 5-16:Saving variables during DRAM operation/SRAM operation
Note1)
Variable
Local variable
Program external variable
User-defined external vari-
able
Note1) The variables include numeric variables, character string variables, position variables and joint variables.
Note2) If the program has been rewritten with the personal computer support software, the values of local
variables used in the program will be discarded.
During high-speed RAM operation
(DRAM operation)
The program variables being executed at power
off are discarded.
The variables are saved when the program is
selected or when the CallP instruction ends.
The variables are saved even after power off.
The program variables being executed at power
off are discarded.
5Functions set with parameters
During SRAM operation
The variables are saved even after power off.
Note2)
The variables are saved even after power off.
High-speed RAM operation function 5-501