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.
-
49:14
CharLee Simons presents DO NOT TALK
1 day agoSCREW YOU, ZUCKERBERG (Sam Anthony is back!)
3.25K -
1:04:26
SinCityCrypto
17 hours ago $0.36 earnedAltcoins About to EXPLODE (ETF Approvals)
4.3K1 -
LIVE
Times Now World
2 days agoLIVE | Putin in Military Gear Leads Massive Zapad 2025 Drills With 100,000 Troops | TIMES NOW WORLD
940 watching -
15:03
Nate The Lawyer
1 day ago $1.77 earnedFirst Former Illegal Alien Elected To City Council Deported To Prison By Feds. @DLAW_ ​
29K17 -
28:26
DeVory Darkins
14 hours ago $14.85 earnedDemocrats BEG FOR MERCY after Kimmel suspension as Trump drops bomb on terrorist left
162K92 -
8:07
The Officer Tatum
18 hours agoScott Jennings UNLEASHES On CNN Panel FEELING SORRY FOR SHOOTER
135K134 -
2:05:40
Inverted World Live
11 hours agoThe Simulation is Burning & Missile Hits UFO in China | Ep. 110
164K23 -
2:00:48
The Charlie Kirk Show
9 hours agoTHOUGHTCRIME Ep. 97 — The Thoughtcrime WILL Continue
144K109 -
35:08
Colion Noir
15 hours agoA Bear, an AR-15, and a Home Invasion
48.2K7 -
3:05:55
TimcastIRL
11 hours agoJimmy Kimmel Refuses To Apologize Over Charlie Kirk Comments, Blames Gun Violence | Timcast IRL
215K208