-

Symbol List

A Symbol List is used to bind elements of an array to a symbol. The Symbol List repeats the symbol instance repeatedly for each element of the array to which it is bound.

The Symbol List shown in the 'List' category of the 'Properties' tab provides the properties described in the following table:

Example of Symbol List properties

Symbol List propertyDescription
Source TypeSource type of data associated to the Symbol List. The dropdown list contains the following choices:

  • 'DataVariable'

    When selected, enter the array variable associated to the Symbol list in the 'Data variable' field (see below).

  • 'TextList'

    When selected, enter the text list associated to the Symbol list in the 'Text list' field (see below).

  • 'AlarmView'

    Use the 'AlarmView' source type to bind a user-defined alarm symbol to the Symbol List. With help of the alarm symbol you get access to the global list of alarms and their properties configured in the 'Alarm Server | Alarms' editor' as well as the alarm data at runtime (such as alarm status, alarm condition, etc). The list of active alarms is presented as an array of fields.

    The alarm configuration and information queried from the alarm source (for example, protocol, application program, PLCnext component) is stored in an alarming array. By binding a symbol parameter of the HMI symbol defined for the Symbol List to an alarming array element, displaying the alarm information and performing an operation (such as acknowledge or confirm) on an active alarm is possible (see also the note below this table).

    Set the topic "HMI Alarming" for further details.

Depending on the selected option, some Symbol List properties will be hidden, or appear as grayed out and will be set to a fixed value.
Data variableArray variable that is associated to the Symbol List. The parameters of the row symbol instance are bound to the corresponding elements of the selected array.

This property is only visible if the 'DataVariable' source type is selected.
Text listText list that is associated to the Symbol List. The parameters of the row symbol instance are bound to the corresponding entries of the selected text list.

This property is only visible if the 'TextList' source type is selected.
SymbolMandatory HMI symbol instance that is repeated for each element of the symbol list entry.

If the property is not defined, a corresponding error is reported in the Error List (MESSAGES window).
DirectionDefines whether the selected HMI symbol is repeated vertically or horizontally within the Symbol List.

Set to 'Vertical' and cannot be edited for the 'AlarmView' source type.
PaddingDefines the space around each row element.
Horizontal line color / widthLine color and line width of each row element.
Selected index variableThe selected numeric variable provides the zero-based index of the selected row at runtime. If no variable is selected, the value is -1.
Displayed index variableWhen the value of the associated variable changes, the item selected with the numeric variable (zero-based index of the item) is scrolled into view.
Scroll bar modeControls whether or not scroll bars are displayed. There are three values for the property: 'Hide', 'Show', and 'Auto'.

With the value 'Auto', the scroll bars are only shown if there are more items than are visible on the screen.
Show selection modeControls whether the selected item in the list is visually highlighted. There are three values for the property: 'Always', 'Focus', and 'Never'.

With the value 'Focus', the selected row is shown when the symbol list has the focus. If the symbol list has lost the focus, the visual cue is removed.

Note
When configuring a Symbol List object, all symbol parameters defined for the associated symbol must have a valid value assigned (otherwise a corresponding error is reported).
 
Like for standard symbol instances, the symbol parameters are configured on the 'Parameters' tab of the Symbol List object. The 'Source Type' is pre-defined to 'Field' and the 'Source Value' content is based on the 'Data variable' selected on the 'Properties' tab. For an array of structure, the supported elements are provided for selection and for an array of elementary/enumeration types, the entry "." is available.