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.
-
33:53
Stephen Gardner
9 hours ago🔥Antifa PANICS as Trump UNLEASHES Secret Weapon!
39.2K36 -
2:48:28
Badlands Media
14 hours agoDEFCON ZERQ Ep. 011: RED OCTOBER BEGINS - ARK OF COVENANT - PRECIPICE
148K103 -
2:08:09
The Charlie Kirk Show
8 hours agoTPUSA Presents This is The Turning Point Tour LIVE with Alex Clark and more!!
96.9K100 -
1:33:53
Inverted World Live
8 hours agoMan Sees Creature in Loch Ness | Ep. 116
43K7 -
3:04:06
PandaSub2000
17 hours agoExorcist: Legion VR | PSVR 2000 (Original Live Version)
20K1 -
2:58:54
SmashJT
5 hours agoCollective Shout Keeps “HARRASSING” Me | Smashcast
26.5K1 -
3:05:38
StevieTLIVE
5 hours agoWarzone Wins ALL Night w/ GloryJean
28.6K1 -
3:22:50
Laura Loomer
9 hours agoEP146: Loomer EXPOSES Big Tech's Complicity With Anti-ICE Violence
49K18 -
31:39
Standpoint with Gabe Groisman
1 day ago“Most People Have NO IDEA What Isolationism could do to America” Rep Rich McCormick Joins Standpoint
26.1K4 -
2:34:31
MissesMaam
8 hours ago75% DONE WITH PERFECTION!!! | Stardew Co-Op 💚✨
23.7K3