ParentNodeID and References|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
ParentNodeID and References
Avatar
Tobias Wolff
New Member
Members
Forum Posts: 2
Member Since:
01/18/2019
sp_UserOfflineSmall Offline
1
03/01/2020 - 13:47
sp_Permalink sp_Print

Hey opc ua experts,

 

I have a question about the parentNodeIDs which you can find as attributes of some nodes in a informationmodel.

What does this parentNodeID says about the relationship of nodes and why are there nodes without a parentNodeID? Actually you don't need the parentNodeID, because you can use a reference to indicate the parent of this specific node.

 

Can anyone help me?

Avatar
Randy Armstrong
Admin
Forum Posts: 1449
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/03/2020 - 07:42
sp_Permalink sp_Print

From the spec:

https://reference.opcfoundatio.....Part6/F.7/

The NodeId of the Node that is the parent of the Node within the information model. This field is used to indicate that a tight coupling exists between the Node and its parent (e.g. when the parent is deleted the child is deleted as well). This information does not appear in the AddressSpace and is intended for use by design tools.

It is a hint to design tools. The actual references are always explicitly specified.

Avatar
Tobias Wolff
New Member
Members
Forum Posts: 2
Member Since:
01/18/2019
sp_UserOfflineSmall Offline
3
03/03/2020 - 07:51
sp_Permalink sp_Print

Hey,

 

thank you very much for this quick response! Smile

So just to be sure, the parent-child relationship within the AddressSpace (the OPC UA server) is not important and not needed and therefore my OPC UA client cannot get the parent of a specific node?

Avatar
Randy Armstrong
Admin
Forum Posts: 1449
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
03/03/2020 - 13:34
sp_Permalink sp_Print

The ownership rules that apply to a node are internal to the server and not available for clients.

Even when you think a node should be "owned" such as a property you can find some properties which are shared by many nodes.

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