How to solve the unexisting AlarmNormal event?
Posted: Tue May 05, 2015 7:55 am
My project needs two kinds of Alarms Groups:
- 'Incidents', in order to stop the equipments in a STOP state.
- 'Faults', which allows the equipments to go on running.
I need a synthesis tag for incidents, which is true as long as at least one alarm exists in 'AlarmActive', 'AlarmInactive', or 'AlarmAcknowledged' state, and which becomes false when all alarms are in 'AlarmNormal' state.
So far, the basic principle should be to use a simple counter. It is incremented each time an Incident is in 'AlarmActive' state, and decremented each time an Incident get in 'AlarmNormal' state.
BUT:
1) Actions associated to each alarm give access only to 'AlarmActive', 'AlarmInactive', or 'AlarmAcknowledged' events, but not to 'AlarmNormal' event.
Therefore, I can just increment the counter, without being able to decrement it.
2) Same behavior for Alarms Groups actions.
3) The sole existing 'AlarmNormal' event is at the Alarm Server level. But there is no way to distinguish Faults and Incidents alarms!
In scripting, I manage to define an'AlarmNormal' (member of IAlarmEvents interface) without any errors during compiling. But at run-time, this event is not triggered....
Any idea to solve this problem?
Thanks
- 'Incidents', in order to stop the equipments in a STOP state.
- 'Faults', which allows the equipments to go on running.
I need a synthesis tag for incidents, which is true as long as at least one alarm exists in 'AlarmActive', 'AlarmInactive', or 'AlarmAcknowledged' state, and which becomes false when all alarms are in 'AlarmNormal' state.
So far, the basic principle should be to use a simple counter. It is incremented each time an Incident is in 'AlarmActive' state, and decremented each time an Incident get in 'AlarmNormal' state.
BUT:
1) Actions associated to each alarm give access only to 'AlarmActive', 'AlarmInactive', or 'AlarmAcknowledged' events, but not to 'AlarmNormal' event.
Therefore, I can just increment the counter, without being able to decrement it.
2) Same behavior for Alarms Groups actions.
3) The sole existing 'AlarmNormal' event is at the Alarm Server level. But there is no way to distinguish Faults and Incidents alarms!
In scripting, I manage to define an'AlarmNormal' (member of IAlarmEvents interface) without any errors during compiling. But at run-time, this event is not triggered....
Any idea to solve this problem?
Thanks