13:24, EEST
June 5, 2024
Hi,
Does OPC UA Browser have support for “custom enumerations”? I am developing an OPC UA server where enumerations are needed and can’t get them to work in OPC UA Browser. I have tried with UaExpert and there they work fine. The nodes also pass OPC UA Compliance Test Tool so I am quite confident there is nothing wrong with the implementation.
I tried enumerations with EnumValueType (EnumValue) and LocalizedText (EnumString) and could not get either one to work. Read returns an integer and write does not work at all, this is probably the worst issue as it makes the nodes not usable as I cannot select integer values either to write.
I was able to get “AxisScaleEnumeration” standard Enumeration to work (Write only but Read also just returns an integer), which is defined in the OPC UA standard: https://reference.opcfoundation.org/Core/Part8/v105/docs/5.6.7
I posted some screenshots here https://postimg.cc/gallery/d088gy9 regarding the issue.
Best regards,
Miikka
14:08, EEST
Moderators
February 11, 2020
Hello,
Reading enumeration values returns just the numeric identifier of the enumeration value in the current version of Browser, which is 5.0.0-173. This will be improved in a future release to include both the numeric and the text value.
However, writing should work the same way for both standard and custom enumerations, so the Write Value dialog should have a droplist for selecting a value for both AxisScaleEnumeration and UserRating.
Would it be possible for you to send the NodeSet containing the UserRating Enumeration DataType to uabrowser-support@prosysopc.com so that we could check if there is anything odd about it? If sending the NodeSet is not possible, could you show us the value of DataTypeDefinition Attribute for UserRating? If this Attribute doesn’t have a value, can you show use how the UserRating enumeration has been defined in DataTypeDictionary? For Browser to work correctly with custom enumeration, it must be defined in either the DataTypeDefinition Attribute of UserRating Node or in the DataTypeDictionary for the Namespace containing UserRating.
14:32, EEST
June 5, 2024
Most Users Ever Online: 1919
Currently Online:
22 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