|
|
@ -118,8 +118,8 @@ public class DeviceMoveToZeroCtrlService { |
|
|
|
Checkpoint.Type.CHECK_PLATE_BOX_IS_COVER, () -> inputDetectDriver.getIOState(InputIOId.PlateBoxCoverClosurePPS))); |
|
|
|
checkPoints.add(new Checkpoint("检测孵育盘入口是否卡板",// |
|
|
|
Checkpoint.Type.CHECK_PLATE_STUCK_DETECTOR_SENSOR1_IS_TRIGGER, () -> !inputDetectDriver.getIOState(InputIOId.IncubationPlateInletStuckPPS))); |
|
|
|
// checkPoints.add(new Checkpoint("检测孵育盘出口是否卡板",// |
|
|
|
// Checkpoint.Type.CHECK_PLATE_STUCK_DETECTOR_SENSOR2_IS_TRIGGER, () -> !inputDetectDriver.getIOState(InputIOId.IncubationPlateOutletStuckPPS))); |
|
|
|
checkPoints.add(new Checkpoint("检测孵育盘出口是否卡板",// |
|
|
|
Checkpoint.Type.CHECK_PLATE_STUCK_DETECTOR_SENSOR2_IS_TRIGGER, () -> !inputDetectDriver.getIOState(InputIOId.IncubationPlateOutletStuckPPS))); |
|
|
|
// checkPoints.add(new Checkpoint("检查拉杆电机是否在零点位置",// |
|
|
|
// CheckPointType.CHECK_PULLERM_IS_IN_ZEROPOS, () -> inputDetectDriver.getIOState(InputIOId.PullerMZeroPPS))); |
|
|
|
// checkPoints.add(new Checkpoint("检查推杆电机是否在零点位置",// |
|
|
@ -187,7 +187,6 @@ public class DeviceMoveToZeroCtrlService { |
|
|
|
log.info("光学模组扫码电机回零"); |
|
|
|
stepMotorCtrlDriver.stepMotorEasyMoveToZeroBlock(StepMotorMId.OptModScannerM); |
|
|
|
log.info("光学模组拉杆电机回零"); |
|
|
|
stepMotorCtrlDriver.stepMotorEasyMoveToEndPointBlock(StepMotorMId.OptModPullM);// |
|
|
|
stepMotorCtrlDriver.stepMotorEasyMoveToZeroBlock(StepMotorMId.OptModPullM); |
|
|
|
if (inputDetectDriver.getIOState(InputIOId.IncubationPlateOutletStuckPPS)) { |
|
|
|
throw AppException.of(A8kEcode.APPE_INCUBATION_PLATE_OUTLET_STUCK_DETECTOR_SENSOR_IS_TRIGGER); |
|
|
|