mikakaraila / node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.
Other
216 stars 197 forks source link

Subscribing yielding different result than reading for ExtensionObject #757

Closed JanB1 closed 3 days ago

JanB1 commented 3 days ago

Hello, I am currently trying to read a timestamp from my Siemens S7-1500 PLC and I get a different result depending on if I just read the node or subscribe to it.

When I read the node, I get the correct representation of the data: grafik

But when I subscribe to it, all I get is a String. grafik

I used the same item definition for both: grafik

I don't know if this is a bug on the end of the Node-Red code or a weird implementation on the S7 OPC Server or if this is expected behaviour.

JanB1 commented 3 days ago

I'm sorry, this was apparently a display error. -.-'