IsDisabled
(Alarm Manager module)
Description: | Will indicate if an alarm is disabled. It can be used either as a subroutine or as a function. |
Returns: | Numeric |
Usage: | Script or steady state. |
Function Groups: | Alarm |
Related to: | GetAlarmStatus | IsActive | IsShelved | IsUnacked |
Format: | \AlarmManager.IsDisabled (AlarmName); |
Parameters: |
AlarmName |
Required. Unique name for the alarm. Typically the unique ID, which can be obtained using GetAlarmName. |
Comments: | The IsDisabled subroutine returns a 1 if the alarm is disabled and returns a 0 otherwise. |
Example:
Within a custom tag...
DisabledStatus = \AlarmManager.IsDisabled(\GetAlarmName(\Root, "Low"));