EventNotifier for parent nodes|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
EventNotifier for parent nodes
Avatar
Markus Mehrwald
Member
Members
Forum Posts: 3
Member Since:
04/02/2020
sp_UserOfflineSmall Offline
1
09/08/2021 - 23:02
sp_Permalink sp_Print

Hi,

is it required for parent nodes to have the SubscribeToEvents bit set if the child has it set? In the following example:

Server –> A –> B –> C

C shall be an EventSource, B an EventNotifier and Server is an EventNotifier anyways. From the example in the specification it is not completely clear to me whether A shall also be an EventNotifier or not or does this only depend on the used model?

Thanks,

Markus

Avatar
Randy Armstrong
Admin
Forum Posts: 1549
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/08/2021 - 23:16
sp_Permalink sp_Print

Every target of HasNotifier shall be an EventNotifier.

https://reference.opcfoundatio…..art3/7.18/

The SourceNode of this ReferenceType shall be Objects or Views that are a source of event subscriptions. The TargetNode of this ReferenceType shall be Objects that are a source of event subscriptions. A source of event subscriptions is an Object that has its “SubscribeToEvents” bit set within the EventNotifier Attribute.

Avatar
Markus Mehrwald
Member
Members
Forum Posts: 3
Member Since:
04/02/2020
sp_UserOfflineSmall Offline
3
09/08/2021 - 23:30
sp_Permalink sp_Print

Yes, I think I understand this but I will try to be more specific.

 

    /—-  HC  —-\/—- HC —-\/—- HC —-\

Server    –>     A     –>     B     –>     C

    \————  HN  ————/\—- HN —-/

HC: HasComponent

HN: HasNotifier

Is this allowed or do I need a HasNotifier reference to A as well?

Avatar
Randy Armstrong
Admin
Forum Posts: 1549
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
09/09/2021 - 10:00
sp_Permalink sp_Print

HasComponent trees exist independently of HasNotifier trees.

There is no requirement that they be the same even if they are similar.

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