OPCUA Injection Node error

Long ago I made a Nodered-OPCUA-61131 Program to send emails.

Now I would like to make a change in nodered but I have a problem with the write injection of a OPCUA Variable.

I check a value of an email in json format in a Switch Node(1) in order to send or not the email.
This value tells me if the email should to be sended.

If it has not to be sended I should write an OPCUA variable to false.

I have tried to join the Switch Output with the OPCUA Injection Node (1-2) but I have an error (3) in the node (4).

When I try to inject the OPCUA variable manually there is not error and the varaible is written.

Do you have any clue?

Thank you

Hi,

I solved the problem with a function node, making the message inject type as write.

image

Cheers

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.