Subscribing for OPC UA alarm events

The OpcUaDevice component's Alarm Ext (OpcUaClientAlarmDeviceExt) component subscribes to OPC UA alarm events.

  1. In the Nav tree, right-click on Alarm Ext under the OpcUaDevice and click Views > Opc Ua Client Alarm Manager.
  2. In the view, click Discover.
    Discovery scans the Opc UA server looking for OPC UA variables that are capable of generating alarms and displays them in the Discovered pane.

  3. Select the variable to be imported and click Add.
    The Add window opens.

  4. Modify properties as desired and click OK.
    The driver adds an OpcUaClientAlarmSource component to the station database.

    The Last Event column displays a summary of the last alarm event received from the OPC UA server for the specified OPC UA node.

    The added OpcUaClientAlarmSource component contains an AlarmSourceInfo component.



  5. Configure the AlarmSourceInfo to route the received OPC UA alarm events to alarm recipients.

    The Enabled property subscribes and unsubscribes to receive OPC UA alarm events on the given OPC UA node.

    When the node receives a new OPC UA alarm event it routes the alarm event through the specified alarm class in the station’s AlarmService. The system then treats it as any other alarm.