Technical information

Controller States and Behaviors
EIO0000000638 04/2012 67
Remanent Variables
Remanent Variables
Remanent variables can retain their values in the event of power outages, reboots,
resets, and application program downloads. There are multiple types of remanent
variables, declared individually as "retain" or "persistent", or in combination as
"retain-persistent".
NOTE: For this controller, variables declared as persistent have the same behavior
as variables declared as retain-persistent.
The following table describes the behavior of remanent variables in each case:
Action VAR VAR RETAIN VAR PERSISTENT and
RETAIN-PERSISTENT
Online change to application
program
XX X
Stop X X X
Power cycle - X X
Reset warm - X X
Reset cold - - X
Reset origin - - -
Download of application
program
-- X
X The value is maintained
- The value is reinitialized