read data from modbus device