17:49, EET
March 16, 2017
Hi all,
according to the OpcUa reference (https://reference.opcfoundation.org/v104/Core/docs/Part5/6.3.1/) the namespace with index 0 and 1 are reserved:
>> Index 0 is reserved for the OPC UA namespace, and index 1 is reserved for the local Server.
and
>> The URI of the ServerArray with Index 0 shall be identical to the URI of the NamespaceArray with Index 1, since both represent the local Server.
I’m just asking myself, what is the practical use of this namespace with index 1 ?
When comparing different OpcUa servers, I can see that the URI of namespace index 1 looks something like:
[1] urn:’the local server hostname’:UnifiedAutomation:UaServerCpp
[1] urn:’the local server hostname’:OPCUA:SimulationServer
[1] urn:’the local server hostname’:Kepware.KEPServerEX.V6:UA Server
So in every server I check, I haven’t found any node in this namespace 1.
From client point of view it makes no sense to have any node in the namespace 1, as the URI is dependent on which physical machine the server is running.
Can you help me to understand for which use cases a node shall be provided at the namespace 1?
Thanks!
10:57, EET
April 3, 2012
Hi,
Typically it is (just) used for the diagnostics nodes, but nothing prevents you from having all the “real nodes” of the server there. And nothing sort of prevents the 2+ indexes behaving the same way, it just depends on the uri that it is a well known uri or not.
Most likely the diagnostics is either off by default (this is typical) or that they are not supported in those servers. In our SimulationServer they are by default on and you can look via SimulationServer’s Address Space tab below Root/Objects/Server/ServerDiagnostics/SessionsDiagnosticsSummary/* you would find a node per active Session (the summary nodes are in 0 as they are well-known, the nodes per individual session are in 1).
You can think of 0 being static and every node there is driven by the base Nodeset thus the diagnostics nodes could not be there (since they could conflict with e.g. a future type addition etc.).
Then there is 100s of things (skipping here) regarding aggregation and separating type namespaces from instance namespaces and should you use or not use an unique namespace per server for instaces.
Most Users Ever Online: 1919
Currently Online:
45 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1