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.
Attention
Changes to this configuration, as all changes to the device application, require a complete download of all applications.
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 Example: |
See also