|
@@ -1,6 +1,7 @@
|
|
|
using Aitex.Core.RT.Device;
|
|
|
using Aitex.Core.RT.Log;
|
|
|
using Aitex.Core.RT.Routine;
|
|
|
+using Aitex.Core.RT.SCCore;
|
|
|
using Aitex.Core.Util;
|
|
|
using MECF.Framework.Common.Routine;
|
|
|
using MECF.Framework.Common.ToolLayout;
|
|
@@ -50,6 +51,10 @@ namespace PunkHPX8_RT.Modules.VpwCelMain
|
|
|
/// vpw cell rotation列表
|
|
|
/// </summary>
|
|
|
private List<JetAxisBase> _rotationAxis = new List<JetAxisBase>();
|
|
|
+ /// <summary>
|
|
|
+ /// 检验chamber是否上升/下降到位
|
|
|
+ /// </summary>
|
|
|
+ private int _checkChamberUpDownTimes = 3;
|
|
|
#endregion
|
|
|
|
|
|
/// <summary>
|
|
@@ -75,10 +80,10 @@ namespace PunkHPX8_RT.Modules.VpwCelMain
|
|
|
public RState Monitor()
|
|
|
{
|
|
|
Runner.Run(VpwSimpleHomeStep.CheckPreCondition, CheckPreCondition, _delay_1ms)
|
|
|
- .Run(VpwSimpleHomeStep.ChamberUp, _mainDevice.ChamberUp, CheckChamberClosed, _delay_1s)
|
|
|
+ .Run(VpwSimpleHomeStep.ChamberUp, _mainDevice.ChamberUp, CheckChamberClosed, _checkChamberUpDownTimes*1000)
|
|
|
.Run(VpwSimpleHomeStep.HomeAllRotation, HomeAllRotation,_delay_1s)
|
|
|
.WaitWithStopCondition(VpwSimpleHomeStep.CheckAllRotationHome, CheckAllRotationHomed, CheckRotationHomeFailed)
|
|
|
- .Run(VpwSimpleHomeStep.ChamberDown, _mainDevice.ChamberDown, CheckChamberOpened, _delay_1s)
|
|
|
+ .Run(VpwSimpleHomeStep.ChamberDown, _mainDevice.ChamberDown, CheckChamberOpened, _checkChamberUpDownTimes*1000)
|
|
|
.End(VpwSimpleHomeStep.End, NullFun, _delay_1ms);
|
|
|
return Runner.Status;
|
|
|
}
|
|
@@ -178,6 +183,7 @@ namespace PunkHPX8_RT.Modules.VpwCelMain
|
|
|
}
|
|
|
|
|
|
_mainDevice = DEVICE.GetDevice<VpwMainDevice>(Module.ToString());
|
|
|
+ _checkChamberUpDownTimes = SC.GetValue<int>("VPWMain.ChamberUpDownCheckTime");
|
|
|
return Runner.Start(Module, "VPW Simple Home");
|
|
|
}
|
|
|
|