We were using this Modbus library for the last couple of years along with Ruby on Rails frameworks (https://github.com/rmodbus/rmodbus).
In recent days we are noticing Modbus is showing some random range register values.
Example: Charger Limit register value range is 0.0 to 0.0 and we are trying to write the same value to register but it is showing an error message as the range should be between -7.0 to 0.0 likewise it returning different random range values even when we pass correct range value.
Above I have provided an example for one of the registers but random ranges are coming to a few other registers as well.
Could you please suggest to us how to overcome this problem or how to handle these exceptions?
Your inputs are most appreciated.
In recent days we are noticing Modbus is showing some random range register values.
Example: Charger Limit register value range is 0.0 to 0.0 and we are trying to write the same value to register but it is showing an error message as the range should be between -7.0 to 0.0 likewise it returning different random range values even when we pass correct range value.
Above I have provided an example for one of the registers but random ranges are coming to a few other registers as well.
Could you please suggest to us how to overcome this problem or how to handle these exceptions?
Your inputs are most appreciated.