Query on Events from Non-Server Node|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Query on Events from Non-Server Node
Avatar
Mohit Agarwal
Member
Members
Forum Posts: 64
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
1
10/09/2025 - 12:53
sp_Permalink sp_Print

Hi,

We can get all the events from a Server if we subscribe to Server Node.

Node Hierarchy: Root -> Objects -> TighteningSystem -> ResultManagement - All are Object Nodes.

We have an object called ResultManagement(Object Node) and it has GeneratesEvent refererences to Event1, Event2 and is NotiferOf reference to Server node and NotifierOf reference to TighteningSystem. It DOES NOT have HasEventSource reference to any node in the address space.

If we subscribe to ResultManagement node, can the client get Event1, Event2 without having HasEventSource to a specific node in the address-space?

OR is it mandatory to have HasEventSource reference from a NON-SERVER nodes to report events?

Server Binary ready to run is available here: https://github.com/umati/UA-fo.....s/Release2

Thank you in advance.

Avatar
Randy Armstrong
Admin
Forum Posts: 1656
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/10/2025 - 13:45
sp_Permalink sp_Print

The HasEventSource and GeneratesEvent references are optional.

Any target of HasNotifier can generate any event. It is up to the Server to ensure that the events make sense given the hierarchy it exposes.

Avatar
Mohit Agarwal
Member
Members
Forum Posts: 64
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
3
10/10/2025 - 23:20
sp_Permalink sp_Print

Thank you Randy. That makes sense. So, just wanted to confirm, to GENERATE an event from a NON-SERVER object, it is POSSIBLE to generate it as long as it is a NotifierOf some node in the hierarchy and we DO NOT need an ACTUAL address-space node as Event Source.

Avatar
Randy Armstrong
Admin
Forum Posts: 1656
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/13/2025 - 06:42
sp_Permalink sp_Print

The source of the event does not have to be in the address space.

Avatar
Mohit Agarwal
Member
Members
Forum Posts: 64
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
5
10/13/2025 - 06:43
sp_Permalink sp_Print

Thanks a lot Randy. It helps.

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 124
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
6
10/23/2025 - 22:22
sp_Permalink sp_Print

The HasNotifier reference can be used to create a tree of objects that a client can select and subscribe for events from.  The events available from each object in this tree are restricted to events that are related to Objects in the tree.  This allows the creation of an implicit filter - i.e. if a had a tree of HasNotifier reference - where one node is an area, under which there are several objects. the subscription to the area node would return all events in the object and any other objects reference from the Area node with either a HasNotifier reference or a HasEventSource reference.

The HasEventSource is used as part of tree described above, the difference is that a node that is the target of a HasEventSource , is not a node with the Notifier bit set to true.

GeneratesEvent is used in an information model to indicate that an object could generate an instance of an event of the type pointed to by the reference.  They are usually associated with statemachine or method, but could be associated with any object.  The Object with this reference does not have to have a notifier enable or a HasEventSource reference to it. 

The Server Object by definition can be subscribed to and all events that are in the server would be provided.

Paul Hunkar - DSInteroperability

Avatar
Mohit Agarwal
Member
Members
Forum Posts: 64
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
7
10/24/2025 - 00:18
sp_Permalink sp_Print

Thanks Paul for the detailed explanation.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 35
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1508
Posts: 5103