Browse Source

add loadport upper robot station

chenkui 3 days ago
parent
commit
c9db8f18f2
2 changed files with 31 additions and 3 deletions
  1. 9 0
      PunkHPX8_RT/Config/System.sccfg
  2. 22 3
      PunkHPX8_RT/Devices/EFEM/SunWayRobot.cs

+ 9 - 0
PunkHPX8_RT/Config/System.sccfg

@@ -95,16 +95,25 @@
 			<config default="50" name="Cassete200Station_Blade1_Upper" nameView="Cassete200Station_Blade1_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="51" name="Cassete150Station_Blade1_Upper" nameView="Cassete150Station_Blade1_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="52" name="Cassete100Station_Blade1_Upper" nameView="Cassete100Station_Blade1_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="50" name="Cassete200Station_Blade2_Upper" nameView="Cassete200Station_Blade2_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="51" name="Cassete150Station_Blade2_Upper" nameView="Cassete150Station_Blade2_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="52" name="Cassete100Station_Blade2_Upper" nameView="Cassete100Station_Blade2_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 		</configs>
 		<configs name="LP2" nameView="LP2" visible="false">
 			<config default="53" name="Cassete200Station_Blade1_Upper" nameView="Cassete200Station_Blade1_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="54" name="Cassete150Station_Blade1_Upper" nameView="Cassete150Station_Blade1_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="55" name="Cassete100Station_Blade1_Upper" nameView="Cassete100Station_Blade1_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="50" name="Cassete200Station_Blade2_Upper" nameView="Cassete200Station_Blade2_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="51" name="Cassete150Station_Blade2_Upper" nameView="Cassete150Station_Blade2_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="52" name="Cassete100Station_Blade2_Upper" nameView="Cassete100Station_Blade2_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 		</configs>
 		<configs name="LP3" nameView="LP3" visible="false">
 			<config default="56" name="Cassete200Station_Blade1_Upper" nameView="Cassete200Station_Blade1_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="57" name="Cassete150Station_Blade1_Upper" nameView="Cassete150Station_Blade1_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 			<config default="58" name="Cassete100Station_Blade1_Upper" nameView="Cassete100Station_Blade1_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="50" name="Cassete200Station_Blade2_Upper" nameView="Cassete200Station_Blade2_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="51" name="Cassete150Station_Blade2_Upper" nameView="Cassete150Station_Blade2_Upper" description="Wafer 150 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
+			<config default="52" name="Cassete100Station_Blade2_Upper" nameView="Cassete100Station_Blade2_Upper" description="Wafer 100 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>
 		</configs>
 		<configs name="Dummy1" nameView="Dummy1" visible="false">
 			<config default="12" name="Cassete200Station_Blade1_Upper" nameView="Cassete200Station_Blade1_Upper" description="Wafer 200 Cassete station number" max="120" min="0" paramter="" tag="" unit="s" type="Integer" visible="false"/>

+ 22 - 3
PunkHPX8_RT/Devices/EFEM/SunWayRobot.cs

@@ -126,9 +126,9 @@ namespace PunkHPX8_RT.Devices.EFEM
             _busyTrig.RST = true;
 
 
-            InitializeModuleStation(ModuleName.LP1);
-            InitializeModuleStation(ModuleName.LP2);
-            InitializeModuleStation(ModuleName.LP3);
+            InitializeLoadPortStation(ModuleName.LP1);
+            InitializeLoadPortStation(ModuleName.LP2);
+            InitializeLoadPortStation(ModuleName.LP3);
             InitializeModuleStation(ModuleName.Aligner1);
             InitializeModuleStation(ModuleName.SRD1);
             InitializeModuleStation(ModuleName.SRD2);
@@ -167,6 +167,25 @@ namespace PunkHPX8_RT.Devices.EFEM
         /// 初始化Module Station
         /// </summary>
         /// <param name="module"></param>
+        private void InitializeLoadPortStation(ModuleName module)
+        {
+            int cassete200Station = SC.GetValue<int>($"EFEM.{module}.Cassete200Station_Blade1_Upper");
+            _moduleStationNumberDictionary[$"{module}_200_Blade1_Upper"] = cassete200Station;
+            int cassete150Station = SC.GetValue<int>($"EFEM.{module}.Cassete150Station_Blade1_Upper");
+            _moduleStationNumberDictionary[$"{module}_150_Blade1_Upper"] = cassete150Station;
+            int cassete100Station = SC.GetValue<int>($"EFEM.{module}.Cassete100Station_Blade1_Upper");
+            _moduleStationNumberDictionary[$"{module}_100_Blade1_Upper"] = cassete100Station;
+            int cassete200Blade2Station = SC.GetValue<int>($"EFEM.{module}.Cassete200Station_Blade2_Upper");
+            _moduleStationNumberDictionary[$"{module}_200_Blade2_Upper"] = cassete200Station;
+            int cassete150Blade2Station = SC.GetValue<int>($"EFEM.{module}.Cassete150Station_Blade2_Upper");
+            _moduleStationNumberDictionary[$"{module}_150_Blade2_Upper"] = cassete150Station;
+            int cassete100Blade2Station = SC.GetValue<int>($"EFEM.{module}.Cassete100Station_Blade2_Upper");
+            _moduleStationNumberDictionary[$"{module}_100_Blade2_Upper"] = cassete100Station;
+        }
+        /// <summary>
+        /// 初始化Module Station
+        /// </summary>
+        /// <param name="module"></param>
         private void InitializeModuleStation(ModuleName module)
         {
             int cassete200Station = SC.GetValue<int>($"EFEM.{module}.Cassete200Station_Blade1_Upper");