I am using modbus rtu as master. When the slave are not connected to the serial port, master could not run because of raise ModbusInvalidResponseError("Response length is invalid 0".
How to avoid crashing? Remove the raise exception did not work.
I need the master to show the error log that the slave are not available, and pending for another command instead of crashing.
Thank you.