Support for OPC UA Events, Alarms and COnditions
R
Ricardo Juarez
For simple events I will expect to be able to create a script in the “GateWays Events” section of the ignition designer and to be able to select from a list of the available events from the server. Once I have selected my event, I will like to receive the event content (that is all variables that have HasComponet or HasProperty references in the event) as perhaps a json. As an example if I have an event base on the TransitionEventType I will like to get a json that contains the fromState, toState and transition components.
It might get a little bit more complicated if you want to also support Alarms and Conditions (that are also events) since these have confirm and acknowledge methods that you must call when the “frontend” acknowledge the situation. I think you could work around such complication if you add the node id of the instance and the available methods node ids in the json data somehow for this special case so that I can call those methods at a later time.