REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Modbus RTU in REXLANG or Python

    Modbus RTU
    2
    2
    484
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MikeyH
      last edited by

      Hi All,

      Is there an example of Modbus RTU in REXZLANG or Python?

      I have an echo issue using the normal RTU driver so might need to use code to get around it. The device uses a one wire UART, half-duplex. I can write commands ok, but reading is an issue. I can only read one register before the echo causes issues. Using code I might be able to get around it better.
      8d59ee8b-076d-44ea-80a7-975c73c1517c-image.png

      Cheers

      Mike

      1 Reply Last reply Reply Quote 0
      • J
        Jan Reitinger
        last edited by

        Hi Mike,

        I recommend checking out the examples in the 0401_Modbus_RTU folder or take a look at the 0121-10_Monarco_HAT_Modbus_RTU_ADAM-4024 and 0121-11_Monarco_HAT_Modbus_RTU_Loopback_USB examples. These are all provided in REXLANG. Hopefully, these examples will provide some assistance.

        Cheers,
        Jan

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

        There is also an outdated REXYGEN community forum.

        Powered by NodeBB.