5Functions set with parameters
High-speed RAM operation function 5-501
(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
Variable
Note1)
Note1) The variables include numeric variables, character string variables, position variables and joint variables.
During high-speed RAM operation
(DRAM operation)
During SRAM operation
Local variable 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.
Note2)
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.
Program external variable The variables are saved even after power off.
User-defined external vari-
able
The program variables being executed at power
off are discarded.
The variables are saved even after power off.