Alarm type

An alarm type defines a complex structure for the interpretation of the process variable in an alarm.

An alarm type is a template for a set of alarms that you want to generate from a single process variable. Assignments, which are created within an alarm type, associate a value or a bit with a piece of alarm information. Similar to an alarm definition, such information contains an alarm text, a reference to an alarm class, and other parameters, but in contrast to an alarm definition, it does not include any reference to the triggering process variable. That reference is made when the alarm type containing the alarm information is referenced in an alarm definition that contains the triggering variable. This approach allows, for example, to use the same alarm type definition for several identical controls that produce different error codes and hence different alarms via a single process variable.

Alarm types fall into two categories:

  • Bit block

    • Defines assignments between bit numbers and alarm information. The bit block alarm type can be used, for example, if a machine or line contains several identical parts and the error states of a machine part are coded by bits of a single variable.

  • Numerical

    • Defines assignments between numerical values (error codes) and alarm information. For example, if a control issues numerical error codes via a variable, the numerical alarm type can be used to associate error codes with alarm information.

      The resetting of alarms is determined by the Reset mode parameter.

      If the event variable contains values for which an assignment is missing, the Default assignment parameter can be used to set the behavior for such values.

      See Reset mode for important information when setting the value of a numerical assignment.

Alarm types also allow to combine parameters of alarm definitions and assignments of the alarm type definition such as Alarm class, Text, Priority, etc.

Parameters

Name

Description

Acknowledge variable mode

Determines how alarm definition data and assignment data are linked with each other.

Alarm class mode

Determines how alarm definition data and assignment data are linked with each other.

Comment

Optional comment on the definition.

Default assignment

An assignment from an alarm type definition that will be used as a fallback assignment for unassigned bit numbers or values.

Name

Name of the definition.

Parameter 1 mode

Determines how alarm definition data and assignment data are linked with each other.

Parameter2 mode

Determines how alarm definition data and assignment data are linked with each other.

Priority mode

Determines how alarm definition data and assignment data are linked with each other.

Reset mode (Numerical alarm type only)

Determines how a current alarm is treated if the event variable value changes.

State variable mode

Determines how alarm definition data and assignment data are linked with each other.

Text mode

Determines how alarm definition data and assignment data are linked with each other.

Related topics: