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

    Modbus over RS485 and USB

    Monarco HAT
    2
    2
    192
    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,

      I use the RS485 for RTU on the Monarco, separately I use the USB on the RPi for RTU, without the HAT. Can I use both at the same time? Can the Modbus driver do that?

      Cheers

      Mike

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

        @mikeyh
        Hello Mike,

        Yes, it's possible to use both RS485 for RTU on the Monarco and the USB on the RPi for RTU simultaneously. Check out the illustrative example "0121-11_Monarco_HAT_Modbus_RTU_Loopback_USB." This example features two distinct Modbus drivers: one for /dev/ttyAMA0 (Monarco HAT) and another for /dev/ttyUSB0.

        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.