Modbus over RS485 and USB
-
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
-
@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