Modbus RTU RS485 Relay Module
Vložit
- čas přidán 5. 06. 2023
- 2 relay module connected using RS845 with different slave addresses on each module. The relay modules are to 12v power supply and a RS485 to USB converter is used to connected to a Windows computer with as the Master to send Modbus RTU command HEX data to turn on and off the relay.
- Jak na to + styl
ide bagus 👍👍👍
Terima kasih 🙂
How did u create this app ?
I created this app using Visual Studio 2017 C# WinFroms
@@ToyTechMachines can you please share the c# code?
Here is the command to control this Modbus RTU relay module
drive.google.com/file/d/1QyxCSGPmCuhT9oSNIKC3G0I8yf2mogsZ/view
The command looks something like this "FF 05 00 00 FF 00 99 E4"
Send the command using Serial Port
C# code
byte[] bytesToSend = new byte[8] { 0xFF, 0x05, 0x00, 0x00, 0xFF, 0x00, 0x99, 0xE4 }; // Turn relay 1 On
I purchased from
www.aliexpress.com/item/1005002356820940.html
Can you share this project please
Sure www.aliexpress.com/item/1005002356820940.html
This is my question can more than one be active at the same time
Sure