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.
-
16:22
The Gun Collective
8 hours agoWOW! 17 New Guns JUST GOT RELEASED!
52.2K10 -
1:13:57
Glenn Greenwald
9 hours agoYoung Men and Online Radicalization: Dissecting Internet Subcultures with Lee Fang, Katherine Dee, and Evan Barker | SYSTEM UPDATE #516
184K76 -
1:14:57
Sarah Westall
6 hours agoCEO of Crowds on Demand: The Fake World of Social Media, Protests & Movements w/ Adam Swart
65K10 -
4:03:25
Geeks + Gamers
9 hours agoTuesday Night's Main Event
81.2K2 -
40:36
RiftTV
8 hours agoHow We Got 400 Leftists FIRED for MOCKING Charlie Kirk | The Rift | Guest: Olivia Krolczyk
79.8K64 -
1:28:58
Badlands Media
22 hours agoBadlands Story Hour Ep 134: Godzilla Minus One
48.4K8 -
1:33:43
Patriots With Grit
17 hours agoWrongful Death Without Consequences: Inside the Schara Trial | Scott Schara
25.9K1 -
13:09:25
LFA TV
20 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
246K49 -
6:40:18
StevieTLIVE
7 hours agoI'M GONNA BE A DAD!
29.8K3 -
1:00:14
BonginoReport
10 hours agoSpeech Police Bondi Under Fire - Nightly Scroll w/ Hayley Caronia (Ep.135)
181K127