| src/main/java/com/zy/core/thread/SiemensDevpThread.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -171,6 +171,11 @@ boolean[] status = siemensS7Net.getByteTransform().TransBool(result1.Content, i*4, 1); short count = siemensS7Net.getByteTransform().TransInt16(result1.Content, i * 4 + 2); StaProtocol staProtocol = station.get(siteId); if (null == staProtocol) { staProtocol = new StaProtocol(); staProtocol.setSiteId(siteId); station.put(siteId, staProtocol); } staProtocol.setAutoing(status[0]); // 自动 staProtocol.setLoading(status[1]); // 有物 staProtocol.setInEnable(status[2]); // 可入 src/main/resources/application.yml
@@ -57,14 +57,14 @@ # 堆垛机入库站1 crnInStn[0]: devpPlcId: ${wcs-slave.devp[0].id} staNo: 1003 staNo: 1001 row: 2 bay: 1 lev: 1 # 堆垛机出库站点1 crnOutStn[0]: devpPlcId: ${wcs-slave.devp[0].id} staNo: 1006 staNo: 1002 row: 3 bay: 1 lev: 1 @@ -78,10 +78,12 @@ slot: 0 # 入库口1 inSta[0]: staNo: 1002 staNo: 1001 barcode: ${wcs-slave.barcode[0].id} backSta: 1001 led: ${wcs-slave.led[0].id} outSta[0]: staNo: 1002 # 条码扫描仪1