.AlarmDev dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Indicates when a deviation alarm becomes active for the specified tag or alarm group. The default value is 0. When a deviation 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 .AlarmDev dotfield is set to 1 if any of the tags within the group are in an active alarm state.
Category
Alarms
Usage
TagName.AlarmDev
Parameter
TagName
Any integer, real, indirect analog tag, or alarm group.
Data Type
Discrete (read-only)
Valid Values
0 or 1
Example
The following statement verifies if Tag1 has an active deviation alarm associated with it:
IF (Tag1.AlarmDev == 1) THEN
The body of this IF-THEN statement is processed if there are active deviation alarms within the PumpStation alarm group.
IF (PumpStation.AlarmDev == 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, this dotfield remains equal to 1.
See Also
.Ack, .UnAck, .Alarm, .AckDev