pcdsdevices.mps.must_be_known

pcdsdevices.mps.must_be_known(in_limit, out_limit)

Logical combination of limits enforcing a known state.

The logic determines that we know that the device is fully inserted or removed, alerting the MPS if the device is stuck in an unknown state or broken.

Parameters:
  • in_limit (bool) – Whether the in limit is active.

  • out_limit (bool) – Whether the out limit is active.

Returns:

is_known (bool) – Whether the logical combination of the limit switch ensure that the device position is known.