.AlarmDsc dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Indicates whether an alarm condition exists for a specified discrete tag or alarm group. The default value is 0. When a discrete alarm condition exists for the specified tag, it is set to a value of 1. The value remains 1 until the alarm condition no longer exists.
If the specified tag is the name of an alarm group, the .AlarmDsc dotfield is set to 1 if any of the tags within the group are in an active discrete alarm.
Category
Alarms
Usage
TagName.AlarmDsc
Parameter
TagName
Any discrete tag, indirect discrete tag, or alarm group.
Data Type
Discrete (read-only)
Valid Values
0 or 1
Example
The following statement verifies if Tag1 has an active discrete alarm associated with it:
IF (Tag1.AlarmDsc == 1) THEN
MyAlarmMessage="The pumping station currently has an ALARM!";
ENDIF;
This dotfield is not linked to the .Ack or .UnAck dotfields. Therefore, even when an active alarm has been acknowledged, the .AlarmDsc dotfield remains equal to 1.
See Also
.Ack, .UnAck, .Alarm, .AlarmDsc, .AckDsc