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.
-
30:01
Shrouded Hand
1 day ago $14.65 earnedThree Disturbing Missing Child Cases
36.6K10 -
8:27
Rethinking the Dollar
19 hours agoHow to Navigate the Crypto Boom vs. Metals Drop in 2024
23.5K6 -
1:00:23
PMG
17 hours ago $8.43 earned"The Dark Alliance of Big Pharma & Big Food w/ Dr. Tenpenny"
27.3K5 -
0:44
OfficialJadenWilliams
14 hours agoiPhone password
17.8K9 -
13:16
Degenerate Jay
15 hours ago $10.43 earnedHow Stellar Blade Did Outfits Right
41.8K16 -
1:01:55
Bright Insight
9 days agoAncient Apocalypse Review LIVESTREAM
117K85 -
1:03:31
Steve-O's Wild Ride! Podcast
4 days ago $20.64 earnedDave Mustaine Takes Sh*t From Nobody - Wild Ride #242
58.7K25 -
6:57:29
MissesMaam
10 hours agoRumblers Survive Cannibals and Mutants | Sons of the Forest 💚✨
49.8K -
3:02:59
PudgeTV
15 hours ago🔵 Mod Mondays Ep 46 | Cancel This Podcast
40K -
1:57:39
Glenn Greenwald
15 hours agoDems & Media Still Blaming Everyone But Themselves, Especially Voters; Trump Bans Pompeo & Haley, Appoints Stefanik: What Does This Reveal About Next Admin? | SYSTEM UPDATE #364
209K227