code: def probe_plate(self) -> str:
          '''
          Probes for the deck plate and calculates the plate distance
          from home.
          To be used for calibrating MagDeck
          '''
          self.run_flag.wait()
  
          try:
              self._send_command(GCODES['PROBE_PLATE'])
          except (MagDeckError, SerialException, SerialNoResponse) as e:
              return str(e)
          return 'f probe_plate(self) -> str:
          '''
          Probes for the deck plate and calculates the plate distance
          from home.
          To be used for calibrating MagDeck
          '''
          self.run_flag.wait()
  
          try:
              self._send_command(GCODES['PROBE_PLATE'])
          except (MagDeckError, SerialException, SerialNoResponse) as e:
              return str(e)
          return ''
docs: Probes for the deck plate and calculates the plate distance
          from home.
          To be used for calibrating MagDeck