Retentive Memory
Variables can be assigned the Data Type retain
or retain-persistent
and their values will be maintained if power is removed.
See the following for help- Retain Memory
Both variable types are stored in the Battery-backed SRAM memory.
Battery Backed SRAM: 1MB (RETAIN Data Type - 800KB, RETAIN-PERSISTENT Data Type - 200KB)
Caution
The retain-persistent
variable values are NOT copied into Non-volatile Flash memory on a system power down and will be lost, if there is no battery or if
the battery is in a low voltage state for an extended time period.