|
@@ -118,6 +118,12 @@ namespace CyberX8_RT.Modules.SRD
|
|
|
// NotifyError(eEvent.ERR_SRD, "Rotation is not homed", 0);
|
|
|
// return false;
|
|
|
//}
|
|
|
+ //Check Vacuum off
|
|
|
+ if (!_srdCommon.CommonData.ChuckVacuum)
|
|
|
+ {
|
|
|
+ NotifyError(eEvent.ERR_SRD, "Chuck Vacuum is on", 0);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
//Check LiftUp
|
|
|
if (!_srdCommon.CommonData.LiftUp)
|
|
|
{
|
|
@@ -164,6 +170,10 @@ namespace CyberX8_RT.Modules.SRD
|
|
|
private bool GetWaferSize()
|
|
|
{
|
|
|
WaferInfo waferInfo = WaferManager.Instance.GetWafer(ModuleNameString.ToEnum(Module), 0);
|
|
|
+ if (waferInfo == null)
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
switch (waferInfo.Size)
|
|
|
{
|
|
|
case WaferSize.WS0:
|
|
@@ -313,7 +323,7 @@ namespace CyberX8_RT.Modules.SRD
|
|
|
/// <returns></returns>
|
|
|
private bool CheckChuckVacuumOnEndStatus()
|
|
|
{
|
|
|
- return _srdCommon.Status == RState.End && _srdCommon.CommonData.ChuckVacuum;
|
|
|
+ return _srdCommon.Status == RState.End && !_srdCommon.CommonData.ChuckVacuum;
|
|
|
}
|
|
|
/// <summary>
|
|
|
/// 检验ChuckVacuumOn结束状态
|