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:20:06
Kim Iversen
4 hours agoRIP Charlie Kirk: When Words Fail, They Reach for Guns
82.5K145 -
2:47:04
DDayCobra
5 hours ago $12.26 earnedCharlie Kirk SHOT
85.3K34 -
1:14:30
Redacted News
4 hours agoBREAKING! CHARLIE KIRK SHOT BY ASSASSIN IN UTAH, TRUMP CALLS FOR NATIONAL PRAYERS
244K410 -
3:50:27
Right Side Broadcasting Network
10 hours agoLIVE REPLAY: Latest News from the Trump White House - 9/10/25
324K96 -
1:12:05
vivafrei
8 hours agoLegacy Media is the Enemy of the People! Israel Stikes Qatar, U.S., Gets Mad! AOC So Stupid & MORE!
169K76 -
52:13
The Quartering
6 hours agoRace War Nears, Russia Makes Huge Mistake, Fauci Bombshell & More
181K88 -
1:44:11
Darkhorse Podcast
7 hours agoWe are waking up, but at a terrible price: The 294th Evolutionary Lens with Bret Weinstein and Heather Heying
157K18 -
11:49
Dr. Nick Zyrowski
9 days ago12 Unusual NAC ( N-Acetyl Cysteine) Questions Nobody Ever Answers
160K13 -
1:03:45
Russell Brand
8 hours agoWW3 IMMINENT! Israel & Russia Strikes Leave World “ON THE BRINK” - SF631
260K80 -
56:18
Tucker Carlson
7 hours agoSam Altman on God, Elon Musk and the Mysterious Death of His Former Employee
152K144