Browse Source

added cooling safety check.

sangwq 9 months ago
parent
commit
9d0da84ad2
2 changed files with 1 additions and 28 deletions
  1. 1 1
      Venus/Venus_RT/Modules/LLs/LLEntity.cs
  2. 0 27
      Venus/Venus_RT/Modules/TM/MFSwapRoutine.cs

+ 1 - 1
Venus/Venus_RT/Modules/LLs/LLEntity.cs

@@ -730,7 +730,7 @@ namespace Venus_RT.Modules
                 return false;
             }
 
-            if(_coolingStopWatch.ElapsedMilliseconds > _coolingTime)
+            if(_coolingStopWatch.ElapsedMilliseconds > _coolingTime && _JetTM.IsModuleATM(Module))
             {
                 MarkStateTime();
                 _ventingRoutine.Abort();

+ 0 - 27
Venus/Venus_RT/Modules/TM/MFSwapRoutine.cs

@@ -334,34 +334,7 @@ namespace Venus_RT.Modules.TM
 
         private bool NotifyLLDone()
         {
-            bool bAutoVent = false;
-            var waferStatus = _llModule.GetWaferProcessStatus();
-            if (_bAutoMode)
-            {
-                if (((_sequencePattern == SequenceLLInOutPath.AInBOut && _targetModule == ModuleName.LLA) ||
-                     (_sequencePattern == SequenceLLInOutPath.BInAOut && _targetModule == ModuleName.LLB)) &&
-                      waferStatus.unprocessed <= _autoVentOptInWafer)
-                {
-                    bAutoVent = true;
-                }
-                else if (((_sequencePattern == SequenceLLInOutPath.AInBOut && _targetModule == ModuleName.LLB) ||
-                          (_sequencePattern == SequenceLLInOutPath.BInAOut && _targetModule == ModuleName.LLA)) &&
-                           waferStatus.processed >= _autoVentOptOutWafer)
-                {
-                    bAutoVent = true;
-                }
-                else if (_sequencePattern == SequenceLLInOutPath.DInDOut &&
-                    waferStatus.processed >= _autoVentOptOutWafer &&
-                    waferStatus.unprocessed <= _autoVentOptInWafer)
-                {
-                    bAutoVent = true;
-                }
-            }
-
-            LOG.Write(eEvent.INFO_TM, Module, $"NotifyLLDone() => {_targetModule}, Sequence Pattern{_sequencePattern}, unprocessed wafer:{waferStatus.unprocessed}, processed wafer: {waferStatus.processed},bAutoVent  = {bAutoVent}, Config Option:{_autoVentOptInWafer},{_autoVentOptOutWafer}");
             _llModule.PostMsg(LLEntity.MSG.TM_Exchange_Ready, _currentactionList.Exists(ac => ModuleHelper.IsLoadLock(ac.DestinationModule)));
-
-
             return true;
         }