Configure binding

A binding created for a property of a control can be configured via the Edit Binding dialog. The dialog can be opened by right-clicking or double-clicking on the bound symbol.

Configure binding 1:

The Edit Binding dialog offers various configuration options, depending on the symbol type:

Configure binding 2:

Symbol name: Name of the symbol

Binding mode: Binding mode determines whether the binding acts in one direction or in both directions.

Binding event: The binding event can only be optionally configured for TwoWay bindings. It specifies the event for which the symbol is written (e.g. onTextChanged for a text box). If no event is selected for a TwoWay binding, the value is automatically written back if the value changes.

Subscription Mode: Update mode between server and client.

Interval (ms): The interval specifies the time within which the binding is to be queried or updated. The interval can only be set for server symbols.

Timeout (ms): The timeout defines the time after which a read or write access to the symbol leads to an error if no response is sent from the server. The timeout can only be set for server symbols.

Symbol Write Error: Determines how a binding behaves in the event of symbol-related write errors.

Symbol Read Error: Determines how a binding behaves in the event of symbol-related read errors.

Start index: If the symbol is an array, the start index can be defined.

End index: If the symbol is an array, the end index can be specified.

Escaping level: Enables the symbol path to be displayed instead of the name.

Event registration mode: Defines whether an event should check for symbol changes or use the symbol expression to register an event.

Reference Resolution: Defines whether a reference of the symbol itself or of the value of a symbol instance is resolved.

Version: Choice of symbol version of the server symbol (if available).

Parallel: This property defines whether a command is to be executed by the server in parallel or in a queue. The decision whether processing is to take place in parallel or in a queue depends on the respective use case. By default, all commands are executed in a queue. This property can only be set for server symbols.

Unique hash: By default, the HMI server tries to summarize the subscriptions. This is prevented by activating the option.

Subscription group: Permits subscriptions to be grouped. Interval and timeout settings must be the same.

ReadWrite group: Individual requests can be grouped together if they are made synchronously.

Write value: The write value can be used to bind a symbol expression to the write command. The value of this symbol is also sent to the server in the write command. This is used, for example, when a server function is called that requires a parameter. In this case, the value is passed to the function as a parameter. A new write command to the server is also triggered if this value is changed.

Show advanced items: Toggle the advanced view.