diff --git a/App/Modules/SicModules/Config/PM/PM1/_ioDefinePM1.xml b/App/Modules/SicModules/Config/PM/PM1/_ioDefinePM1.xml index 8709fd2..8ce4d41 100644 --- a/App/Modules/SicModules/Config/PM/PM1/_ioDefinePM1.xml +++ b/App/Modules/SicModules/Config/PM/PM1/_ioDefinePM1.xml @@ -4,64 +4,68 @@ - - + + + - + - - + + - - - + + + - + - + - + - + - + - + - + - + - - - + + + - + - - - + + + + + + @@ -139,7 +143,6 @@ - @@ -244,6 +247,7 @@ + @@ -288,15 +292,15 @@ - - - - - - - - - + + + + + + + + + @@ -429,7 +433,7 @@ - + diff --git a/App/Modules/SicModules/Config/PM/PM2/_ioDefinePM2.xml b/App/Modules/SicModules/Config/PM/PM2/_ioDefinePM2.xml index c03a376..c429bf9 100644 --- a/App/Modules/SicModules/Config/PM/PM2/_ioDefinePM2.xml +++ b/App/Modules/SicModules/Config/PM/PM2/_ioDefinePM2.xml @@ -44,7 +44,7 @@ - + diff --git a/App/SicSimulator/Config/_ioDefinePM.xml b/App/SicSimulator/Config/_ioDefinePM.xml index 03f0e75..ca2b02f 100644 --- a/App/SicSimulator/Config/_ioDefinePM.xml +++ b/App/SicSimulator/Config/_ioDefinePM.xml @@ -4,64 +4,68 @@ - - + + + - + - - + + - - - + + + - + - + - + - + - + - + - + - + - - - + + + - + - - - + + + + + + @@ -139,7 +143,6 @@ - @@ -244,6 +247,7 @@ + @@ -288,15 +292,15 @@ - - - - - - - - - + + + + + + + + + @@ -429,7 +433,7 @@ - + diff --git a/App/SicSimulator/Instances/SimulatorSystem.cs b/App/SicSimulator/Instances/SimulatorSystem.cs index a61c020..2041339 100644 --- a/App/SicSimulator/Instances/SimulatorSystem.cs +++ b/App/SicSimulator/Instances/SimulatorSystem.cs @@ -101,7 +101,7 @@ namespace SicSimulator.Instances //SetWaterTemp(mod); IO.DI[$"{mod}.DI_ConfinementRingDone"].Value = true; - IO.DI[$"{mod}.DI_DryPump1Alarm"].Value = true; + IO.DI[$"{mod}.DI_DryPumpAlarm"].Value = true; IO.DI[$"{mod}.DI_DryPump1Warning"].Value = true; IO.DI[$"{mod}.DI_DryPump1Running"].Value = true; @@ -112,10 +112,11 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_EPV2FB"].Value = true; IO.DI[$"{mod}.DI_ChamPressAboveATMSW"].Value = true; - IO.DI[$"{mod}.DI_HeaterTempUpLimitAlarm"].Value = false; + IO.DI[$"{mod}.DI_HeaterTempUpLimitSW"].Value = false; IO.DI[$"{mod}.DI_ChamTopFlowSW"].Value = true; IO.DI[$"{mod}.DI_DryPump1Running"].Value = true; + IO.DI[$"{mod}.DI_ChamLidPushButtonLocal"].Value = true; IO.DI[$"{mod}.DI_ChamMoveBodyDown"].Value = true; IO.DI[$"{mod}.DI_ChamMoveBodyFront"].Value = true; @@ -130,6 +131,7 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_SHLidSwingLock"].Value = true; IO.DI[$"{mod}.DI_MiddleLidSwingLock"].Value = true; + IO.DI[$"{mod}.DI_SHGasConnectorLoosen"].Value = false; IO.DI[$"{mod}.DI_SHGasConnectorTighten"].Value = true; IO.DO[$"{mod}.DO_CleanRoutineSucceed"].Value = true; @@ -138,7 +140,7 @@ namespace SicSimulator.Instances IO.AO[$"{mod}.AO_ValveModeSetpoint"].Value = (float)2; IO.DI[$"{mod}.DI_ChamLidClosed"].Value = true; - //IO.DI[$"{mod}.DI_ChamCabDoorClosed"].Value = true; + IO.DI[$"{mod}.DI_ChamCabDoorClosed"].Value = true; IO.DI[$"{mod}.DI_ChamPressAboveATMSW"].Value = true; IO.DI[$"{mod}.DI_ChamAtSafeProcessPressSW"].Value = false; IO.DI[$"{mod}.DI_DORPressVacSW"].Value = true; @@ -146,7 +148,7 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_HeaterTempLowLimitSW"].Value = true; IO.DI[$"{mod}.DI_ConfinementRingUp"].Value = true; IO.DI[$"{mod}.DI_ConfinementRingDown"].Value = false; - + IO.DI[$"{mod}.DI_SHFlowSW"].Value = true; IO.DI[$"{mod}.DI_ChamTopFlowSW"].Value = true; IO.DI[$"{mod}.DI_ChamMiddleFlow1SW"].Value = true; IO.DI[$"{mod}.DI_ChamBottomFlowSW"].Value = true; @@ -158,7 +160,7 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_Foreline1FlowSW"].Value = true; IO.DI[$"{mod}.DI_TransformerFlowSW"].Value = true; IO.DI[$"{mod}.DI_GBH2DetectorSW"].Value = true; - + IO.DI[$"{mod}.DI_GBHCLDetectorSW"].Value = true; IO.DI[$"{mod}.DI_GBDoorClosed"].Value = true; IO.DI[$"{mod}.DI_PumpExhaustPressSW"].Value = true; IO.DI[$"{mod}.DI_PMATMSW"].Value = true; @@ -166,6 +168,7 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_FacilityIntlkSW"].Value = true; IO.DI[$"{mod}.DI_PowerRackWaterLeakSW"].Value = true; + #region TC //IO.AI[$"{mod}.AI_L1WorkingOP"].Value = 10; @@ -239,8 +242,7 @@ namespace SicSimulator.Instances //IO.AO[$"{mod}.AO_L1TempLowLimit2"].Value = 80; //IO.AO[$"{mod}.AO_L2TempLowLimit2"].Value = 80; //IO.AO[$"{mod}.AO_L3TempLowLimit2"].Value = 80; - - #endregion TC + #endregion IO.DI[$"{mod}.DI_PMH2DetectorSW"].Value = true; IO.DI[$"{mod}.DI_ProcessStopSW"].Value = false; @@ -250,19 +252,24 @@ namespace SicSimulator.Instances IO.DI[$"{mod}.DI_ReactorWaterLeakSW"].Value = true; IO.DI[$"{mod}.DI_ChamMiddleFlow1SW"].Value = true; IO.DI[$"{mod}.DI_ChamMiddleFlow2SW"].Value = true; - + IO.DI[$"{mod}.DI_PumpExhaustDPSW"].Value = true; + IO.DI[$"{mod}.DI_Spare2FlowSW"].Value = true; + IO.DI[$"{mod}.DI_Spare1FlowSW"].Value = true; IO.DI[$"{mod}.DI_H2PressureSW"].Value = true; - + IO.DI[$"{mod}.DI_TCSAlarm"].Value = true; IO.DI[$"{mod}.DI_GBExhaustDPSW"].Value = true; IO.DI[$"{mod}.DI_PMAExhaustDPSW"].Value = true; - + IO.DI[$"{mod}.DI_ServoDriverFaultSW"].Value = true; + + IO.DI[$"{mod}.DI_ServoDriverFaultSW"].Value = true; IO.DI[$"{mod}.DI_GN2InletPressSW"].Value = true; IO.DI[$"{mod}.DI_ArInletPressSW"].Value = true; IO.DI[$"{mod}.DI_FacilityWarningSW"].Value = true; - + IO.DI[$"{mod}.DI_GBNH3DetectorSW"].Value = true; + IO.DI[$"{mod}.DI_PMNH3DetectorSW"].Value = true; //IO.DI[$"{mod}.DI_InletTotalTempHighSW"].Value = true; //IO.DI[$"{mod}.DI_DryPumpFlowSW"].Value = true; @@ -337,7 +344,7 @@ namespace SicSimulator.Instances MonitorValve("PM1"); //MonitorValve("PM2"); - MonitorFlowRamp("PM1"); + //MonitorFlowRamp("PM1"); //MonitorFlowRamp("PM2"); //MonitorGasConnector("PM1"); //MonitorLid("PM1");