修改Routine添加V64操作,和V65状态互斥
This commit is contained in:
parent
4177e5b14a
commit
0c8acee6fe
@ -59,6 +59,7 @@ namespace SicModules.PMs
|
||||
V31,
|
||||
V32,
|
||||
V35V36,
|
||||
V64,
|
||||
V65,
|
||||
V68,
|
||||
V100,
|
||||
@ -1074,6 +1075,10 @@ namespace SicModules.PMs
|
||||
{
|
||||
lst = new List<string> { "V25" };
|
||||
}
|
||||
else if (eGroupName == IoGroupName.V64)
|
||||
{
|
||||
lst = new List<string> { "V64" };
|
||||
}
|
||||
else if (eGroupName == IoGroupName.V65)
|
||||
{
|
||||
lst = new List<string> { "V65" };
|
||||
|
||||
@ -25,6 +25,7 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
SetGroupK,
|
||||
SetGroupD,
|
||||
SetGroupG,
|
||||
SetV64,
|
||||
SetV65,
|
||||
SetV68,
|
||||
SetM1to16,
|
||||
@ -173,6 +174,9 @@ namespace SicModules.PMs.RecipeExecutions
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开V68
|
||||
SetIoValueByGroup((int)RoutineStep.SetV68, IoGroupName.GasIn1, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
|
||||
@ -127,6 +127,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV31,
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV64,
|
||||
SetV65,
|
||||
WaitTv1,
|
||||
SetTVPositionMode,
|
||||
@ -305,6 +306,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//设置MFC和PC的模式
|
||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||
|
||||
@ -27,6 +27,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV68,
|
||||
SetV64,
|
||||
SetV65,
|
||||
SetGroupB,
|
||||
SetGroupC,
|
||||
@ -133,6 +134,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroupNoWait((int)RoutineStep.SetV65, IoGroupName.V65, true);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroupNoWait((int)RoutineStep.SetV64, IoGroupName.V64, false);
|
||||
|
||||
//打开V68
|
||||
SetIoValueByGroupNoWait((int)RoutineStep.SetV68, IoGroupName.GasIn1, true);
|
||||
|
||||
|
||||
@ -80,6 +80,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV87V97,
|
||||
SetV64,
|
||||
SetV65,
|
||||
SetV103,
|
||||
SetV105,
|
||||
@ -218,6 +219,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开EPV2
|
||||
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
||||
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
||||
|
||||
@ -123,6 +123,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV31,
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV64,
|
||||
SetV65,
|
||||
SetV751,
|
||||
SetV761,
|
||||
@ -329,6 +330,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//设置MFC和PC的模式
|
||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||
|
||||
@ -62,6 +62,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetGroupV25,
|
||||
SetV64,
|
||||
SetV65,
|
||||
CloseV68,
|
||||
SetV103,
|
||||
@ -153,6 +154,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开D/G 阀门
|
||||
SetIoValueByGroup((int)RoutineStep.SetGroupD, IoGroupName.D, true, _IoValueOpenCloseTimeout);
|
||||
SetIoValueByGroup((int)RoutineStep.SetGroupG, IoGroupName.G, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
@ -88,6 +88,7 @@ namespace SicModules.PMs.Routines
|
||||
SetV31,
|
||||
SetV32,
|
||||
SetV35V36,
|
||||
SetV64,
|
||||
SetV65,
|
||||
SetV103,
|
||||
SetV105,
|
||||
@ -321,6 +322,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//设置MFC和PC的模式
|
||||
SetMfcModeToNormalByGroup((int)RoutineStep.SetMFCMode, MfcGroupName.All);
|
||||
SetPcModeToNormal((int)RoutineStep.SetPCMode, _lstPcList);
|
||||
|
||||
@ -68,6 +68,7 @@ namespace SicModules.PMs.Routines
|
||||
SetTvModeToPress,
|
||||
SetTVto1050,
|
||||
OpenGasIn1,
|
||||
SetV64,
|
||||
SetV65,
|
||||
CloseGasIn1,
|
||||
CloseFinanl1,
|
||||
@ -219,6 +220,9 @@ namespace SicModules.PMs.Routines
|
||||
//打开V65
|
||||
SetIoValueByGroup((int)RoutineStep.SetV65, IoGroupName.V65, true, _IoValueOpenCloseTimeout);
|
||||
|
||||
//关闭V64
|
||||
SetIoValueByGroup((int)RoutineStep.SetV64, IoGroupName.V64, false, _IoValueOpenCloseTimeout);
|
||||
|
||||
//打开EPV2
|
||||
SetIoValueByGroup((int)RoutineStep.SetEPV2, IoGroupName.EPV2, true, _IoValueOpenCloseTimeout);
|
||||
TimeDelay((int)RoutineStep.TimeDelay5, 3);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user