RETAIN_SAVE

../_images/9cd4d2d5e38aaa680a33139000eba54e

With a rising edge (False -> True) at input EN of the Program RETAIN_SAVE, all data in the retain area are written from the SRAM to the RAM-DISC.

Retain variables are declared with the keyword RETAIN. These variables keep their values after an uncontrolled abort as well as after a normal switch off/on of the control system (or with the command ‘online’ ‘reset’). At a new start of the program work is continued with the stored values.

Available as of PLC runtime system: V1.2
Included in library: SysInt_AC500_V10.lib
Type Program