Support Forums
Alarm stats results under different tag type

I am using the below expression in an IO/Calculation tag to get the number of critical and high alarms for the dependent tags

\AlarmManager.GetAlarmStateStats([PLC_01a]\Root)\ActivePriorities["0001"]

Most of the parent tags I get good results. Any ideas on why some results are invalid? Does this indicate there are no alarms configured in tags within the structure?

Or is it a matter of what type of tag the parent is? In one instance I get a valid result for the high alarm expression ["0002"] but not for critical? This parent tag type is Modbus Compatible Device.

Any insight is appreciated.

Thanks!

I am using the below expression in an IO/Calculation tag to get the number of critical and high alarms for the dependent tags \AlarmManager.GetAlarmStateStats([PLC_01a]\Root)\ActivePriorities["0001"] Most of the parent tags I get good results. Any ideas on why some results are invalid? Does this indicate there are no alarms configured in tags within the structure? Or is it a matter of what type of tag the parent is? In one instance I get a valid result for the high alarm expression ["0002"] but not for critical? This parent tag type is Modbus Compatible Device. Any insight is appreciated. Thanks!
23
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft