I have a connected Omron PLC with Nodered, which I use as a control panel. I have Ethernet/IP communication and it works fine.
But I'm not sure how to use it properly.
Example:
I have a relay, and I want to change its state using the Dashboard element switch.
-
The switch element is connected to the output to the PLC
This method does not reflect the changes made in the PLC.
-
The output from the communication with the PLC is connected to the Switch element and the communication to the PLC is connected after the element.
This method reacts to changes in the PLC, but sometimes overwrites the switch element command before it is written to the PLC.
Please advise me how to do this correctly. Thanks!