Click or drag to resize

Event

Home

This topic contains the following sections:

This section describes a general purpose eventing system that can be used in many diverse vertical markets.

Events represent specific transient occurrences. System configuration changes and system errors are examples of events. Event notifications report the occurrence of an event. Events defined in this document are not directly visible in the OPC Unified ArchitectureAddress Space. Object and View nodes class can be used to subscribe to events. The EventNotifier attribute of those nodes class identifies if the node allows subscribing to events. Clients subscribe to such nodes to receive notifications of event occurrences.

Event subscriptions use the monitoring and subscription services to subscribe to event notifications of a node.

Any OPC Unified Architecture server that supports eventing shall expose at least one node as event notifier. The Server object is used for this purpose. Events generated by the server are available via this Server object.

Events may also be exposed through other nodes anywhere in the Address Space. These nodes (identified via the EventNotifier attribute) provide some subset of the events generated by the server. The position in the Address Space dictates what this subset will be. For example, a process area object representing a functional area of the process would provide events originating from that area of the process only.

Note Note

This is only an example and it is fully up to the server to determine what events should be provided by which node.

Event Types

Each event is of a specific event type, i.e. derives from EventType. A server may support many types. The section Standard Event Types defines BaseEventType that all other event types derive from. It is expected that other specifications will define additional event types deriving from the base types defined in Standard Event Types.

The event types supported by a server are exposed in the Address Space of a server.

Note Note

Event types are represented as ObjectType nodes class in the Address Space and do not have a special class associated to them.

Section Information Model describes how a server exposes the event types in detail.

Event types defined in Standard Event Types are specified as abstract and therefore never instantiated in the Address Space. Event occurrences of those event types are only exposed via a subscription. Event types exist in the Address Space to allow clients to discover the event type. This information is used by a client when establishing and working with event subscriptions. Event types defined by the OPC Unified Architecture specification or companion specifications as well as server specific event types may be defined as not abstract and therefore instances of those event types may be visible in the Address Space although events of those event types are also accessible via the event notification mechanisms.

Standard event types are described in Standard Event Types. Their representation in the Address Space is described in section Information Model.

Event Categorization

Events can be categorised by creating new event types which are subtypes of existing event types but do not extend an existing type. They are used only to identify an event as being of the new EventType. For example, the event type DeviceFailureEventType could be subtyped into TransmitterFailureEventType and ComputerFailureEventType. These new subtypes would not add new properties or change the semantic inherited from the DeviceFailureEventType other than purely for categorization of the events.

Event sources can also be organised into groups by using the event reference types. For example, a server may define objects in the Address Space representing events related to physical devices, or event areas of a plant or functionality contained in the server. Event references would be used to indicate which event sources represent physical devices and which ones represent some server-based functionality. In addition, references can be used to group the physical devices or server-based functionality into hierarchical event areas. In some cases, an event source may be categorised as being both a device and a server function. In this case, two relationships would be established. Refer to the description of the event reference types for additional examples.

Clients can select a category or categories of events by defining content filters that include terms specifying the EventType of the event or a grouping of event sources. The two mechanisms allow for a single event to be categorised in multiple manners. A client could obtain all events related to a physical device or all failures of a particular device.

See Also