code: final synchronized public boolean[] readCoils(int serverAddress, int startAddress, int quantity) throws
              ModbusProtocolException, ModbusNumberException, ModbusIOException {
          ModbusRequest request = ModbusRequestBuilder.getInstance().buildReadCoils(serverAddress, startAddress, quantity);
          ReadCoilsResponse response = (ReadCoilsResponse) processRequest(request);
          return response.getCoils();
      }
docs: This function code is used to read from 1 to 2000 contiguous status of coils in a remote
  device. The Request PDU specifies the starting address, i.e. the address of the first coil
  specified, and the number of coils. In the PDU Coils are addressed starting at zero. Therefore
  coils numbered 1-16 are addressed as 0-15.
  If the returned output quantity is not a multiple of eight, the remaining coils in the final boolean array
  will be padded with FALSE.
  
  @param serverAddress a slave address
  @param startAddress  the address of the first coil
  @param quantity      the number of coils
  @return the coils
  @throws ModbusProtocolException if modbus-exception is received
  @throws ModbusNumberException   if response is invalid
  @throws ModbusIOException       if remote slave is unavailable