code: final public void writeMultipleRegisters(int serverAddress, int startAddress, int[] registers) throws
              ModbusProtocolException, ModbusNumberException, ModbusIOException {
          processRequest(ModbusRequestBuilder.getInstance().buildWriteMultipleRegisters(serverAddress, startAddress, registers));
      }
docs: This function code is used to write a block of contiguous registers (1 to 123 registers) in a
  remote device.
  The requested written values are specified in the request data field. Data is packed as two
  bytes per register.
  
  @param serverAddress a slave address
  @param startAddress  the address of the registers to be written
  @param registers     the register data
  @throws ModbusProtocolException if modbus-exception is received
  @throws ModbusNumberException   if response is invalid
  @throws ModbusIOException       if remote slave is unavailable