# Need Help on connecting OMRON PLC CP1E with Node-Red

**URL:** https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041
**Category:** General
**Created:** [17 October 2018 01:43 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041 "2018-10-17T01:43:24Z")
**Posts on this page:** 10
**Page:** 2

<div class="post-metadata">

### Author: ![F-on](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@F-on](https://discourse.nodered.org/u/F-on)
#### Post date: [18 October 2018 01:01 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/21 "2018-10-18T01:01:32Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/cadc41c3b5b586db2cb97e605c52bb8c2309d277.png)

---

<div class="post-metadata">

### Author: ![mako](https://avatars.discourse-cdn.com/v4/letter/m/ecc23a/32.png) [@mako](https://discourse.nodered.org/u/mako)
#### Post date: [18 October 2018 06:23 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/22 "2018-10-18T06:23:10Z")

</div>

Hi Mate.

Install this set of modules. [https://flows.nodered.org/node/node-red-contrib-modbus](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

---

<div class="post-metadata">

### Author: ![F-on](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@F-on](https://discourse.nodered.org/u/F-on)
#### Post date: [18 October 2018 07:02 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/23 "2018-10-18T07:02:36Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0b2a2a9a2a3a41d8f02cd203705d276c3350c046.png)

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

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [18 October 2018 07:23 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/24 "2018-10-18T07:23:10Z")

</div>

Try experimenting with different settings for your serial node.

---

<div class="post-metadata">

### Author: ![F-on](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@F-on](https://discourse.nodered.org/u/F-on)
#### Post date: [18 October 2018 08:18 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/25 "2018-10-18T08:18:16Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [18 October 2018 08:33 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/26 "2018-10-18T08:33:51Z")

</div>

> [@F-on](#):
>
> already done it..but the result is still the same

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

---

<div class="post-metadata">

### Author: ![F-on](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@F-on](https://discourse.nodered.org/u/F-on)
#### Post date: [17 November 2018 06:46 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/27 "2018-11-17T06:46:07Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![hathemi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hathemi/32/3792_2.png) [@hathemi](https://discourse.nodered.org/u/hathemi)
#### Post date: [11 April 2019 16:17 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/29 "2019-04-11T16:17:03Z")

</div>

> [@F-on](#):
>
> manage to fetch data from the plc using Node Red

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 ?

---

<div class="post-metadata">

### Author: ![Vanj](https://avatars.discourse-cdn.com/v4/letter/v/57b2e6/32.png) [@Vanj](https://discourse.nodered.org/u/Vanj)
#### Post date: [9 September 2021 08:31 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/30 "2021-09-09T08:31:55Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![jagades](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jagades/32/75744_2.png) [@jagades](https://discourse.nodered.org/u/jagades)
#### Post date: [17 February 2023 00:43 UTC](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041/31 "2023-02-17T00:43:37Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/b/1bcb1464f659e5348ecc09a5f4ba8e93c24a6fdb.png)  
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 :

> [@Read Omron PLC using node-red-omronplc (serial ; NOT FINS)](https://discourse.nodered.org/t/read-omron-plc-using-node-red-omronplc-serial-not-fins/74868/10):
>
> I have replaced with my COM 11, but the data being read is not correct. Here's my C-mode command setting: Please let me know where I'm making a mistake This is the data memory from the PLC. By right, I should be expecting the data "1122" from address number 25

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

[Previous page](https://discourse.nodered.org/t/need-help-on-connecting-omron-plc-cp1e-with-node-red/4041.md?page=1)
