rev 反馈信号

This commit is contained in:
USER-20220102CG\noblelift
2023-07-27 16:43:17 +08:00
parent 6a93714310
commit adb500894e

View File

@@ -699,6 +699,10 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
message = "申请AGV任务失败 null";
} else {
if (jo.getInteger("status") == 200) {
while (!StrUtil.equals(this.getOpcValueAccessor().getValue(this.getOpcServer() + "." + this.getOpcPlc() + "." + this.getDevice_code() + ".to_command").toString()
, "4")) {
writing(4,0,0,0);
}
requireSucess = true;
} else {
message = "申请AGV任务失败," + jo.get("message").toString();