From ea996431950e6ecff451bd40d1228f51d077475c Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 목, 28 4월 2022 09:22:18 +0900 Subject: [PATCH] Ongoing100 #4086 CF AOI Review FDC SW Version 추가 요청 --- ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp b/ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp index b5f9c71..e18344f 100644 --- a/ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp +++ b/ReviewSystem/ReviewSystem/SequenceProcessor_CPJT.cpp @@ -9286,7 +9286,7 @@ AFM_SetAFMTracking(FALSE); SetWsiType(0); - WSIAllReadySignal(0); + WSIAllReadySignal(1); // send wsi start if(!WSIUserAllStartSignal()) @@ -9517,7 +9517,8 @@ VectorDouble vectorCollisionPosX; vectorCollisionPosX.clear(); - + //WSI + pMotorControl->GantrySetTwoGantrySyncModeSend(1); // WSI result count for (int nModuleIdx=0; nModuleIdx<Module_GetModuleStatusCount(); nModuleIdx++) @@ -9606,6 +9607,15 @@ } } + if (vectorPosX.empty() == TRUE) + { + //3360 LYW_ CF AOI QD Review WSI XY MotorMoving Error START + g_pLog->DisplayMessage(_T("[GantryAutoGo] No Exist Send Point,TwoGantrySyncMode OFF!"), vectorPosX.size()); + g_pLog->DisplayMessage(_T("[GantryAutoGo] (%d)Gantry Path Send Fail"), pModuleStatus->GetGantryIndex()); //taek 210128 + pMotorControl->GantrySetTwoGantrySyncModeSend(0); + //3360 LYW_ CF AOI QD Review WSI XY MotorMoving Error END + } + if (m_pSP2P->ISP2P_GetReviewProcessor()->CheckMotionComplete() == FALSE) { g_pLog->DisplayMessage(_T("[GantryAutoGo] Motor IS Not Ready ")); -- Gitblit v1.9.3