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.
-
4:50:37
Drew Hernandez
1 day agoMIKE HUCKABEE EXPOSED FOR OFF RECORD MEETING WITH CONVICTED ISRAELI SPY?
46.4K22 -
4:07:43
SynthTrax & DJ Cheezus Livestreams
17 hours agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream SYNTHWAVE / ANIME NIGHT
33.5K1 -
14:25
Tactical Advisor
15 hours agoReal Life John Wick Suit | Grayman & Company
21.4K2 -
LIVE
I_Came_With_Fire_Podcast
15 hours agoAlien Enemies Act | Dismantling the Department of Education | Valhalla VFT & America First
264 watching -
19:53
MetatronHistory
6 hours agoRome VS Greece - Ultimate Clash of Civilizations Explained
12.3K4 -
33:09
Exploring With Nug
8 hours ago $5.71 earnedThey Weren’t Ready for Nightfall on Blood Mountain… So I Helped Them Down
31.6K1 -
1:16:42
Sarah Westall
6 hours agoBoardroom and Government Infiltration: The Silent Erosion of American Power w/ Mike Harris
19.8K5 -
4:17:52
JahBlessCreates
4 hours ago🎉WE BACK!! MUSIC | VIBES | GAMES
4.35K1 -
2:20:15
XDDX_HiTower
4 hours ago $0.14 earnedR.E.D FRIDAY!! TIME FOR WAR! [RGMT CONTENT Mgr. | RGMT GL | GZW CL]
2.94K -
4:28:28
Cewpins
5 hours agoFRIDAY CrossFade PARTY!!🔥weed + dabs + prosecco🍃420💨!MJ
2.31K5