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:50:56
The Confessionals
20 hours agoHe Killed a Monster (Then They Told Him to Stay Silent)
5.42K5 -
41:42
Brad Owen Poker
14 hours ago $0.31 earnedMy BIGGEST WIN EVER!! $50,000+ In DREAM Session!! Must See! BEST I’ve Ever Run! Poker Vlog Ep 360
4.02K -
17:53
The Illusion of Consensus
18 hours ago $0.39 earnedWhat Women REALLY Want in Public (It’s Not What You Think) | Geoffrey Miller
4.57K1 -
1:32:16
Uncommon Sense In Current Times
17 hours ago $0.32 earnedPolygyny Debate: The Biblical Case For and Against Plural Marriage | Uncommon Sense
8.27K1 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 12/17/2025
99 watching -
23:42
Athlete & Artist Show
4 days ago $0.41 earnedWorld Junior Invites & Snubs, NHL Threatens To Pull Out Of Olympics
6.19K -
57:22
Coin Stories with Natalie Brunell
16 hours agoWill 1 Bitcoin Be Generational Wealth? Whales Selling, Legacy Planning & Price Drivers
85.1K5 -
3:04:49
Price of Reason
15 hours agoTrump wants Tim Walz to RESIGN! Welcome to Derry Finale! Song Sung Blue EARLY REVIEW! Lanterns WOKE?
280K22 -
11:47
Liberty Hangout
1 day agoAnti-Trump Beta FARTS On Me Instead of Debating
69.2K88 -
1:37:20
FreshandFit
11 hours agoShe’s Not Your Girl It’s Just Your Turn
76.7K12