code: def create_from_request_pdu(pdu):
          
          _, address, value = struct.unpack('>BHH', pdu)
  
          value = 1 if value == 0xFF00 else value
  
          instance = WriteSingleCoil()
          instance.address = address
          instance.value = value
  
          return instance
docs: Create instance from request PDU.
  
          :param pdu: A response PDU.