Custom DataType Identifiers|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
Custom DataType Identifiers
Avatar
Michael Daspersgruber
New Member
Members
Forum Posts: 2
Member Since:
01/23/2024
sp_UserOfflineSmall Offline
1
01/23/2024 - 04:45
sp_Permalink sp_Print

Hi,

Is there a definition/specification for DataType Identifiers outside the standard data types (namespace index = 0)? We are working with a B&R PLC where we create custom enums, such as 'eRoles' (User, Supervisor, Admin). In this case, the Identifier for this data type is 170 (namespace index = 6). Complex data types, for example, have the identifier 100160. Are these value ranges specified anywhere? The goal is to infer the data type based on the Identifier on the client side.

Thanks in advance.

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/26/2024 - 01:04
sp_Permalink sp_Print

In OPC UA NodeIds are always scoped by the NamespaceUri and the meaning of Ids with that scope are defined by the authority that defined the NamespaceUris.

NamespaceUri authorities may be companion specifications, vendors or individual servers.

The index 6 references to an index in the NamespaceArray that contains the NamespaceUri.

Avatar
Michael Daspersgruber
New Member
Members
Forum Posts: 2
Member Since:
01/23/2024
sp_UserOfflineSmall Offline
3
01/28/2024 - 22:58
sp_Permalink sp_Print

Thanks for your answer!

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