Skip to content

[HELP] OPC UA Gateway: Writing Float (Float32) values via attributes_updates causes BadTypeMismatch #2097

@jbergmannAutomation

Description

@jbergmannAutomation

Hello,

Reading OPC UA values works correctly via attributes, but writing values using attributes_updates fails for nodes with datatype Float (Float32).

Error:

BadTypeMismatch
The value supplied for the attribute is not of the same type as the attribute's value.

Example node:

NodeId: ns=4;i=1098
Type: identifier

AccessLevel: CurrentRead | CurrentWrite

Writing the same value with UA Expert works, and Boolean writes via attributes_updates also work.

What is the correct way to write Float32 values using attributes_updates?

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions