Premium Only Content

Node-RED Modbus RTU / TCP Communication
Node-RED can easily connect to industrial controls using Modbus communication. Modbus is a master-slave type of communication. Masters will always send the commands to read or write to the slaves on the network. The slaves will respond if the communication is directed at them.
We will be installing the node-red-contrib-modbus palette. This will allow us to communicate Modbus serial (RS485) RTU to a Solo process temperature controller. We will then use Modbus Ethernet TCP to communicate to a Click PLC.
Note: When using Modbus TCP (Ethernet) the master is referred to as the Client and the slave is a Server.
Node-RED will be used to create a single Modbus flow. We will communicate to our Solo process temperature controller using Modbus RTU on a serial RS485 network. The present and set values of the controller will be read. These values will then be written to our Click PLC using an Ethernet Modbus TCP network. A set value from an analog input on the Click will be used to then write to the Solo. This will happen every 200 milliseconds or 5 times per second.
Let’s get started using Node-RED for Modbus communication.
Connect to our industrial equipment using the Modbus protocol. Additional information can be found on our website at the following URL:
https://accautomation.ca/node-red-modbus-rtu-tcp-communication/
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.
- Node-RED is a free, open-source logic engine.
- Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols.
- Save and read from databases
- Easily make the Internet of Things (IoT, IIoT) industrial solutions.
Node-RED provides the ability for you to quickly create custom control solutions.
-
1:13:19
iCkEdMeL
10 hours ago $24.05 earnedChaos Explodes in Chicago & Portland | Feds Clash with Protesters!
56.4K32 -
21:54
Exploring With Nug
1 day ago $10.87 earnedScuba Diving Missing Person Search Leads to Discovery of Classic Cars!
69.5K20 -
8:06:32
Phyxicx
14 hours agoStar Wars: Movie Battles II Community Event hosted by ReaperAF95 - 10/4/2025
33.3K -
1:19:51
World2Briggs
13 hours ago $2.77 earnedThe US This Week
37.3K8 -
2:31:13
Joker Effect
10 hours ago"MAKE STREAMING GREAT AGAIN" - Brands Step Up Finally. Birth of Rumble Community. Taking Leadership
23.1K4 -
5:02:17
Illyes Jr Gaming
14 hours ago"Machine Gun" Takes On BLACK OPS 7 Beta DAY 3!!!
15K1 -
2:57:29
Damysus Gaming
10 hours agoBorderlands 4 - AMON Vs Timekeeper!! Lets Grind This OUT!!
12.8K1 -
3:10:06
Nikko Ortiz
16 hours agoHAMAS Gaza Peace Deal And MORE.... Brutally Honest EP #17 | Rumble LIVE
117K83 -
25:10
MYLUNCHBREAK CHANNEL PAGE
17 hours agoIstanbul Should NOT Exist - Pt 4
47.1K19 -
7:11:36
tminnzy
16 hours agoDROPS ON - BO7 BETA ALL DAY! #BlackOps7
62.8K8