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!