自动化立体仓库 - WCS系统
#
zjj
2024-10-12 a10daf057d11b14608652bcd3f8afe8a287b77a8
src/main/java/com/zy/core/thread/RgvThread.java
@@ -349,6 +349,12 @@
            News.error("RGV命令下发前读取状态[id:{}] >>>>> 写入[{}],===>>回读[{}]", slave.getId(), JSON.toJSON(command),JSON.toJSON(one));
        }
        OperateResult result8 = siemensNet.Write("DB100.10", (short) 0);
        if (result8.IsSuccess){
            News.error("下发前把车子确认位置为0");
        }
//        siemensNet.Write("DB100.20", command.getCommand());
        command.setRgvNo(slave.getId());
@@ -358,7 +364,7 @@
        array[2] = command.getTaskMode1();
        array[3] = command.getSourceStaNo1();
        array[4] = command.getDestinationStaNo1();
        siemensNet.Write("DB100.10", command.getCommand());
//        siemensNet.Write("DB100.10", command.getCommand());
        OperateResult result = siemensNet.Write("DB100.0", array);