This library provides functions for reading and writing parameters which are independent from the application. In order to keep this library as simple as possible all parameters are saved as pairs of values (name=value) and the value is always interpreted as string. The CAA_SettingsUtil.lib provides additional functions which offer a comfortable usage of “device global” parameters.
Even after the command “reset origin” has been executed in an application the parameters are retained. The parameters are provided “device global” and can be read or written from every application executed on the device.
How the parameters are stored is not relevant for the user of this library. Usually, the parameters are stored in a flash memory. As write access on this memory type is limited, this library should not be used to save data cyclically.
The parameters are given a symbolic name when stored. This name must obey the IEC 61131-3 convention for naming variables. The name of a setting is not case sensitive therefore.
Libraries which want to save library internal parameters should add the library prefix followed by an underscore as a prefix to the parameter name. This is the only way to make sure, that parameter names are not used twice.