-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Versions
- Python: 3.8
- OS: ubuntu 20.04
- Pymodbus: 2.5.3
- Modbus Hardware (if used): SHT20 Temperature Sensor
Pymodbus Specific
- Server: N/A
- Client: serial rtu-async
Description
No matter the timeout I set, it always takes 3.0 seconds when the modbus peripheral has an issue.
What were you trying, what has happened, what went wrong, and what did you expect?
The sensor fails from time to time. Most of the time is ok, but sometimes is not processing modbus requests. So we are aware of this issue, but we expected the pymodbus library timeout in the given timeout parameter, But it does not. Always takes 3.0 seconds
Code and Logs
# code and logs here.
loop, client = AsyncModbusSerialClient(schedulers.ASYNC_IO, port=self.commPort, baudrate=self.commSpeed, method=self.modbusMode, timeout=self.commTimeout, loop=fakeLoop)
# please use the following to format logs when posting them here
import pymodbus
pymodbus.pymodbus_apply_logging_config()
Metadata
Metadata
Assignees
Labels
No labels