Browse Source

update loadport status

chenkui 1 week ago
parent
commit
c695867e44

+ 1 - 1
CyberX8_RT/Devices/AXIS/JetAxisBase.cs

@@ -900,7 +900,7 @@ namespace CyberX8_RT.Devices.AXIS
         /// </summary>
         protected void JudgeRunMonitor()
         {
-            if (_isRun && DateTime.Now.Subtract(_runTime).TotalMilliseconds >= 500)
+            if (_isRun && DateTime.Now.Subtract(_runTime).TotalMilliseconds >= 1000)
             {
                 _isRun = false;
             }

+ 4 - 0
CyberX8_RT/Devices/EFEM/Loadport.cs

@@ -196,6 +196,10 @@ namespace CyberX8_RT.Devices.EFEM
                     {
                         WaferSize = WaferSize.WS6;
                     }
+                    else
+                    {
+                        WaferSize = WaferSize.WS8;
+                    }
                 }
             }
             else if (variable == CASSETE_100_PRESENT)

+ 4 - 0
CyberX8_RT/Devices/EFEM/SunWayRobot.cs

@@ -469,6 +469,7 @@ namespace CyberX8_RT.Devices.EFEM
             int waferSize = GetModuleNameWaferSize(station);
             if (waferSize == 0)
             {
+                LOG.WriteLog(eEvent.ERROR_EFEM_COMMUNICATION, Module.ToString(), $"wafersize is 0");
                 return false;
             }
             string strModuleWaferSize = $"{station}_{waferSize}";
@@ -502,6 +503,7 @@ namespace CyberX8_RT.Devices.EFEM
             int waferSize = GetModuleNameWaferSize(mod);
             if (waferSize == 0)
             {
+                LOG.WriteLog(eEvent.ERROR_EFEM_COMMUNICATION, Module.ToString(), $"wafersize is 0");
                 return false;
             }
             string strModuleWaferSize = $"{mod}_{waferSize}";
@@ -534,6 +536,7 @@ namespace CyberX8_RT.Devices.EFEM
             int waferSize = GetModuleNameWaferSize(mod);
             if (waferSize == 0)
             {
+                LOG.WriteLog(eEvent.ERROR_EFEM_COMMUNICATION, Module.ToString(), $"wafersize is 0");
                 return false;
             }
             string strModuleWaferSize = $"{mod}_{waferSize}";
@@ -566,6 +569,7 @@ namespace CyberX8_RT.Devices.EFEM
             int waferSize = GetModuleNameWaferSize(mod);
             if (waferSize == 0)
             {
+                LOG.WriteLog(eEvent.ERROR_EFEM_COMMUNICATION, Module.ToString(), $"wafersize is 0");
                 return false;
             }
             string strModuleWaferSize = $"{mod}_{waferSize}";

+ 1 - 1
CyberX8_RT/Modules/LPs/LoadPortModule.cs

@@ -247,7 +247,7 @@ namespace CyberX8_RT.Modules.LPs
             AnyStateTransition(MSG.Online, fnOnline, FSM_STATE.SAME);
 
             //Error
-            AnyStateTransition(MSG.Error, FsmOnError, STATE.Error);
+            AnyStateTransition(MSG.Error, FsmOnError, STATE.Idle);
             Transition(STATE.Error, MSG.Reset, FsmReset, STATE.Idle);
             Transition(STATE.Idle, MSG.Reset, FsmReset, STATE.Idle);
             AnyStateTransition(MSG.EnterIdle, FsmEnterIdle, STATE.Idle);