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.
-
31:55
ZeeeMedia
19 hours agoHow Gold & Silver Fight Against Digital ID ft. Bill Armour | Daily Pulse Ep 148
7.26K9 -
13:29
Clintonjaws
15 hours ago $15.01 earnedCNN Host Stops Show & Plays Surprise Clip Forcing Democrat To Correct Lie
31.5K25 -
14:55
World2Briggs
19 hours ago $1.91 earnedThe 10 U.S. Cities Americans Can No Longer Afford — 2025 Edition
9.91K -
8:19
Millionaire Mentor
17 hours agoATC Whistleblower EXPOSES Obama’s Dirty FAA Secret
13.4K10 -
2:05:30
BEK TV
1 day agoTrent Loos in the Morning - 11/21/2025
12.1K2 -
LIVE
The Bubba Army
23 hours agoCHICAGO SUBWAY FIRE ATTACK - Bubba the Love Sponge® Show | 11/21/25
1,301 watching -
57:31
Side Scrollers Podcast
18 hours agoBlabs VS DuckTales
12.9K10 -
8:52
MetatronGaming
15 hours agoOverwatch 2 New Hero Vendetta La Lupa
116K11 -
1:37:16
omarelattar
1 day agoEx-Mafia Boss: I Made $8 Million Every Week Until The FBI Destroyed My Life! What I Learned...
28.7K2 -
16:18
Actual Justice Warrior
16 hours agoJasmine Crockett DESTROYED For Epstein Lies
15.3K21