Arduino UNO - Codesys Control Win V3 - Modbus RTU

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • In this video I explain how to connect your Arduino UNO board, to Codesys Control Win V3 soft PLC, through MODBUS RTU protocol.
    The programs are available in:
    github.com/mul...

КОМЕНТАРІ • 14

  • @MonteStudios
    @MonteStudios 3 роки тому

    Key bit of information at 3:10 and again at 7:10 - Thank You

  • @Time4yes
    @Time4yes 3 роки тому

    This really looks interesting but you omitted lots of information, so beginners can only Hope.

  • @ashleynaidoo6907
    @ashleynaidoo6907 5 місяців тому

    Please share your previous video, connecting arduino to modbus master.

  • @chemesallioua1485
    @chemesallioua1485 5 років тому

    Thank you

  • @RahulSharma-oi4es
    @RahulSharma-oi4es 5 років тому

    which file have you uploaded in arduino ? because the file test_modbus3.ino is not compiling. You have used 7 parameters in the function modbus_configure , while as per its library it takes only 5. can you please help ?

    • @gustavosanchez4522
      @gustavosanchez4522  4 роки тому +1

      Hi, sorry for this delay, you have to install the library SimpleModbusSlave.h
      modbus_configure is as follows:
      void modbus_configure(HardwareSerial *SerialPort,
      long baud,
      unsigned char byteFormat,
      unsigned char _slaveID,
      unsigned char _TxEnablePin,
      unsigned int _holdingRegsSize,
      unsigned int* _regs);

    • @Didactronica
      @Didactronica 4 роки тому

      Do you change also modbus_update(); in the library? I can´t compile it. Thanks.

  • @marciohogenelst
    @marciohogenelst 4 роки тому

    Please, do you have the video/ link, how to install codesys in arduino ? thanks, regards

    • @gustavosanchez4522
      @gustavosanchez4522  4 роки тому

      Hi, I am using Modbus to connect Arduino UNO to a computer running Codesys. The explanation is in this video. Thanks for your comment!

  • @omarzedan1261
    @omarzedan1261 3 роки тому

    Hi Gustavo When I try to connect to slave the software asks user name and password, How can I solve that issue??? (I use Administrator as user name and password but it fail)

    • @gustavosanchez4522
      @gustavosanchez4522  3 роки тому

      It seem to be a problem of Codesys setup

    • @Time4yes
      @Time4yes 3 роки тому

      It's not a problem, I set up a new account, just a name and password. Or you can use your windows name and password.