Good morning to all!
Im developing a program to a machine to read a sensor of each part made of to count the number of parts by reference.
But at this time i have the program on the plc working, in UA Expert i can see the db variable, but on node Red in can´t see the value on the db, the debug gives me the "24/11/2025, 1:52:54node: debug 1 msg.payload : undefined .undefined
On the OPC UA item node i have ->Item ns=4;i=2
Type int32.
Even on the dashboard don´t apper the number on the db.
Can anyone help me? Thanks in advance
My advice is to use the s7-comm node.
R.
Alright, so this suggests to me that you're simply not getting a value at all in this flow and that there's some sort of configuration issue at play. I'd check that your input isn't "Item ns=4;i=2", but is instad "ns=4;i=2". Also check your namespace is correct. Then I'd check the status text for the OPC UA node - specifically, if there's any reported disconnection.
That's all just surface level though - if you can, an you share the complete message object from the debug node so I can see what you're actually creating/passing?