| | |
| | | |
| | | |
| | | } |
| | | |
| | | // #3381 LYW CF AOI Review 전설비 FDC TackTime 오보고 현상 개선 ADD START |
| | | pDitRawClient->GetGlassData()->m_tmReviewLoading = CTime::GetCurrentTime(); |
| | | // #3381 LYW CF AOI Review 전설비 FDC TackTime 오보고 현상 개선 ADD END |
| | | |
| | | |
| | | CString strGlassIDTemp = NULL; |
| | |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::GlassLoading] Send Loading Success Signal!")); |
| | | |
| | | strFileName.Format(_T("%s_%s"), strGlassIDTemp, strGlassStepIdTemp); |
| | | bFileFind = FindRawBinFile(strFileName); |
| | | //bFileFind = TRUE; |
| | | //업데이트시 |
| | | //bFileFind = FindRawBinFile(strFileName); |
| | | bFileFind = TRUE; |
| | | |
| | | pDitRawClient->SetReviewStart(); |
| | | Sleep(1000); |
| | |
| | | if(pAlignCameraControl->AlignCameraDisconnectCheck() == FALSE) |
| | | { |
| | | SendResultToSignalControl(PCControlSendData_AlignResult_CPJT, SIGNAL_SEND_RESULT_FAIL); |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::AlignStart] Send Align Fail! Align Cam Disconnect")); |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[SequenceProcessor::AlignStart] Algin Camera Disconnect!!!!")); |
| | | } |
| | | } |
| | |
| | | strReadData = pTransferData->strRerferData; |
| | | break; |
| | | } |
| | | //m_pSP2P->ISP2P_DisplayMessage(_T("[ReadTransferData] Name: %s, Addr: %s, Size: %d, Data: %s"), pInfo->strName, strReadAddress, nReadSize, strReadData); //0517 |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[ReadTransferData] Name: %s, Addr: %s, Size: %d, Data: %s"), pInfo->strName, strReadAddress, nReadSize, strReadData); //0517 |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | SetWsiType(0); |
| | | WSIAllReadySignal(1); |
| | | Sleep(500); |
| | | Sleep(1000); |
| | | if(!WSIAllStartSignal()) |
| | | { |
| | | g_pLog->DisplayMessage(_T("[WSI] WSI Start Fail!!")); |
| | |
| | | |
| | | VectorDouble vectorCollisionPosX; |
| | | vectorCollisionPosX.clear(); |
| | | |
| | | //WSI 좌우 겐트리 동시이동 |
| | | pMotorControl->GantrySetTwoGantrySyncModeSend(1); |
| | | |
| | | |
| | | // WSI result count |
| | |
| | | return 0; |
| | | } |
| | | } |
| | | //WSI 좌우 겐트리 동시이동 |
| | | pMotorControl->GantrySetTwoGantrySyncModeSend(1); |
| | | |
| | | |
| | | // get result index |
| | | int nStartIdx = pWsiResult->GetStartSReviewResultIndex(); |
| | |
| | | //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(1); |
| | | pMotorControl->GantrySetTwoGantrySyncModeSend(0); |
| | | //3360 LYW_ CF AOI QD Review WSI XY MotorMoving Error 알람 발생 원인 분석 및 조치 END |
| | | } |
| | | else |
| | |
| | | pReviewScheduler->GetPathSchedulerParam()->SetSelectModuleType(type); |
| | | |
| | | nSchedulingCount = pReviewScheduler->PathScheduling(vecPathData, vecStartPathData); |
| | | |
| | | |
| | | if (nSchedulingCount>0) |
| | | { |
| | |
| | | pSignalControl->WritePacketData(_T("16124"), sizeof(nRev_PC_HDD_CHECK), (short*)&nRev_PC_HDD_CHECK); |
| | | pSignalControl->WritePacketData(_T("16128"), sizeof(nWSI1_PC_HDD_CHECK), (short*)&nWSI1_PC_HDD_CHECK); |
| | | pSignalControl->WritePacketData(_T("16132"), sizeof(nWSI2_PC_HDD_CHECK), (short*)&nWSI2_PC_HDD_CHECK); |
| | | |
| | | |
| | | |
| | | pSignalControl->WritePacketData(_T("16136"), sizeof(nReviewVersion), (short*)&nReviewVersion); |
| | | pSignalControl->WritePacketData(_T("16140"), sizeof(nWSI00Version), (short*)&nWSI00Version); |