重新整理Routine和仿真
This commit is contained in:
@@ -18,7 +18,7 @@ namespace SicModules.PMs.Routines
|
||||
HeatEnable,
|
||||
VentPumpClose,
|
||||
ArSupply,
|
||||
SetGroupA,
|
||||
|
||||
SetGroupB,
|
||||
SetGroupC,
|
||||
SetGroupE,
|
||||
@@ -30,8 +30,10 @@ namespace SicModules.PMs.Routines
|
||||
SetGroupJ,
|
||||
|
||||
SetM1to16,
|
||||
SetM17M18,
|
||||
SetPC,
|
||||
SetGroupI, //V87-96
|
||||
SetM18,
|
||||
SetM2to40,
|
||||
SetM2to40_1,
|
||||
MfcAll,
|
||||
@@ -74,11 +76,13 @@ namespace SicModules.PMs.Routines
|
||||
SetV76,
|
||||
SetV75,
|
||||
SetGroupV25,
|
||||
SetV30,
|
||||
SetV31,
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV87V97,
|
||||
SetV65,
|
||||
SetV103,
|
||||
SetV105,
|
||||
SetTVPositionMode,
|
||||
SetTVPositionMax,
|
||||
|
||||
@@ -141,7 +145,6 @@ namespace SicModules.PMs.Routines
|
||||
_routineTimeOut = SC.GetValue<int>($"PM.{Module}.Pump.RoutineTimeOut");
|
||||
_pumpTimeOut = SC.GetValue<int>($"PM.{Module}.Pump.PumpTimeOut");
|
||||
|
||||
|
||||
if (!_pmIoInterLock.SetPMPumpRoutineRunning(true, out string reason))
|
||||
{
|
||||
EV.PostAlarmLog(Module, $"can not Pump,{reason}");
|
||||
@@ -167,11 +170,13 @@ namespace SicModules.PMs.Routines
|
||||
SetRotationValve((int)RoutineStep.RotationEnable, _rotationCheckSpeed, false, _rotationCloseTimeout);
|
||||
|
||||
//关闭V72,打开V25
|
||||
SetIoValueByGroup((int)RoutineStep.VentPumpClose, IoGroupName.V72, false, _IoValueOpenCloseTimeout);
|
||||
SetIoValueByGroup((int)RoutineStep.VentPumpClose, IoGroupName.VentPump, false, _IoValueOpenCloseTimeout);
|
||||
SetIoValueByGroup((int)RoutineStep.SetGroupV25, IoGroupName.V25, true, _IoValueOpenCloseTimeout);
|
||||
//打开V103,关闭V105
|
||||
SetIoValueByGroup((int)RoutineStep.SetV103, IoGroupName.V103, true, _IoValueOpenCloseTimeout);
|
||||
SetIoValueByGroup((int)RoutineStep.SetV105, IoGroupName.V105, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开V30,打开V31,打开V32
|
||||
SetIoValueByGroup((int)RoutineStep.SetV30, IoGroupName.V30, true, _IoValueOpenCloseTimeout);
|
||||
//打开V31,打开V32
|
||||
SetIoValueByGroup((int)RoutineStep.SetV31, IoGroupName.V31, true, _IoValueOpenCloseTimeout);
|
||||
SetIoValueByGroup((int)RoutineStep.SetV32, IoGroupName.V32, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
@@ -196,15 +201,16 @@ namespace SicModules.PMs.Routines
|
||||
|
||||
//M1-M16设定为default值(M2、M9、M15除外)
|
||||
SetMfcToDefaultByGroup((int)RoutineStep.SetM1to16, MfcGroupName.M1to16, 0);
|
||||
SetMfcToDefaultByGroup((int)RoutineStep.SetM17M18, MfcGroupName.M17M18, 0);
|
||||
|
||||
//M2、M9、M15、M19-M40 MFC 3s ramp 到 default值
|
||||
SetMfcToDefaultByGroup((int)RoutineStep.SetM2to40_1, MfcGroupName.M2toM45, 3);
|
||||
SetMfcToDefaultByGroup((int)RoutineStep.SetM2to40_1, MfcGroupName.M2toM42, 3);
|
||||
|
||||
//设置所有PC到默认值
|
||||
SetPcToDefault((int)RoutineStep.SetPC, _lstPcList);
|
||||
|
||||
//8 打开A 组阀
|
||||
SetIoValueByGroup((int)RoutineStep.SetGroupA, IoGroupName.A, true, _IoValueOpenCloseTimeout);
|
||||
//打开V68
|
||||
SetIoValueByGroup((int)RoutineStep.OpenGasIn1, IoGroupName.GasIn1, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开J阀门
|
||||
SetIoValueByGroup((int)RoutineStep.SetGroupJ, IoGroupName.J, true, _IoValueOpenCloseTimeout);
|
||||
@@ -226,7 +232,10 @@ namespace SicModules.PMs.Routines
|
||||
SetThrottleToTargetAndNoWait((int)RoutineStep.SetTv1, _IoThrottle, _pumpBasePressure);
|
||||
|
||||
//M2、M9、M15、M19-M40 MFC 3s ramp到0
|
||||
SetMfcByGroup((int)RoutineStep.SetM2to40, MfcGroupName.M2toM45, 0, 3);
|
||||
SetMfcByGroup((int)RoutineStep.SetM2to40, MfcGroupName.M2toM42, 0, 3);
|
||||
SetMfcByGroup((int)RoutineStep.SetM18, MfcGroupName.M18, 0, 3);
|
||||
//关闭V87 V97
|
||||
SetIoValueByGroup((int)RoutineStep.SetV87V97, IoGroupName.V87V97, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//等待腔体压力Pump到设定值
|
||||
WaitChamberPressDownTo((int)RoutineStep.WaitTv1, _pumpBasePressure, _pumpTimeOut);
|
||||
|
||||
Reference in New Issue
Block a user