# 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:** 1
**Page:** 2

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [24 November 2020 08:39 UTC](https://discourse.nodered.org/t/connecting-node-red-to-an-omron-plc/911/22 "2020-11-24T08:39:13Z")

</div>

> [@jasdeep2512](#):
>
> 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

It sounds like you either dont have a broker installed or you have an issue with setup.

Do you have the MQTT function blocks installed on the PLC?

Do you have an MQTT Broker installed on the network or your laptop for the PLC and node-red to connect to?

If you dont know the answer to that, then I suggest you spend 20 mins [learning about MQTT](https://www.google.com/search?q=what+is+mqtt)

* * *

Alternatively, you can use [node-red-contrib-omron-fins](https://flows.nodered.org/node/node-red-contrib-omron-fins). There is instructions in the read me & the nodes built in help.

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