Browse Source

add hbot in enable

tags/v0
zhaohe 1 year ago
parent
commit
892d1b2590
  1. 6
      src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java

6
src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java

@ -57,7 +57,7 @@ public class CommonHardwareOpeartion {
canBus.stepMotorEnable(MId.OptModScannerM, 1);
//HBot初始化
// canBus.stepMotorEnable(MId.HbotM, 1);
canBus.hbotEnable(MId.HbotM, 1);
canBus.stepMotorEnable(MId.PipetteModZM, 1);
//转盘归零
@ -89,7 +89,7 @@ public class CommonHardwareOpeartion {
canBus.stepMotorEnable(MId.OptModScannerM, 0);
//HBot初始化
// canBus.stepMotorEnable(MId.HbotM, 0);
canBus.hbotEnable(MId.HbotM, 0);
canBus.stepMotorEnable(MId.PipetteModZM, 0);
//转盘归零
@ -118,7 +118,7 @@ public class CommonHardwareOpeartion {
try {canBus.moduleStop(MId.OptModPullM);} catch (HardwareException ignored) {}
try {canBus.moduleStop(MId.OptModScannerM);} catch (HardwareException ignored) {}
//HBot初始化
// try {canBus.moduleStop(MId.HbotM);} catch (HardwareException ignored) {}
try {canBus.moduleStop(MId.HbotM);} catch (HardwareException ignored) {}
try {canBus.moduleStop(MId.PipetteModZM);} catch (HardwareException ignored) {}
//转盘归零
try {canBus.moduleStop(MId.IncubatorRotateCtrlM);} catch (HardwareException ignored) {}

Loading…
Cancel
Save