# Modbus in Node-red

**URL:** <https://discourse.nodered.org/t/modbus-in-node-red/6419>\
**Category:** General\
**Created:** [5 January 2019 11:04 UTC](https://discourse.nodered.org/t/modbus-in-node-red/6419 "2019-01-05T11:04:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![noobPLC](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@noobPLC](https://discourse.nodered.org/u/noobPLC)\
**Post date:** [5 January 2019 11:04 UTC](https://discourse.nodered.org/t/modbus-in-node-red/6419/1 "2019-01-05T11:04:42Z")

</div>

Can we install node-red in PC1( IP : 10.10.10.X) and connect to an openPLC which is installed on raspberry PI with IP 10.10.10.Y and send messages using MODBUS TCP/IP protocol ?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [5 January 2019 11:47 UTC](https://discourse.nodered.org/t/modbus-in-node-red/6419/2 "2019-01-05T11:47:37Z")

</div>

Have a look on [flows.nodered.org](http://flows.nodered.org) for what modbus nodes are available.

---

<div class="post-metadata">

**Author:** ![noobPLC](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@noobPLC](https://discourse.nodered.org/u/noobPLC)\
**Post date:** [7 January 2019 05:34 UTC](https://discourse.nodered.org/t/modbus-in-node-red/6419/3 "2019-01-07T05:34:01Z")

</div>

I couldn't make out much from the library page of openPLC. can you help me how to configure openPLC node in node-red so that I can have a a simple switch and make openPLC turn a LED on/off.  
I am trying to build a Simple HMI to turn led on/off.
