11:28, EET
December 20, 2021
Good morning,
I am using the prosys-opc-ua-sdk-for-java-4.9.0-43-client-server-binary library.
I need to create an OPC UA server and add the OCP UA nodes defined in the following EUROMAP standards:
– OPC 40082-1 https://www.euromap.org/euromap82-1 (temperature control devices)
– OPC 40086-1 https://www.euromap.org/euromap86 (material supply systems)
Below are the namespaces defined by the EUROMAP standards:
namespaces used in OPC 40082-1:
– NamespaceURI: http://opcfoundation.org/UA/ – Namespace Index: 0
– NamespaceURI: http://opcfoundation.org/UA/DI/ – Namespace Index: 2
– NamespaceURI: http://opcfoundation.org/UA/Pl…..eralTypes/ – Namespace Index: 3
namespaces used in OPC 40086-1:
– NamespaceURI: http://opcfoundation.org/UA/ – Namespace Index: 0
– NamespaceURI: http://opcfoundation.org/UA/DI/ – Namespace Index: 2
– NamespaceURI: http://opcfoundation.org/UA/Machinery/ – Namespace Index: 3
I noticed that the namespace index 3 in the OPC 40082-1 standard was assigned to the namespace http://opcfoundation.org/UA/Pl…..eralTypes/, while in the OPC 40086-1 standard the namespace index 3 was assigned to the namespace http://opcfoundation.org/UA/Machinery/.
Is it possible change name space index or should I create an OPC UA server for each EUROMAP standard?
Thanks in advance for the support,
Francesco
12:04, EET
April 3, 2012
There is no conflict.
The uri index mapping table is context-specific. The server has it’s own in the NamespaceArray and each model has _their own mapping table_, that is only specific to the NodeSet XML in question. Basically everything should use the uris, the indexes are just an optimization that you do not need to write the uri everytime (or transfer a long string over the network connection). When you load the models, SDK will transform internally model index -> model uri -> (compare to) server uri -> server index. If you wish to have specific indexes, set the via the UaServer.getNamespaceTable() before loading the model, otherwise SDK will just use the next index for whenever in encounters new uris.
Most Users Ever Online: 1919
Currently Online:
18 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: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1