From 33050f2e886fb8e4f84313388cc0450550b0b848 Mon Sep 17 00:00:00 2001 From: ytfl <ytfl@qq.com> Date: 星期一, 11 八月 2025 09:56:44 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/MainProcess.java | 31 ++++++++++++++++++------------- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java index 31836fd..6443374 100644 --- a/src/main/java/com/zy/core/MainProcess.java +++ b/src/main/java/com/zy/core/MainProcess.java @@ -51,6 +51,8 @@ Thread.sleep(500); // 鎷f枡銆佸苟鏉裤�佺洏鐐瑰啀鍏ュ簱 mainService.stnToCrnStnPick(3); + // 鎷f枡銆佸苟鏉裤�佺洏鐐瑰啀鍏ュ簱-鏉$爜 + mainService.stnToCrnStnPickBarcode(33); // 鍑哄簱 ===>> 鍫嗗灈鏈哄嚭搴撶珯鍒板嚭搴撶珯 mainService.crnStnToOutStn(4); // 鍏ュ嚭搴� ===>> 鍫嗗灈鏈哄叆鍑哄簱浣滀笟涓嬪彂 @@ -61,26 +63,29 @@ mainService.storeFinished(6); // 鍫嗗灈鏈哄紓甯镐俊鎭褰� mainService.recCrnErr(7); - // 鍏ュ簱 ===>> 绌烘爤鏉垮垵濮嬪寲鍏ュ簱,鍙夎溅鍏ュ簱绔欐斁璐� + + + // 绌烘墭鐩樺叆搴�-绔嬪簱 ===>> 绌烘爤鏉垮垵濮嬪寲鍏ュ簱,鍙夎溅鍏ュ簱绔欐斁璐� mainService.storeEmptyPlt(8); + // 绌烘墭鐩樺叆搴�-浜х嚎 + mainService.storeEmptyPltLine(13); + // 鍑哄簱 ===>> 宸ヤ綔妗d俊鎭啓鍏ed鏄剧ず鍣� mainService.ledExecute(9); // 鍏朵粬 ===>> LED鏄剧ず鍣ㄥ浣嶏紝鏄剧ず榛樿淇℃伅 mainService.ledReset(10); - mainService.outOfDevp(11); + // RGV ===>> 鎵ц瀵筊GV鎿嶄綔 + mainService.rgvExecute(11); + // RGV ===>> 鎵ц瀵筊GV宸ヤ綔妗g殑瀹屾垚鎿嶄綔 + mainService.rgvFinished(12); + // RGV ===>> 鎵ц瀵筊GV宸ヤ綔妗g殑瀹屾垚鎿嶄綔 绔欏埌绔� + mainService.rgvFinished2(14); - //绌烘墭鐩樿嚜鍔ㄥ嚭搴� -// mainService.autoEmptyOut(); -// //绌烘墭鐩樿嚜鍔ㄥ叆搴� -// mainService.autoEmptyIn(); - - // 鍏朵粬 ===>> 鍏ュ嚭搴撴ā寮忓垏鎹� - i++; - if (i > 1) { - mainService.ioConvert(); - i = 0; - } + //鍫嗗灈鏈烘棤浠诲姟涓ゅ垎閽燂紝鍥炲叆搴撳彛寰呮満 + //mainService.crnMove(); + //鍫嗗灈鏈烘湁鍏ュ簱浠诲姟鏃讹紝鍥炲叆搴撳彛寰呮満 + mainService.crnMoveByInTask(); } catch (Exception e) { e.printStackTrace(); -- Gitblit v1.9.1