Expanded NodeID vs. NodeID|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
Expanded NodeID vs. NodeID
Avatar
Frederick Loveless
Member
Members
Forum Posts: 20
Member Since:
10/02/2014
sp_UserOfflineSmall Offline
1
12/01/2017 - 13:00
sp_Permalink sp_Print

Looking for some recommendations. We have just encountered the first server we have ever seen that returns expanded NodeID's in a browse response. Since we have never seen a server that responded this we we never built support into the client to handle the expanded node ID. I am wondering if it is as simple as using "OPC_UA_Server_Softing_HMI.nsuri=OpcUaServer;s=Application.Pack_HMI.Pack_OPC.OPC_Mach_Homing" fir read requests and creating monitored items or if there is more work involved. I could not find specifics in the specificaitons.

I was also wondering if we read the namespace array from the server and go the index from the array for the above specified namespace should the server be able to handle us using the namespace index like "ns=5;s=Application.Pack_HMI.Pack_OPC.OPC_Mach_Homing"

 

Thanks for any input.

Avatar
Matthias Damm
Moderator
Members

Moderators-Companion
Forum Posts: 10
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
12/03/2017 - 07:26
sp_Permalink sp_Print

Servers return an expanded NodeId with ServerIndex > 0 if they have references to nodes in a remote server. This means that you will need to connect to this other remote server in order to access the referenced node.

For that reason, the expanded NodeId includes a ServerIndex. The server index points to the entry for the remote server in the ServerArray property of the local server (Server->ServerArray). The ServerArray contains the URI of the remote server. This URI can be used to discover the remote server.

The expanded NodeId with ServerIndex > 0 contains also a NamespaceUri. The NamespaceIndex of the node in the remote server must be read from the remote server using the NamespaceUri.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Kengo Iwamoto
Guest(s) 66
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855