Modbus RTU RS485 Relay Module

Sdílet
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

Komentáře • 10

  • @hdiwaluyo163
    @hdiwaluyo163 Před rokem

    ide bagus 👍👍👍

  • @harim3920
    @harim3920 Před 10 měsíci

    How did u create this app ?

    • @ToyTechMachines
      @ToyTechMachines  Před 10 měsíci

      I created this app using Visual Studio 2017 C# WinFroms

    • @iceunicorn3707
      @iceunicorn3707 Před 6 měsíci

      @@ToyTechMachines can you please share the c# code?

    • @ToyTechMachines
      @ToyTechMachines  Před 6 měsíci +2

      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

  • @MC-tl2jj
    @MC-tl2jj Před 9 měsíci

    Can you share this project please