PMProcessRoutine.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. using System;
  2. using System.Collections.Generic;
  3. using Aitex.Core.RT.Routine;
  4. using Aitex.Core.RT.SCCore;
  5. using Aitex.Core.Common;
  6. using Aitex.Core.RT.RecipeCenter;
  7. using Venus_RT.Devices;
  8. using MECF.Framework.Common.Equipment;
  9. using MECF.Framework.Common.SubstrateTrackings;
  10. using Venus_Core;
  11. using System.Diagnostics;
  12. using MECF.Framework.Common.DBCore;
  13. using Venus_RT.FAs;
  14. using Venus_Unity;
  15. namespace Venus_RT.Modules.PMs
  16. {
  17. class PMProcessRoutine : PMRoutineBase, IRoutine
  18. {
  19. private enum ProcessStep
  20. {
  21. kPreparePressure,
  22. kPrepareTemperature,
  23. kRunRecipes,
  24. kEnd,
  25. }
  26. public string CurrentRunningRecipe { get; set; }
  27. public string ProcessRecipeName { get; set; }
  28. public string ChuckRecipeName { get; set; }
  29. public string DechuckRecipeName { get; set; }
  30. public string CleanRecipeName { get; set; }
  31. public RecipeHead ProcessRecipeHead { get; set; }
  32. public DateTime RecipeStartTime { get; private set; }
  33. public DateTime RecipeEndTime { get; private set; }
  34. public string WaferId { get; set; }
  35. public string SlotID { get; set; }
  36. public string LotID { get; set; }
  37. public string FullRecipeName { get; set; }
  38. string Guidall;
  39. //int Timeall;
  40. private Stopwatch Processtime = new Stopwatch();
  41. private readonly PumpDownRoutine _pumpDownRoutine;
  42. private readonly ProcessHelper _processHelper;
  43. private bool _withWafer = true;
  44. //private bool _needPumpDown = false;
  45. public Recipe _currentRecipe = null;
  46. private int _currentStep = 0;
  47. private Queue<Recipe> _qeRecipes = new Queue<Recipe>();
  48. private double _tolerance;
  49. private double _OffsetTemp = 0.0f;
  50. private bool _bLoopMode = false;
  51. private int _loopStartStep = 0;
  52. private int _loopCounter = 0;
  53. private int _recipeRunningMode = 0;
  54. private Stopwatch _stepTime = new Stopwatch();
  55. public RecipeResult currentRecipeResult;
  56. public bool isMaualEndStep;
  57. private RecipeFACallback _faCallback;
  58. private JetChamber _jetChamber;
  59. private RecipeType _recipeType;
  60. private Recipe processRecipe;
  61. private double ChillerTemp
  62. {
  63. get
  64. {
  65. if (ProcessRecipeHead != null)
  66. {
  67. if (!string.IsNullOrEmpty(ProcessRecipeHead.ChillerTemp))
  68. {
  69. double setpoint = Convert.ToDouble(ProcessRecipeHead.ChillerTemp);
  70. if (setpoint > 0 && setpoint < 600)
  71. return setpoint;
  72. }
  73. }
  74. return 0;
  75. }
  76. }
  77. private double BasePressure
  78. {
  79. get
  80. {
  81. if (ProcessRecipeHead != null)
  82. {
  83. if (!string.IsNullOrEmpty(ProcessRecipeHead.BasePressure))
  84. {
  85. double setpoint = Convert.ToDouble(ProcessRecipeHead.BasePressure);
  86. if (setpoint > 0 && setpoint < 750000)
  87. return setpoint;
  88. }
  89. }
  90. return SC.GetValue<int>($"{Module}.Pump.PumpBasePressure");
  91. }
  92. }
  93. public double EstimatedTotalLeftTime
  94. {
  95. get;
  96. private set;
  97. }
  98. public PMProcessRoutine(JetPMBase chamber, PumpDownRoutine pdRoutine) : base(chamber)
  99. {
  100. Name = "Process";
  101. _pumpDownRoutine = pdRoutine;
  102. _processHelper = new ProcessHelper(chamber);
  103. _faCallback = new RecipeFACallback();
  104. _jetChamber = (JetChamber)SC.GetValue<int>($"{chamber.Module}.ChamberType");
  105. }
  106. private bool AssignFuns(Recipe recipe)
  107. {
  108. foreach (var step in recipe.Steps)
  109. {
  110. if (_processHelper.LoadStepFuns(step) == false)
  111. return false;
  112. foreach (ProcessUnitBase unit in step.LstUnit)
  113. {
  114. if (_processHelper.LoadMethods(unit) == false)
  115. {
  116. Stop($"Cannot find the process routine for unit:{unit.GetType()}");
  117. return false;
  118. }
  119. }
  120. }
  121. return true;
  122. }
  123. public RState Start(params object[] objs)
  124. {
  125. string recipeName = (string)objs[0];
  126. if (objs.Length >= 2)
  127. {
  128. _recipeType = (RecipeType)Enum.Parse(typeof(RecipeType), objs[2].ToString());
  129. if (_recipeType == RecipeType.Clean)
  130. {
  131. _withWafer = false;
  132. }
  133. else
  134. {
  135. _withWafer = true;
  136. }
  137. }
  138. //if (objs.Length >= 2)
  139. //{
  140. // _withWafer = (bool)objs[2];
  141. //}
  142. if (_withWafer && WaferManager.Instance.CheckNoWafer(Module, 0))
  143. {
  144. Stop($"can not run process, no wafer at {Module}");
  145. FaEvent.FaPostAlarm(Module.ToString(), $"can not run process, no wafer at {Module}");
  146. return RState.Failed;
  147. }
  148. else if (!_withWafer && WaferManager.Instance.CheckHasWafer(Module, 0))
  149. {
  150. Stop($"can not run clean recipe{recipeName}, a wafer at {Module}");
  151. FaEvent.FaPostAlarm(Module.ToString(), $"can not run clean recipe, a wafer at {Module}");
  152. return RState.Failed;
  153. }
  154. if (!_chamber.IsRFGInterlockOn)
  155. {
  156. Stop("射频电源 Interlock条件不满足");
  157. FaEvent.FaPostAlarm(Module.ToString(), "射频电源 Interlock条件不满足");
  158. return RState.Failed;
  159. }
  160. if (!CheckSlitDoor() || !CheckDryPump() || !CheckTurboPump())
  161. {
  162. return RState.Failed;
  163. }
  164. RecipeStartTime = DateTime.Now;
  165. // Load/Validate Recipe
  166. _qeRecipes.Clear();
  167. currentRecipeResult = new RecipeResult();
  168. currentRecipeResult.RecipeName = recipeName;
  169. string recipeContent = RecipeFileManager.Instance.LoadRecipe(_chamber.Name, recipeName, false, _withWafer ? "Process" : "Clean");
  170. Recipe recipe = Recipe.Load(recipeContent);
  171. currentRecipeResult.RecipeStepCount = recipe.Steps.Count;
  172. if (recipe == null)
  173. {
  174. Stop($"Load Recipe:{recipeName} failed");
  175. FaEvent.FaPostAlarm(Module.ToString(), $"Load Recipe:{recipeName} failed");
  176. return RState.Failed;
  177. }
  178. _recipeRunningMode = SC.GetValue<int>($"{Module}.RecipeRunningMode");
  179. _processHelper.m_RecipeHead = recipe.Header;
  180. switch (recipe.Header.Type)
  181. {
  182. case RecipeType.Process:
  183. if (_recipeRunningMode == 1 && recipe.Header.ChuckRecipe != null && !string.IsNullOrEmpty(recipe.Header.ChuckRecipe))
  184. {
  185. string chuckcontent = RecipeFileManager.Instance.LoadRecipe(_chamber.Name, recipe.Header.ChuckRecipe, false, RecipeType.Chuck.ToString());
  186. var chuckRecipe = Recipe.Load(chuckcontent);
  187. if (chuckRecipe != null)
  188. {
  189. ChuckRecipeName = recipe.Header.ChuckRecipe;
  190. _qeRecipes.Enqueue(chuckRecipe);
  191. }
  192. }
  193. ProcessRecipeHead = recipe.Header;
  194. ProcessRecipeName = recipeName;
  195. _qeRecipes.Enqueue(recipe);
  196. if (_recipeRunningMode == 1 && recipe.Header.DechuckRecipe != null && !string.IsNullOrEmpty(recipe.Header.DechuckRecipe))
  197. {
  198. string dechuckcontent = RecipeFileManager.Instance.LoadRecipe(_chamber.Name, recipe.Header.DechuckRecipe, false, RecipeType.DeChuck.ToString());
  199. var dechuckRecipe = Recipe.Load(dechuckcontent);
  200. if (dechuckRecipe != null)
  201. {
  202. DechuckRecipeName = recipe.Header.DechuckRecipe;
  203. _qeRecipes.Enqueue(dechuckRecipe);
  204. }
  205. }
  206. break;
  207. case RecipeType.Chuck:
  208. ChuckRecipeName = recipeName;
  209. _qeRecipes.Enqueue(recipe);
  210. break;
  211. case RecipeType.DeChuck:
  212. DechuckRecipeName = recipeName;
  213. _qeRecipes.Enqueue(recipe);
  214. break;
  215. case RecipeType.Clean:
  216. CleanRecipeName = recipeName;
  217. _qeRecipes.Enqueue(recipe);
  218. break;
  219. }
  220. foreach (Recipe rcp in _qeRecipes)
  221. {
  222. if (AssignFuns(rcp) == false)
  223. {
  224. Stop($"Associate process alogrithm with recipe:{rcp.Header.Name} failed");
  225. FaEvent.FaPostAlarm(Module.ToString(), $"Associate process alogrithm with recipe:{rcp.Header.Name} failed");
  226. return RState.Failed;
  227. }
  228. }
  229. _bLoopMode = false;
  230. _loopStartStep = 0;
  231. _loopCounter = 0;
  232. _processHelper.isLoop = false;
  233. _processHelper.loopsteps = 0;
  234. _processHelper.currentStepIndex = 0;
  235. _tolerance = SC.GetValue<double>($"System.MaxTemperatureToleranceToTarget");
  236. _OffsetTemp = SC.GetValue<double>($"{Module}.Chiller.ChillerTemperatureOffset");
  237. _faCallback.RecipeStart(_chamber.Module.ToString(), recipeName);
  238. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.InProcess);
  239. return Runner.Start(Module, Name);
  240. }
  241. public RState Monitor()
  242. {
  243. Runner.Run(ProcessStep.kPreparePressure, PreparePressure, IsPressureReady)
  244. .Run(ProcessStep.kPrepareTemperature, PrepareTemp, IsTempReady)
  245. .Run(ProcessStep.kRunRecipes, StartNewRecipe, RunRecipes, 5 * 60 * 60 * 1000)
  246. .End(ProcessStep.kEnd, ProcessDone, _delay_1s);
  247. return Runner.Status;
  248. }
  249. private bool PreparePressure()
  250. {
  251. //2023/09/02 tps remove
  252. //if(_chamber.ProcessHighPressure < 5 && _chamber.ProcessLowPressure<BasePressure)
  253. //{
  254. // _needPumpDown = false;
  255. // return true;
  256. //}
  257. //_needPumpDown = true;
  258. return _pumpDownRoutine.Start(BasePressure) == RState.Running;
  259. }
  260. private bool IsPressureReady()
  261. {
  262. //if (_needPumpDown == false)
  263. // return true;
  264. var status = _pumpDownRoutine.Monitor();
  265. if (status == RState.End)
  266. {
  267. return true;
  268. }
  269. else if (status == RState.Failed || status == RState.Timeout)
  270. {
  271. Runner.Stop($"Pump down to {BasePressure} failed.");
  272. FaEvent.FaPostAlarm(Module.ToString(), $"Pump down to {BasePressure} failed.");
  273. return true;
  274. }
  275. return false;
  276. }
  277. private bool PrepareTemp()
  278. {
  279. if (_jetChamber == JetChamber.Venus)
  280. {
  281. return SetCoolantTemp(ChillerTemp, _OffsetTemp);
  282. }
  283. else
  284. {
  285. return true;
  286. }
  287. }
  288. private bool IsTempReady()
  289. {
  290. if (_jetChamber == JetChamber.Venus)
  291. {
  292. return CheckCoolantTemp(ChillerTemp, _tolerance);
  293. }
  294. else
  295. {
  296. return true;
  297. }
  298. }
  299. public RState StartNewStep()
  300. {
  301. ProcessDataRecorder.StepStart(Guidall, _currentRecipe.Steps[_currentStep].StepNo, $"{Module}:{_currentRecipe.Header.Name}:{_currentRecipe.Steps[_currentStep].Description}", _currentRecipe.Steps[_currentStep].Time);
  302. _stepTime.Restart();
  303. var state = _currentRecipe.Steps[_currentStep].Start();
  304. if (state != RState.Running)
  305. return state;
  306. //if (_bLoopMode == true)
  307. //{
  308. //}
  309. if (_currentRecipe.Steps[_currentStep].CycleStart)
  310. {
  311. if (!_bLoopMode)
  312. {
  313. _bLoopMode = true;
  314. _loopStartStep = _currentStep;
  315. _loopCounter = _currentRecipe.Steps[_currentStep].CycleNumber - 1;
  316. currentRecipeResult.RecipeAllCounters = _currentRecipe.Steps[_currentStep].CycleNumber;
  317. currentRecipeResult.RecipeCurrentCounter = _loopCounter == 0 ? 0 : 1;
  318. _processHelper.isLoop = true;
  319. _processHelper.loopsteps = _currentRecipe.Steps[_currentStep].CycleNumber;
  320. }
  321. else
  322. {
  323. _processHelper.currentStepIndex += 1;
  324. }
  325. }
  326. return RState.Running;
  327. }
  328. private bool StartNewRecipe()
  329. {
  330. if (_qeRecipes.Count > 0)
  331. {
  332. _currentStep = 0;
  333. _currentRecipe = _qeRecipes.Dequeue();
  334. CurrentRunningRecipe = _currentRecipe.Header.Name;
  335. if (Guidall == null)
  336. {
  337. Guidall = Guid.NewGuid().ToString();
  338. RecipeStartTime = DateTime.Now;
  339. Processtime.Restart();
  340. }
  341. Notify($"Recipe:{CurrentRunningRecipe} start");
  342. FaEvent.FaPostInfo(Module.ToString(), $"Recipe:{CurrentRunningRecipe} start");
  343. _chamber.EPDRecipeStart(CurrentRunningRecipe);
  344. return StartNewStep() == RState.Running;
  345. }
  346. return false;
  347. }
  348. private bool RunRecipes()
  349. {
  350. var step = _currentRecipe.Steps[_currentStep];
  351. currentRecipeResult.RecipeStepCount = _currentRecipe.Steps.Count;
  352. currentRecipeResult.RecipeName = _currentRecipe.Header.Name;
  353. currentRecipeResult.RecipeType = _currentRecipe.Header.Type.ToString();
  354. currentRecipeResult.RecipeStepNumber = step.StepNo;
  355. currentRecipeResult.RecipeStepType = step.Type.ToString();
  356. currentRecipeResult.RecipeStepDescription = string.IsNullOrEmpty(step.Description) ? "" : step.Description;
  357. currentRecipeResult.RecipeStepSetTime = step.Time;
  358. currentRecipeResult.RecipeType = _currentRecipe.Header.Type.ToString();
  359. //currentRecipeResult.RecipeStepDuringTime = (int)_stepTime.ElapsedMilliseconds/1000;
  360. currentRecipeResult.RecipeStepDuringTime = new System.TimeSpan(0, 0, System.Convert.ToInt32(_stepTime.ElapsedMilliseconds / 1000));
  361. var result = step.Run();
  362. if (result == RState.Failed)
  363. {
  364. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.Completed);
  365. WaferInfo waferInfo = WaferManager.Instance.GetWafer(ModuleHelper.Converter(Module.ToString()), 0);
  366. if (!waferInfo.IsEmpty)
  367. {
  368. WaferId = waferInfo.InnerId.ToString();
  369. SlotID = waferInfo.OriginSlot.ToString();
  370. LotID = waferInfo.ProcessJob == null || string.IsNullOrEmpty(waferInfo.ProcessJob.ControlJobName) ? "" : waferInfo.ProcessJob.ControlJobName;
  371. FullRecipeName = string.Format(@"{0} {1} {2}", ChuckRecipeName, ProcessRecipeName, DechuckRecipeName);
  372. }
  373. Processtime.Stop();
  374. RecipeEndTime = RecipeStartTime + Processtime.Elapsed;
  375. ProcessDataRecorder.RecordPrecess(Guidall, RecipeStartTime, DateTime.Now, FullRecipeName, "Fail", WaferId, _chamber.Name, LotID, SlotID);
  376. Guidall = null;
  377. UpdateWaferStatus(false);
  378. Runner.Stop($"Recipe:{CurrentRunningRecipe}, Step:{_currentStep + 1} Failed");
  379. FaEvent.FaPostAlarm(Module.ToString(), $"Recipe:{CurrentRunningRecipe}, Step:{_currentStep + 1} Failed");
  380. return true;
  381. }
  382. else if (result == RState.End || isMaualEndStep == true)
  383. {
  384. if (_currentRecipe.Steps.Count > _currentStep + 1 && _currentRecipe.Steps[_currentStep + 1].Type != StepType.OverEtch)
  385. {
  386. _currentRecipe.Steps[_currentStep].End();
  387. }
  388. if (_currentRecipe.Steps[_currentStep].CycleEnd)
  389. {
  390. if (_loopCounter > 0)
  391. {
  392. _loopCounter--;
  393. currentRecipeResult.RecipeCurrentCounter += 1;
  394. _currentStep = _loopStartStep;
  395. return StartNewStep() != RState.Running;
  396. }
  397. else
  398. {
  399. _bLoopMode = false;
  400. _loopStartStep = 0;
  401. //_processHelper.loopStep(false, 0, 0);
  402. _processHelper.isLoop = false;
  403. _processHelper.loopsteps = 0;
  404. _processHelper.currentStepIndex = 0;
  405. }
  406. }
  407. if (_currentStep < _currentRecipe.Steps.Count - 1 || isMaualEndStep == true)
  408. {
  409. result = RState.End;
  410. isMaualEndStep = false;
  411. _currentStep++;
  412. return StartNewStep() != RState.Running;
  413. }
  414. else
  415. {
  416. Notify($"Recipe:{CurrentRunningRecipe} finished");
  417. FaEvent.FaPostInfo(Module.ToString(), $"Recipe:{CurrentRunningRecipe} finished");
  418. UpdateWaferStatus();
  419. if (_currentRecipe.Header.Type == RecipeType.Process)
  420. {
  421. processRecipe = (Recipe)SerializeHelper.Instance.Clone(_currentRecipe);
  422. }
  423. _chamber.EPDRecipeStop();
  424. return !StartNewRecipe();
  425. }
  426. }
  427. return false;
  428. }
  429. private bool ProcessDone()
  430. {
  431. _currentRecipe.Steps[_currentStep].End();
  432. RecipeFileManager.Instance.SaveAsRecipe2(Module.ToString(), _currentRecipe.Header.Type.ToString(), _currentRecipe.Header.Name, RecipeUnity.RecipeToString(_currentRecipe));
  433. _stepTime.Stop();
  434. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.Idle);
  435. CloseAllValves();
  436. _chamber.GeneratorSetpower(0);
  437. _chamber.GeneratorBiasSetpower(0);
  438. _chamber.GeneratorBiasPowerOn(false);
  439. _chamber.GeneratorPowerOn(false);
  440. _chamber.OpenValve(ValveType.TurboPumpPumping, true);
  441. _chamber.OpenValve(ValveType.TurboPumpPurge, true);
  442. _chamber.OpenValve(ValveType.Guage, true);
  443. _chamber.SetPVPostion(1000);
  444. if (_jetChamber == JetChamber.Venus && _chamber.IsHVOn==true)
  445. {
  446. _chamber.OnOffSetESCHV(false);
  447. }
  448. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.Completed);
  449. WaferInfo waferInfo = WaferManager.Instance.GetWafer(ModuleHelper.Converter(Module.ToString()), 0);
  450. if (!waferInfo.IsEmpty)
  451. {
  452. WaferId = waferInfo.InnerId.ToString();
  453. SlotID = waferInfo.OriginSlot.ToString();
  454. LotID = waferInfo.ProcessJob == null || string.IsNullOrEmpty(waferInfo.ProcessJob.ControlJobName) ? "" : waferInfo.ProcessJob.ControlJobName;
  455. FullRecipeName = string.Format(@"{0} {1} {2}", ChuckRecipeName, ProcessRecipeName, DechuckRecipeName);
  456. }
  457. Processtime.Stop();
  458. RecipeEndTime = RecipeStartTime + Processtime.Elapsed;
  459. ProcessDataRecorder.RecordPrecess(Guidall, RecipeStartTime, RecipeEndTime, FullRecipeName, "Success", WaferId, _chamber.Name, LotID, SlotID);
  460. Guidall = null;
  461. return true;
  462. }
  463. private void UpdateWaferStatus(bool bDone = true)
  464. {
  465. if (bDone == false)
  466. {
  467. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.Failed);
  468. if (_currentRecipe.Header.Type == RecipeType.Chuck)
  469. {
  470. // set wafer chucked flag even if the chuck recipe failed.
  471. WaferManager.Instance.UpdateWaferChuckStatus(Module, 0, EnumWaferChuckStatus.Chucked);
  472. }
  473. }
  474. switch (_currentRecipe.Header.Type)
  475. {
  476. case RecipeType.Process:
  477. break;
  478. case RecipeType.Chuck:
  479. WaferManager.Instance.UpdateWaferChuckStatus(Module, 0, EnumWaferChuckStatus.Chucked);
  480. break;
  481. case RecipeType.DeChuck:
  482. WaferManager.Instance.UpdateWaferProcessStatus(Module, 0, EnumWaferProcessStatus.Completed);
  483. WaferManager.Instance.UpdateWaferChuckStatus(Module, 0, EnumWaferChuckStatus.Dechucked);
  484. break;
  485. }
  486. }
  487. public void Abort()
  488. {
  489. WaferInfo waferInfo = WaferManager.Instance.GetWafer(ModuleHelper.Converter(Module.ToString()), 0);
  490. if (!waferInfo.IsEmpty)
  491. {
  492. WaferId = waferInfo.InnerId.ToString();
  493. SlotID = waferInfo.OriginSlot.ToString();
  494. LotID = waferInfo.ProcessJob == null || string.IsNullOrEmpty(waferInfo.ProcessJob.ControlJobName) ? "" : waferInfo.ProcessJob.ControlJobName;
  495. FullRecipeName = string.Format(@"{0} {1} {2}", ChuckRecipeName, ProcessRecipeName, DechuckRecipeName);
  496. }
  497. Processtime.Stop();
  498. RecipeEndTime = RecipeStartTime + Processtime.Elapsed;
  499. ProcessDataRecorder.RecordPrecess(Guidall, RecipeStartTime, RecipeEndTime, FullRecipeName, "Fail", WaferId, _chamber.Name, LotID, SlotID);
  500. Guidall = null;
  501. _chamber.GeneratorBiasPowerOn(false);
  502. _chamber.GeneratorPowerOn(false);
  503. _chamber.TurnPendulumValve(false);
  504. CloseAllValves();
  505. _chamber.OpenValve(ValveType.TurboPumpPumping, true);
  506. _chamber.OpenValve(ValveType.TurboPumpPurge, true);
  507. }
  508. }
  509. }