.AlarmDisabled dotfield
- Last UpdatedJun 19, 2024
- 1 minute read
Enables or disables alarms for a tag or an alarm group.
Category
Alarms
Usage
TagName.AlarmDisabled
Parameter
TagName
Any discrete, integer, real, indirect discrete, indirect analog tag, or alarm group.
Remarks
When .AlarmDisabled is set to 1, all events and alarms are ignored. They are not stored in alarm memory, nor are they written to disk. It is very important to re-enable events/alarms, whenever possible, to avoid data loss.
When the specified tag is an alarm group, all alarms associated with the tags within the specified alarm group are disabled.
This is the opposite of the .AlarmEnabled dotfield.
Example
The following example enables the alarms of the Tag1 tag.
Tag1.AlarmDisabled=0;
See Also
.AlarmEnabled