Modbus RTU in REXLANG or Python
-
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.
Cheers
Mike
-
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