pazzarpj / aiomodbus

Asyncio Library for Modbus
MIT License
5 stars 1 forks source link

Modbus serial fail to write large amounts of data on low baudrate #33

Closed pazzarpj closed 2 years ago

pazzarpj commented 2 years ago

The turn around delay allows for 0.4 seconds for the Modbus slave to respond. On low baudrate serial connections, a single request (such as write multiple registers) might exceed the 0.4 seconds.

Add a time delay that estimates how long to wait before timing out based on the write packet size and baudrate