Need Help on connecting OMRON PLC CP1E with Node-Red

Hi Mate.

Install this set of modules. https://flows.nodered.org/node/node-red-contrib-modbus

It will work more seamlessly. Soon as you install the nodes and open them up you will soon figure it out.
Basic settings like.
Unit ID
Function codes
Address
Quantity
Poll Rate

Looking at your picture you have got a connection to your device.

Download that pack, it will work

Now i managed to get data from PLC.But right now i want to fetch data in one complete set.Can someone teach me?

Try experimenting with different settings for your serial node.

already done it..but the result is still the same

I think @ukmoose meant to experiment with the split character/buffer size/timeout settings.

Sorry for my late reply..im right now outside from my country attending training.I will experiment with the split character/buffer/timeout settings after i finish my training on 2nd of December.

Please, Can you inform me how did you manage to fetch data ? and wich configuration do you use in cx programmer and node-red serial port ?

1 Like

Please, Can you inform me how did you manage to fetch data ? and wich configuration do you use in cx programmer and node-red serial port ?


You may use C-mode command node for this. The snip above is the PLC type and what type of task node red wants to do from the PLC. In this case, I have read the PLC data memory from Cx programmer, and able to display it to node red.

For more detailed discussion, you can look up into this :

It is a solved discussion on interfacing Omron CP2E Plc to Node Red using RS485