Replies: 1 comment 9 replies
-
https://reference.opcfoundation.org/Core/Part3/v105/docs/4.4.4
So you can just add the server to the ServerArray ("urn:<your own urn here!>") and use the index of the added server in the expanded nodeid! Index 0 is your own "urn:" (AppUri) and not the remote so you should have at least index 0 and index 1 after adding! https://reference.opcfoundation.org/Core/Part4/v104/docs/7.11
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like to be able to add a reference to a node that is not in the address space of the local server but in the address space of another server that is available in the same network.
According to the OPC UA specification, this should be possible by adding the URI of the other server to the ServerArray property of the local server (https://reference.opcfoundation.org/Core/Part5/v105/docs/6.3.1). Then I should be able to use an ExpandedNodeId with the ServerIndex set to the index of that server in the ServerArray to identify any node in the address space of the other server.
Looking at the code, I think this is currently not yet possible. I also found FreeOpcUa/python-opcua#557 which mentions the same thing but for the sync-only version of the library. That issue wasn't resolved, so I believe there hasn't been done any work on this feature, yet.
Since I don't know, how this feature could be implemented, I'd like to ask if there is someone who would be willing to invest time in adding this feature.
Secondly, provided that this feature is implemented, what would I have to use as the URN of the other server in the ServerArray? Is that the URL of the other server (i.e.
myotherserver.hostname:4840
, maybe even with theopc.tcp://
protocol), or just its domain name (myotherserver.hostname
)?I guess the answer to this question depends on the implementation, so this can probably only be answered once the feature is implemented...
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions