Closed ppontre closed 2 years ago
Check nodeId: ns=10;s=::AsGlobalPV:IPRRZP.batch with the UaExpert.
I remember that sometimes nodeId contains space and it can make it difficult to see it sometimes. Or namespace index has changed.
Thanks Mika, We've just checked the nodeid with UAExpert and it works well: we can read and write it. Is there some way to get a deep log to see what happens in Nodered ? Thx Paolo
There is extra logging that you can activate with option -v like this: node-red -v flow.json
Another case can be that namespace index is with 2 digits. Most probably my code does not calculate it... I will check later today.
This is most probably the case for this issue.
ok, i'll check the extra log option in the afternoon.....
Not needed, I found and fixed it already.
I will publish new version after some testing.
Great Mika ! I offer my scenario as a guinea pig, 🙂 if you tell me what to do.....
New fixed to v0.2.246 published, please test
THX, I'll do it ASAP..... Regards Paolo
Thanks Mika, now it works OK ! GREAT work ! Regards Paolo
Hi Mika, I'm using the latest version of the node, and I found this strange behaviour. I can read regularly variables defines by strings, but can't write them. For example, a var defined like this: ns=10;s=::AsGlobalPV:IPRRZP.batch When I try to write it, I receive always this error: BadNodeIdUnknown (0x80340000) I checked that they're RW, and with UAExpert I can write them flawlessly. The OPC-UA server is a Maplan Press controller When data are coming from other OPC-UA servers (Siemens PLC S7-1200 or S7-1500) with variables defined by numbers, all works well.
Any Idea ? Thanks in advance Paolo