Data Storage
The storage of persistent variables can be triggered in various ways:
Each persistence channel provides an application interface which can be used by the application to trigger a storage (see Data Access).
In the parameters of the persistence channel a time interval (tPeriodicSaving) can be defined for automatic storage.
The persistence channel can be configured to store a variable whenever its value changes. For this the previous value and the current value are compared; if they are different the storage will be triggered.
The different ways of storage can be used in parallel and they are not mutually exclusive.
In case of a shutdown of the controller or after "Reset" (warm / cold / origin) the data is stored automatically if the parameter xSaveOnChange is not set.
For more information, see also: Module: Data Storage