fixed negative numbers in modbus