rev 反馈信号
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user