.MajorDevStatus dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Indicates when a major deviation alarm becomes active for the specified tag or alarm group. The default value is 0. When a major deviation alarm condition exists, the specified dotfield is set to 1. The value remains 1 until the major deviation alarm condition no longer exists.
This dotfield is often used in conjunction with the .Alarm and .Ack dotfields to determine the specific alarm state of a tag.
Category
Alarms
Usage
TagName.MajorDevStatus
Parameter
TagName
Any integer, real, or indirect analog tag.
Data Type
Discrete (read-only)
Valid Values
0 or 1
Example
The following IF-THEN statement runs when the .MajorDevStatus (Major deviation alarm) for the MyTag tag is equal to 1.
IF (MyTag.MajorDevStatus == 1) THEN
OperatorMessage="MyTag has gone into a Major Deviation Alarm";
ENDIF;
See Also
.AckDev, .AlarmDev, .AlarmMajDevDisabled, .AlarmMajDevEnabled, .AlarmMajDevInhibitor, .MajorDevPct, .MajorDevSet, .MinorDevStatus