双工位RGV驱动修改
This commit is contained in:
@@ -292,7 +292,7 @@ public class HfTwoRGVDeviceDriver extends AbstractOpcDeviceDriver implements Dev
|
||||
}
|
||||
}
|
||||
//前工位放货时判断放货位光电信号
|
||||
if (mode == 3 && action1 == 3 && move1 == 1 && task1 > 0) {
|
||||
if (mode == 3 && action1 == 3 && move1 == 1 && task1 > 0 && action2 != 3) {
|
||||
Instruction inst1 = instructionService.findByCodeFromCache(String.valueOf(task1));
|
||||
String next_device_code = inst1.getNext_device_code();
|
||||
Device nextDevice = deviceAppservice.findDeviceByCode(next_device_code);
|
||||
|
||||
Reference in New Issue
Block a user