This commit is contained in:
2022-12-29 20:31:17 +08:00
parent 7ee18189ba
commit 464f54d356

View File

@@ -263,7 +263,7 @@ public class HfTwoRGVDeviceDriver extends AbstractOpcDeviceDriver implements Dev
}
//前工位取货时判断取货位光电信号
if (mode == 3 && action1 == 1 && move1 == 0 && task1 > 0) {
if (mode == 3 && action1 == 1 && move1 == 0 && task1 > 0 && action2 != 1) {
Instruction inst1 = instructionService.findByCodeFromCache(String.valueOf(task1));
String start_device_code = inst1.getStart_device_code();
Device startDevice = deviceAppservice.findDeviceByCode(start_device_code);