Hello Shaodong,
I'm using modpoll for some time on a 24x7 server and have an issue, that after about 3 days of continues readings and if the modbus PLC fails communication for more than about 10 times the async pymodbus v3.4.1 call crash and aborts the task, because it does not re-raise the exception.
Hi @cfreire , happy to know that modpoll is actually used in your projects, thanks for sharing!
Just updated pymodbus dependency to v3.5.2, feel free to try the latest version.
Hello Shaodong, I'm using
modpoll
for some time on a 24x7 server and have an issue, that after about 3 days of continues readings and if the modbus PLC fails communication for more than about 10 times theasync pymodbus v3.4.1
call crash and aborts the task, because it does not re-raise the exception.log example
The problem was solved using
pymodbus v3.5.0
https://github.com/pymodbus-dev/pymodbus/blob/dev/CHANGELOG.rstThere are some minor fixes in
modpoll
with (Endian.LITTLE, Endian.BIG)Best regards,