modbus layer modified for read register