Creating and using the ZoneImageLayoutConfig server symbol
For storage and reuse of layouts created on the Layout page of the temperatures, one instance of the ZoneImageLayoutConfig server symbol is required per layout.
Creation of the server symbol
![]() | For each required layout a single position in the |
For this purpose it is recommended to create a dynamic array of this type. This is done in the TwinCAT HMI configuration window:
- 1. Creation of the data type

- 2. Creation of a server symbol under the category
TcHmiSrvof the corresponding data type
- 3. Setting the server symbol as persistent using the checkbox (
Persist).
- Server symbol is created.
Using the server symbol in the configuration mode of the ZoneImageLayout control
- 1. Select ZoneImageLayout control in the Toolbox and drag it to a content.
- 2. Set
Modeparameter under the categoryConfigurationtoConfig.
- 3. For example, using a TcHmiCombobox control to configure the number of layouts available in LiveView via the
.onSelectionChangedevent.
- 4. For this purpose, a new
CASEcan be created with the value 4 for theSelectedIdparameter of the combo box. - 5. Copy and paste the
CreateBindingfunction into the newCASEand select a different array location such asZoneImageLayoutConfigList[3]for thesymboltransfer parameter.
- Server symbol is used correctly in configuration mode.
Using the server symbol in display mode
- 1. Select ZoneImageLayout control in the Toolbox and drag it to a content.
- 2. Under the
Configurationcategory, associate theZoneImageLayoutConfigparameter with one of the array locations of theZoneImageLayoutConfigListserver symbol and set theModeparameter toView.
- 3. The set width and height of the ZoneImageLayout control must be set in the server symbol (
LayoutHeight,LayoutHeightUnit,LayoutWidthandLayoutWidthUnit). To do this, right-click on the server symbol in the TwinCAT HMI Configuration window and adjust the default value.
- Server symbol is used correctly in display mode.
