Browse Source

revise wago simulator bug

chenzk 1 month ago
parent
commit
278d4fa71e

+ 1 - 1
CyberX8_RT/Config/Layout/ToolLayoutConfiguration.xml

@@ -259,7 +259,7 @@
 		<!-- LOADER -->
 		<!-- LOADER -->
 
 
 		<Item i:type="Loader">
 		<Item i:type="Loader">
-			<Installed>false</Installed>
+			<Installed>true</Installed>
 			<LoaderID>1</LoaderID>
 			<LoaderID>1</LoaderID>
 			<SubType>ThunderDualPUF</SubType>
 			<SubType>ThunderDualPUF</SubType>
 			<NominalGantryPositionInMilliMeters>-326</NominalGantryPositionInMilliMeters>
 			<NominalGantryPositionInMilliMeters>-326</NominalGantryPositionInMilliMeters>

+ 12 - 13
CyberX8_Simulator/Devices/WagoSocketSimulator.cs

@@ -144,19 +144,18 @@ namespace CyberX8_Simulator.Devices
                     {{"AI1",0 },
                     {{"AI1",0 },
                      {"AI2",1},
                      {"AI2",1},
                      {"AI3",2},
                      {"AI3",2},
-                     {"AI4",3},
-                     {"r_LoaderA_LS_Vacuum_anlg",4},
-                     {"r_LoaderB_LS_Vacuum_anlg",5},
-                     {"AI6",6},
-                     {"r_LOADER_GasFlowSensor_FLOW",7},
-                     {"r_LOADERA_BERNOULLI_PRESSURE",8},
-                     {"r_LOADERB_BERNOULLI_PRESSURE",9},
-                     {"r_LOADERA_CHUCK_BLADDER",10},
-                     {"r_LOADERB_CHUCK_BLADDER",11},
-                     {"r_LOADERA_WS_BLADDER_PRESSURE",12},
-                     {"r_LOADERB_WS_BLADDER_PRESSURE",13},
-                     {"r_SPUF_VAC",14},
-                     {"r_LOADER_GasFlowSensor_VACUUM",15},};
+                     {"r_LoaderA_LS_Vacuum_anlg",3},
+                     {"r_LoaderB_LS_Vacuum_anlg",4},
+                     {"AI6",5},
+                     {"r_LOADER_GasFlowSensor_FLOW",6},
+                     {"r_LOADERA_BERNOULLI_PRESSURE",7},
+                     {"r_LOADERB_BERNOULLI_PRESSURE",8},
+                     {"r_LOADERA_CHUCK_BLADDER",9},
+                     {"r_LOADERB_CHUCK_BLADDER",10},
+                     {"r_LOADERA_WS_BLADDER_PRESSURE",11},
+                     {"r_LOADERB_WS_BLADDER_PRESSURE",12},
+                     {"r_SPUF_VAC",13},
+                     {"r_LOADER_GasFlowSensor_VACUUM",14},};
 
 
                     AONameIndexDic = new Dictionary<string, int>
                     AONameIndexDic = new Dictionary<string, int>
                     {{"AO1",0},
                     {{"AO1",0},