-

Local HMI Tags

PLCnext Engineer differentiates between HMI tags created from controller variables and local HMI tags. HMI tags created from controller variables are global tags (data variables) that are visible to every station (the controller variables are contained in the controller's Data List). In contrast, local HMI tags are only visible to one client (station), i.e., the tag is associated with a particular client. If a local HMI tag changes, the change only affects the tag of the particular client, i.e., each client using this tag may have a different value for this tag.

PLCnext Engineer allows you to create the following types of local HMI tags:

The application local and page local tags can be selected in dynamics, bound to the parameters of a symbol instance and used in expressions.

Further Info
For information how to create HMI tags from controller variables, see the topic "HMI Tags Created From Controller Variables".

'Tags' editor

The 'Tags' editor available for the 'Application' node (located under the 'HMI Webserver' node in the PLANT) and HMI page nodes is used to create and modify the application local and page local tags. With the editor you can:

Create and delete tags

Edit the tag properties

Sort the tags table

Move tags up/down

Filter the tags table

Use case

Task: The following use case explains the concept of the local HMI tags. In the example application, we have created a visibility checkbox that is connected to the page local tag 'ShowButtons' (see figure 1). The checkbox is used to show or hide a button bar (consisting of two buttons) based on the checkbox selection. The button bar (group of two buttons) has the visibility dynamic assigned. The dynamic is linked to the page local tag 'ShowButtons' (see figure 2).

Result: The button bar disappears only on the client (station) of the user when clearing the checkbox. On all other stations that were connected when clearing the checkbox, the button bar remains visible.

Figure 1: page local tag 'ShowButtons' assigned to checkbox. The checkbox has the value 'True' when checked.

Figure 2: button bar with assigned visibility dynamic linked to 'ShowButtons' tag. The button bar is hidden when the 'ShowButtons' tag has the value 'False' (checkbox is cleared).