.AlarmROC dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Indicates when a rate-of-change alarm condition becomes active for the specified tag or alarm group. The default value is 0. When a rate-of-change alarm condition exists for the specified tag, it is set to a value of 1. The value remains 1 until the rate-of-change alarm condition no longer exists.
If the specified tag is the name of an alarm group, the .AlarmROC dotfield is set to 1 if any of the tags within the group are in a rate-of-change alarm state.
Category
Alarms
Usage
TagName.AlarmROC
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 rate-of-change alarm associated with it:
IF (Tag1.AlarmROC == 1) THEN
The body of this IF-THEN statement would be processed if there were active rate-of-change alarms within the alarm group named PumpStation.
IF (PumpStation.AlarmROC == 1) THEN
MyAlarmMessage="The pumping station currently has an ALARM!";
ENDIF;
This dotfield is not linked to the .Ack or .UnAck dotfield. Therefore, even when an active rate-of-change alarm has been acknowledged, this dotfield remains equal to 1.
See Also
.Ack, .AckROC, .Alarm, .AlarmROCEnabled, .AlarmROCDisabled