# Connecting Node-RED to an Omron PLC

**URL:** https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911
**Category:** General
**Created:** [19 June 2018 07:40 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911 "2018-06-19T07:40:28Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Dhiaa](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)
#### Post date: [19 June 2018 07:40 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/1 "2018-06-19T07:40:28Z")

</div>

Hi,

I am new to learn Node-RED and its features. I want to connect an Omron PLC to it to make some tests. Could you guys tell me what node to use? The communication should be established throught an Ethernet/IP port.

Thanks in advance  
Dhiaa

---

<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: [19 June 2018 08:15 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/2 "2018-06-19T08:15:27Z")

</div>

A list of all the easily installable nodes for Node-RED is available here:  
[http://flows.nodered.org](http://flows.nodered.org) (edited to correct url)

---

<div class="post-metadata">

### Author: ![Dhiaa](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)
#### Post date: [19 June 2018 08:18 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/3 "2018-06-19T08:18:19Z")

</div>

Thank you for replying, still the link is broken bro.

---

<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: [19 June 2018 08:19 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/4 "2018-06-19T08:19:58Z")

</div>

oops [https://flows.nodered.org/?num\_pages=1](https://flows.nodered.org/?num_pages=1)

---

<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: [19 June 2018 08:32 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/6 "2018-06-19T08:32:37Z")

</div>

Unfortunately there don’t appear to be any omron related nodes.

Does the omron support OpenPLC? If so then this may be useful. [https://flows.nodered.org/node/node-red-contrib-openplc](https://flows.nodered.org/node/node-red-contrib-openplc)

---

<div class="post-metadata">

### Author: ![Dhiaa](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)
#### Post date: [20 June 2018 11:03 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/7 "2018-06-20T11:03:14Z")

</div>

Actually I have no idea if Omron supports OpenPLC or not. How would man know if it does?

---

<div class="post-metadata">

### Author: ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)
#### Post date: [6 July 2018 14:48 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/8 "2018-07-06T14:48:21Z")

</div>

What is your PLC model?

---

<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: [6 July 2018 15:06 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/9 "2018-07-06T15:06:12Z")

</div>

> [@Dhiaa](#):
>
> Actually I have no idea if Omron supports OpenPLC or not. How would man know if it does?

Google might possibly help.

---

<div class="post-metadata">

### Author: ![Cristiano](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@Cristiano](https://discourse.nodered.org/u/Cristiano)
#### Post date: [11 July 2018 00:55 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/10 "2018-07-11T00:55:30Z")

</div>

Hello

I've never used the node red, with plc omron .... but ethernet / ip is owned by Rockwell / Allen Bradley. What I can suggest is try to use the pccc knot, developed for rockwell plc.

if you are using the new ranges of the Omron NX1 / 5/7, NJ 1/3/5 ... I think these plc have the integrated OPC UA and it is of tassel, you do not have to buy the license.  
but I'm not sure you have to confirm. With OPC UA you can communicate directly ..

---

<div class="post-metadata">

### Author: ![Dhiaa](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)
#### Post date: [11 July 2018 06:33 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/11 "2018-07-11T06:33:45Z")

</div>

@Cristiano  
Thank you for replying. You're right. My PLC is Omron NJ501-1400 and it does support OPC UA.

---

<div class="post-metadata">

### Author: ![Cristiano](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@Cristiano](https://discourse.nodered.org/u/Cristiano)
#### Post date: [11 July 2018 22:52 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/12 "2018-07-11T22:52:35Z")

</div>

Hello

Problem solved ?

---

<div class="post-metadata">

### Author: ![Dhiaa](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)
#### Post date: [12 July 2018 08:12 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/13 "2018-07-12T08:12:34Z")

</div>

Hi @Cristiano

Since I am new to Node Red, I am trying to make the communication works. I am sure now that OPC UA node is the right now, but I am trying to figure out how to configure it right.

---

<div class="post-metadata">

### Author: ![sasikumar646](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sasikumar646/32/27657_2.png) [@sasikumar646](https://discourse.nodered.org/u/sasikumar646)
#### Post date: [23 July 2018 10:27 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/14 "2018-07-23T10:27:51Z")

</div>

i am trying to communicate with rockwell plc compact logix model using pccc node. The node status is online but am not getting any values in debug. can u help on how to give addressing to read variables

---

<div class="post-metadata">

### Author: ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)
#### Post date: [15 August 2018 12:41 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/15 "2018-08-15T12:41:29Z")

</div>

Try this one: [https://www.npmjs.com/package/node-red-contrib-cip-ethernet-ip](https://www.npmjs.com/package/node-red-contrib-cip-ethernet-ip) it's much easier, just point the IP address of your PLC and give the name of the tag. It simply works

---

<div class="post-metadata">

### Author: ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)
#### Post date: [31 August 2018 20:39 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/16 "2018-08-31T20:39:09Z")

</div>

machadotiago,  
I installed both the PCCC and cip-ethernet-ip in Node-Red. I have a Micrologix 1400 for a test and have had little luck with PCCC, Would it work with an SLC5/05? It reads N7:0 as a 0, and even if it's not. then it errors out eventually. I've had no luck with the cip-ethernet-ip. There is only a little bit of information and nothing on error codes from the nodes.  
Can you advise if cip-ethernet-ip is at all compatible with Micrologix or SLC/05 processors, PCCC is supposed to be for that family processors. I would also like to know if there is a configuration problem and how to resolve that. I have not tried the cip-ethernet-ip with control logix or compactlogix controllers or with RSLinx.

Please help if you can.

---

<div class="post-metadata">

### Author: ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)
#### Post date: [2 September 2018 22:52 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/17 "2018-09-02T22:52:39Z")

</div>

The easiest way I think, is to use the EtherNet/IP node.  
Whats happens if you configure the node with the PLC IP address and let the variables list empty? If your network is correctly configured the node should show the PLC as "connected" in the status text.

---

<div class="post-metadata">

### Author: ![EMPadvocate](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/empadvocate/32/22338_2.png) [@EMPadvocate](https://discourse.nodered.org/u/EMPadvocate)
#### Post date: [2 September 2018 23:29 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/18 "2018-09-02T23:29:43Z")

</div>

Isn't this omron PLC modbus TCP? There are plenty of no dread modules that incorporate modbus TCP just find a non register using your programming interface and just validate the number you are getting from the programming interface for the register, coil or whatever and then you're good to go.

---

<div class="post-metadata">

### Author: ![PeterVM](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@PeterVM](https://discourse.nodered.org/u/PeterVM)
#### Post date: [29 December 2018 20:24 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/19 "2018-12-29T20:24:53Z")

</div>

Hey, followed this conversation. I do have same issue with Rockwell Micro850. Can not connect after trying (yellow "connecting" status). I do get the "time-out message. Ip-adres is ok, ip port 4 is required as indicated within standard rockwell documentation (micro850 uses standard Ip port 4). Slot is set to 0. how/where can i configure the TCP/IP port setting?  
thx in advance

---

<div class="post-metadata">

### Author: ![RoganFPS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/roganfps/32/3208_2.png) [@RoganFPS](https://discourse.nodered.org/u/RoganFPS)
#### Post date: [30 December 2018 13:12 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/20 "2018-12-30T13:12:05Z")

</div>

You can communicate with any PLC providing you send a packet it understands but this means writing your own nodes. I suggest using a OPC server with an appropriate driver and then use the IIoT library to read the OPC server addresses.

---

<div class="post-metadata">

### Author: ![jasdeep2512](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@jasdeep2512](https://discourse.nodered.org/u/jasdeep2512)
#### Post date: [24 November 2020 02:38 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/21 "2020-11-24T02:38:15Z")

</div>

Hi machadotiago, do you have any video tutorial linking an OMRON PLC to node red using these nodes? I'm using the NX1P2 PLC and also the MQTT in node. I'm not sure how to establish a proper connection with the PLC. Each time I connect the PLC to my laptop via ethernet, it shows connecting under the node and turns to offline.

[Next page](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911.md?page=2)
