Closed kellerza closed 2 years ago
Looks like the modbus package is arriving with an error code 0 which is unspecified in the modbus protocol (seems only 1-11 are valid error codes)
The USR-W630 seems to misbehave when reading an undefined register. Reading it through mbusb/serial:// handles the error correctly.
Not sure this can be fixed, the only minor improvement could be to raise a Unknown error code error.... but then one could also catch the KeyError, so not sure it adds that much value
Going to close it for now, thanks
Description
A user reported the following exception when reading a USR-W630 Wifi to RS485 converter (connected via tcp://)
I have no way to simulate these unreliable conditions.
This might be more related to umodbus than async_modbus?