1.修改一些错误

This commit is contained in:
HCL 2023-12-08 14:13:19 +08:00
parent 800e65cdb0
commit 075139c8fb
3 changed files with 9 additions and 6 deletions

View File

@ -114,7 +114,7 @@ namespace SicModules.EFEMs.Routines
try try
{ {
CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _pickTimeout); CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _pickTimeout);
if (SC.GetStringValue("WaferRobot.RobotType") != "SunwayRobot") if (SC.GetStringValue("TrayRobot.RobotType") != "SunwayRobot")
{ {
CheckTrayStatuBeforePick((int)RoutineStep.CheckTrayStatuBeforePick, TrayRobot, 10); //Pick前先检查 CheckTrayStatuBeforePick((int)RoutineStep.CheckTrayStatuBeforePick, TrayRobot, 10); //Pick前先检查
} }
@ -125,7 +125,7 @@ namespace SicModules.EFEMs.Routines
SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock
} }
if (SC.GetStringValue("WaferRobot.RobotType") == "SunwayRobot") if (SC.GetStringValue("TrayRobot.RobotType") == "SunwayRobot")
{ {
ExtendForPick((int)RoutineStep.ExtendForPick, TrayRobot, _source, _sourceSlot, _pickTimeout); //机械手到位 ExtendForPick((int)RoutineStep.ExtendForPick, TrayRobot, _source, _sourceSlot, _pickTimeout); //机械手到位
} }

View File

@ -160,7 +160,7 @@ namespace SicModules.EFEMs.Routines
SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock
CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _placeTimeout); //判断机械手当前是否空闲 CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _placeTimeout); //判断机械手当前是否空闲
if (SC.GetStringValue("WaferRobot.RobotType") == "SunwayRobot") if (SC.GetStringValue("TrayRobot.RobotType") == "SunwayRobot")
{ {
ExtendForPlace((int)RoutineStep.ExtendForPlace, TrayRobot, _source, _sourceSlot, _placeTimeout); //伸出,关真空 ExtendForPlace((int)RoutineStep.ExtendForPlace, TrayRobot, _source, _sourceSlot, _placeTimeout); //伸出,关真空
} }
@ -185,7 +185,7 @@ namespace SicModules.EFEMs.Routines
CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _placeTimeout); //判断机械手当前是否空闲 CheckRobotReady((int)RoutineStep.CheckRobotReady, TrayRobot, _placeTimeout); //判断机械手当前是否空闲
SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock SetTrayRobortExtendToDO((int)RoutineStep.SetExtendToDo, _source, 10); //设置ExtendToDO,用于检测InterLock
if (SC.GetStringValue("WaferRobot.RobotType") == "SunwayRobot") if (SC.GetStringValue("TrayRobot.RobotType") == "SunwayRobot")
{ {
ExtendForPlace((int)RoutineStep.ExtendForPlace, TrayRobot, _source, _sourceSlot, _placeTimeout); //伸出,关真空 ExtendForPlace((int)RoutineStep.ExtendForPlace, TrayRobot, _source, _sourceSlot, _placeTimeout); //伸出,关真空
} }

View File

@ -205,7 +205,10 @@ namespace SicModules.EFEMs.Routines
ClearRobortExtendToDO((int)RoutineStep.ClearRobortExtendToDo); ClearRobortExtendToDO((int)RoutineStep.ClearRobortExtendToDo);
TimeDelay((int)RoutineStep.TimeDelay1, 1); TimeDelay((int)RoutineStep.TimeDelay1, 1);
CheckWaferStatuAfterPlace((int)RoutineStep.CheckWaferStatusByRq, WaferRobot, 10); //结束后检查Wafer if (SC.GetStringValue("WaferRobot.RobotType") != "SunwayRobot")
{
CheckWaferStatuAfterPlace((int)RoutineStep.CheckWaferStatusByRq, WaferRobot, 10); //结束后检查Wafer
}
ExecuteRoutine((int)RoutineStep.CloseSlitValve, _efemSlitValveCloseRoutine); //关闭闸板阀 ExecuteRoutine((int)RoutineStep.CloseSlitValve, _efemSlitValveCloseRoutine); //关闭闸板阀
} }