Opc Ua Enumerations and EnumValueType|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
Opc Ua Enumerations and EnumValueType
Avatar
Tong Huynh
New Member
Members
Forum Posts: 1
Member Since:
08/15/2022
sp_UserOfflineSmall Offline
1
04/17/2023 - 23:12
sp_Permalink sp_Print

Hello Experts

I have a vendor of an Opc Ua Server that is currently showing the following example values when reading the Value attribute of an enumerated Node Variable from an Opc Ua Client.

Value : EnumValueType
    Value : 7
    DisplayName : RUNNING
    Description : 

My understanding of enumerations is that only an int32 should be returned as the value attribute and not the datatype EnumValueType.

This is causing issues as another vendor's opc ua client is not able to read the EnumValueType and returns a read error.

When questioned, the vendor using EnumValueType stated that 3rd party opc ua clients need to be able to read EnumValueType correctly.

Is it permissible to use EnumValueType as the datatype for enumerated node variables or other node variables within Opc Ua Standard?

Avatar
Randy Armstrong
Admin
Forum Posts: 1445
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/18/2023 - 21:39
sp_Permalink sp_Print

The server is broken.

https://reference.opcfoundatio.....docs/5.8.2

Enumeration DataTypes are DataTypes that represent discrete sets of named values. Enumerations are always encoded as Int32 on the wire as defined in OPC 10000-6

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