Question:
How can I tell whether an alarm group has returned, since this object doesn’t have an event such as OnAlarmReturn(), only OnAlarm()?
Solution:
The alarm group’s OnAlarm() event fires both the alarm’s input and output. In the same event, use the group’s GetInfo function.
Example: AlarmGroup.GetInfo(“Event”)
This function returns the following values: ALM when a tag is in alarm and RTN when it is out. This makes it possible for you to tell them apart.