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.
-
2:13:30
Side Scrollers Podcast
6 hours agoUK Introduces MANDATORY Digital ID + Dallas ICE Shooting BLAMED on Gaming + More | Side Scrollers
85.8K7 -
1:54:17
The Charlie Kirk Show
4 hours agoCharlie's Last Trip + What's Next + AMA | Erika Kirk, Mikey McCoy | 9.26.2025
272K234 -
1:02:53
The Quartering
3 hours agoMAGA Kid Kidnapped, Hasan Piker Meltdown, Vivek Fights For Alex Jones & More
129K44 -
32:49
Simply Bitcoin
1 day ago $1.39 earnedBitcoin Crucible w/ Alex Stanczyk | EP 1
36.4K -
1:57:37
Tucker Carlson
3 hours agoCharlie Sheen’s Craziest Hollywood Stories and Why He Refuses to Believe the Official Story of 9/11
60.2K58 -
1:33:12
Sean Unpaved
4 hours agoRyder Cup Tee-Off, CFB's Week 5 Madness, & the NFL's Win-or-Wilt Week 4
31.9K1 -
2:07:01
The Culture War with Tim Pool
5 hours agoWho Really Killed Charlie Kirk? Truth Behind Kirk Assassination | The Culture War with Tim Pool
244K232 -
1:25:28
Lara Logan
15 hours agoTHE REMNANT RISES: Matt Shea & The New Generation of Pastors on Fire for God & Country | Episode 37
42.8K4 -
4:30:51
Nikko Ortiz
7 hours agoADHD, Crashouts, and Karens - Rumble LIVE
88.2K11 -
49:21
Steven Crowder
7 hours agoWhy She's Wrong and other Life Advice from Steven Crowder
238K178