Object ‘Persistent variable configuration’

Symbol:

The object can be inserted below a Device application if the device supports static memory areas (static memory) for persistent and retain variables. It is used for segmenting this static memory. This allows for memory mapping for persistent and retain variables in a global memory in the device application and in memory areas for each application.

For devices that support static memory areas, the memory area for the persistent and retain variables is 100% for the device application by default.

Hint

Changes to this configuration, as all changes to the device application, require a complete download of all applications.

Editor ‘Persistent variable configuration’
Segmentation of static memory
Application Drop-down list with all applications of the device, including device application. For the selected application, you can specify values for Offset and Size of the area for persistent data.
Offset Offset of the memory segment.
Size Memory segment size (in bytes).
Graphical representation of memory mapping

Memory mapping for applications is represented graphically. A horizontal bar represents the memory, beginning with offset 0 on the left. Each application appears as a block on the bar according to their values for offset and size. By clicking an application block, the associated values are displayed in the fields above.

Example:

See also