前后工位更新
This commit is contained in:
@@ -478,7 +478,6 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//双工位 任务完成 前工位反馈4
|
//双工位 任务完成 前工位反馈4
|
||||||
if (mode == 3 && action1 == 4 && move1 == 0 && task1 > 0 && task2 > 0 && type == 3) {
|
if (mode == 3 && action1 == 4 && move1 == 0 && task1 > 0 && task2 > 0 && type == 3) {
|
||||||
//inst_message
|
//inst_message
|
||||||
@@ -510,7 +509,6 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception var17) {
|
} catch (Exception var17) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -956,12 +954,12 @@ public class SlitTwoManipulatorDeviceDriver extends AbstractOpcDeviceDriver impl
|
|||||||
Device nextDevice2 = deviceAppservice.findDeviceByCode(next_device_code2);
|
Device nextDevice2 = deviceAppservice.findDeviceByCode(next_device_code2);
|
||||||
String start_addr2 = startDevice2.getExtraValue().get("address").toString();
|
String start_addr2 = startDevice2.getExtraValue().get("address").toString();
|
||||||
String next_addr2 = nextDevice2.getExtraValue().get("address").toString();
|
String next_addr2 = nextDevice2.getExtraValue().get("address").toString();
|
||||||
this.writing("to_onset1", start_addr);
|
this.writing("to_onset1", start_addr2);
|
||||||
this.writing("to_target1", next_addr);
|
this.writing("to_target1", next_addr2);
|
||||||
this.writing("to_task1", dto.getInstruction_code());
|
this.writing("to_task1", dto.getInstruction_code());
|
||||||
this.writing("to_command1", "1");
|
this.writing("to_command1", "1");
|
||||||
this.writing("to_onset2", start_addr2);
|
this.writing("to_onset2", start_addr);
|
||||||
this.writing("to_target2", next_addr2);
|
this.writing("to_target2", next_addr);
|
||||||
this.writing("to_task2", dto.getInstruction_code());
|
this.writing("to_task2", dto.getInstruction_code());
|
||||||
this.writing("to_command2", "1");
|
this.writing("to_command2", "1");
|
||||||
this.writing("to_type", "3");
|
this.writing("to_type", "3");
|
||||||
|
|||||||
Reference in New Issue
Block a user