January-26th-2021, 05:41 PM
So all LEDs and status of the Node-RED node is perfect. Both devices are definitively exchanging data across their buffers.
Well you say you are not an expert with the PLC.
How do you write the values? Did you write a small PLC program? Clicking the netPI device you see the offset address where it is occupying data in the PLC output buffer.
The easiest start is indeed always to set data in the PLC and wait for any injection in Node-RED using the fieldbus output node. Then you can directly wire the Node-RED fieldbus output node to the Node-RED fieldbus input node to mirror the data back. This guarantees that there are no formatting issues with JSON output object in contrast to when you build an inject message yourself.
So first we have to see you are getting some outputs injected
Well you say you are not an expert with the PLC.
How do you write the values? Did you write a small PLC program? Clicking the netPI device you see the offset address where it is occupying data in the PLC output buffer.
The easiest start is indeed always to set data in the PLC and wait for any injection in Node-RED using the fieldbus output node. Then you can directly wire the Node-RED fieldbus output node to the Node-RED fieldbus input node to mirror the data back. This guarantees that there are no formatting issues with JSON output object in contrast to when you build an inject message yourself.
So first we have to see you are getting some outputs injected
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)