-

Alarm Array

All alarm information queried from the alarm source at runtime is stored in the alarm array (one-dimensional array). The array has a fixed number of elements. Each element in the array represents a specific alarm value or property, such as the alarm id, alarm message, priority, state, etc. In the HMI application, the access to the array elements and their values is done by binding the symbol parameters of an HMI Symbol List of source type 'AlarmView' to the array field elements (see the following figure and also the HMI alarming example).

Parameters of HMI Symbol List bound to elements of the alarm array

Mapping of alarm array field to alarm property

The following table shows the alarm array fields, their array data types, and their mapping to the alarm properties as configured in the 'Alarm Server | Alarms' PLANT editor and the alarm data received at runtime (for a description of the alarm properties see the topic "Alarming").

Alarm array fieldData typeAlarm property
('Alarm Server | Alarms' column)
Alarm data at runtime
AlarmIDANY_STRINGAlarm ID-
ConditionVariableNameSTRINGPort / Variable Name-
StateBOOL-Alarm state. Possible values:

Normal, Abnormal, Acknowledged, Unconfirmed, Confirmed, RtnUnacknowledged, RtnUnconfirmed, OverallSuppressed
ActiveStateBOOL-If true, then the monitored value is in an abnormal state (alarm is currently active)
ActiveStateChangedANY_DATE-Timestamp (date and time) of when the ActiveState last changed
DescriptionANY_STRINGDescription-
PriorityANY_NUMPriority-
AlarmTypeANY_STRINGAlarm Type-
SourceNameANY_STRINGSource Name-
GroupANY_STRINGGroup-
MessageANY_STRINGMessage-
ConditionANY_STRING-Alarm condition. Possible values:

Normal, BitPatternMatch, BooleanMatch, MaxHighHigh, MinLowLow, OutOfRangeLowLow, OutOfRangeLow, OutOfRangeHigh, OutOfRangeHighHigh
ConditionValueANY_STRING-Value of the monitored variable/port when the alarm became active
AckedStateBOOL-True if the alarm has been acknowledged
AckedStateChangedANY_DATE-Timestamp (date and time) of when the AckedState last changed
AcknowledgeRequiredBOOLAccess Rights: Acknowledge Required-
ConfirmedStateBOOL-True if the alarm has been confirmed
ConfirmedStateChangedANY_DATE-Timestamp (date and time) of when the ConfirmedState last changed
ConfirmRequiredBOOLAccess Rights: Confirm Required-
SuppressedStateBOOL-If true, then the alarm is suppressed and will not be presented in the HMI’s list of active alarms
SuppressedStateChangedANY_DATE-Timestamp (date and time) of when the SuppressedState last changed
SuppressVariableNameANY_STRINGSuppress Condition Variable Name-
SuppressedAlllowedBOOLAccess Rights: Suppression Allowed-
UserANY_STRING-User name of the operator that last confirmed/acknowledged the alarm, or IP address of the station that was used to perform the confirm/acknowledge