Using Associated Labels with Variables

An associated label can be used when displaying a variable in the HMI to substitute the raw value with a string that is more meaningful to the User. For example instead of displaying a register as 10, 20 or 30 you could display it HEALTHY, SUSPECT and FAILED. Associated labels are bilingual so, for an application using this feature, the displayed string can be different depending on which language is selected.

There are three types of associated label.

  • Bit - For use with bit variables.
  • Alarm - For use with bit variables that have the alarm property selected.
  • Enumerated - For use with either register or text variables.

See the topic How to configure Labels for information on how to create associated labels.

Using a bit associated label

The labels of a bit associated label can be substituted for three possible states of a bit, that is 1, 0 and invalid. There are three groups of labels, Value, Command to and Change to, used as follows.

  • Value - In the Text-Label, animations. For example, RUNNING and STOPPED.
  • Command to - In the Send-Bit and Send-Double bit animations. For example, CONFIRM START and CONFIRM STOP.
  • Change to - When logged. Displayed in the Log viewer and when printing. For example, HAS STOPPED and HAS STARTED.

Using an alarm associated label

The labels of an alarm associated label can be substituted for all possible states of an alarm (the four actual alarm states plus the various invalid states) plus the user actions associated with an alarm (acknowledge, masking, maintenance etc.). They are used as follows.

  • In the Text-Label animations.
  • In the Send-Bit animations.
  • In the Alarm Viewer.
  • When logged. Displayed in the Log Viewer and when printing.

Using an enumerated associated label

The labels on an enumerated associated label can be substituted for discrete values of either a register or text variable. They are used as follows.

  • In the Text-Label animations.