Creating an HMI tag in a Data List
The data exchange between the HMI application and the controller is realized by HMI tags. An HMI tag can be seen as a HMI-related variable. An HMI tag always has to be assigned to a global IEC 61131-3 variable configured in your project. Via this assignment, the HMI application gets read and write authentication for the IEC variables.
Note
No unassigned HMI tags can be created. Only HMI tags assigned to a global IEC variable are allowed. |
- of the 'IEC 61131-3' node,
- of the Safety PLC node (observe the note at the end of this topic),
- of the controller node, and
- of the 'HMI Webserver' node.
In the controller Data List ('IEC 61131-3' node), HMI tags can be created for both resource-global variables ('Global' declaration) and instance-related I/O variables ('Instance' or 'Program' declaration).
To create an HMI tag in the Data List of the controller or Safety PLC, proceed as follows:
- Locate the variable for which an HMI tag is to be created.
- Right-click in the 'HMI' column of the respective table line and select 'Add HMI Tag' from the context menu. By default, the HMI tag name is derived from the variable name. The HMI tag name can be modified afterwards.
- To declare the HMI tag as read-only, activate the 'Read Only' checkbox. A read-only HMI tag may only be read and not written on the HMI page.
Further Info
For details on creating an HMI tag in den Data List of the HMI Webserver, see the topic "HMI Tags Created From Controller Variables". |
Note
HMI tags cannot be created for user-defined data types, such as STRUCTs or ARRAYs. |
Note
In the Safety PLC Data List, the following particularity applies:
|
Another possibility of creating an HMI tag is by adding a dynamic property to an HMI object. By assigning a global IEC variable to a property, a new HMI tag is automatically created. Refer to the topic "Adding dynamics and actions" for further information.