.AckDsc dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Acknowledges the discrete alarm of a specified tag or all discrete alarms of a specified alarm group.
Usage
TagName.AckDsc=1;
Parameter
TagName
Name assigned to the discrete tag or the name of an alarm group.
Remarks
Set to 1 to acknowledge an active discrete alarm associated with the specified tag or alarm group. When the specified tag is an alarm group, all unacknowledged discrete alarms associated with the tags within the specified group are acknowledged. When the specified tag is of any type other than alarm group, only the unacknowledged discrete alarm associated with that tag is acknowledged. Setting this dotfield to a value other than 1 has no meaning.
Data Type
Discrete (read/write)
Valid Values
0 or 1
Examples
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 dotfield. Therefore, even when an active alarm has been acknowledged, this dotfield remains equal to 1.
See Also
.Alarm, .AlarmDSC, .Ack, .UnAck, .AckDev, .AckDSC, .AckROC, .AckValue, .AlarmAckModel