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:07:12
The Rubin Report
3 hours agoHost Gets Visibly Angry as Scott Bessent Rips Him to Shreds in Front of NY Times Crowd
46.9K14 -
4:42
Buddy Brown
3 hours agoThe Most GHETTO Chick-fil-A Customer EVER! | Buddy Brown
5.07K7 -
1:11:14
iCkEdMeL
2 hours ago $1.21 earned🔴 BREAKING: Brian Cole Identified as DC Pipe Bomb Suspect — FBI Arrest
22.1K11 -
LIVE
LFA TV
15 hours agoLIVE & BREAKING NEWS! | THURSDAY 12/04/25
2,813 watching -
LIVE
TheAlecLaceShow
1 hour agoAlec Goes To Capitol Hill for RSC New Media Event | Full Coverage | The Alec Lace Show
30 watching -
59:25
VINCE
4 hours agoFINALLY: Jan 6th Pipe Bomber Arrested? | Episode 181 - 12/04/25 VINCE
237K190 -
1:11:54
Chad Prather
3 hours agoCandace Owens ACCEPTS TPUSA’s Debate Invitation + Dem Rep Instructs Military To REMOVE Trump?!
56.8K14 -
1:07:17
Grant Stinchfield
2 hours agoBiden’s Inner Circle Cracks! It's the Presidency That Wasn’t!
10.3K3 -
1:32:47
Graham Allen
5 hours agoCandace Owens vs TPUSA! It’s Time To End This Before It Destroys Everything Charlie Fought For!
150K562 -
2:02:57
Badlands Media
12 hours agoBadlands Daily: 12/4/25 – Biden’s Pipe Bomb Narrative, Pentagon Chaos, and the Race to Control the Story
56.7K12