chenkui преди 3 седмици
родител
ревизия
374bc8bc8e
променени са 2 файла, в които са добавени 195 реда и са изтрити 7 реда
  1. 94 0
      CyberX8_RT/Config/Devices/WagoControllerCfg-Simulator.xml
  2. 101 7
      CyberX8_RT/Config/Devices/WagoControllerCfg.xml

+ 94 - 0
CyberX8_RT/Config/Devices/WagoControllerCfg-Simulator.xml

@@ -394,4 +394,98 @@
 			</AOGroup>
 		</Ano_Out>
 	</WagoDeviceConfig>
+	<WagoDeviceConfig Module="Wago3" IpAddress="127.0.0.1" Port="552" SendTimeout="2000" RecvTimeout="2000" Channel="1">
+		<Dig_In>
+			<DIGroup Name="3">
+				<DI Name="r_SRD_FLUID_LEVEL"  Address="0" Invert="true"/>
+				<DI Name="\SRD1\r_CHUCK_VAC_OK"  Address="1" Invert="false"/>
+				<DI Name="\SRD1\r_WAFER_PRESENT"  Address="2" Invert="false"/>
+				<DI Name="\SRD1\r_LIFT_UP"  Address="3" Invert="false"/>
+				<DI Name="DI4"  Address="4" Invert="false"/>
+				<DI Name="r_SRD1_SHUTTER_OPEN"  Address="5" Invert="false"/>
+				<DI Name="r_SRD1_SHUTTER_CLOSED"  Address="6" Invert="false"/>
+				<DI Name="\SRD1\r_150_FLIPPER1_OUT"  Address="7" Invert="false"/>
+			</DIGroup>
+			<DIGroup Name="4">
+				<DI Name="\SRD1\r_150_FLIPPER2_OUT"  Address="8" Invert="false"/>
+				<DI Name="\SRD1\r_150_FLIPPER3_OUT" Address="9" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER1_OUT"  Address="10" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER2_OUT"  Address="11" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER3_OUT"  Address="12" Invert="false"/>
+				<DI Name="DI13"  Address="13" Invert="false"/>
+				<DI Name="r_CONTAINMENT_FLUID"  Address="14" Invert="true"/>
+				<DI Name="r_DOOR_INLK_OK"  Address="15" Invert="false"/>
+			</DIGroup>
+			<DIGroup Name="5">
+				<DI Name="\SRD2\r_CHUCK_VAC_OK"  Address="16" Invert="false"/>
+				<DI Name="\SRD2\r_WAFER_PRESENT"  Address="17" Invert="true"/>
+				<DI Name="\SRD2\r_LIFT_UP"  Address="18" Invert="false"/>
+				<DI Name="DI19"  Address="19" Invert="true"/>
+				<DI Name="r_SRD2_SHUTTER_OPEN "  Address="20" Invert="false"/>
+				<DI Name="r_SRD2_SHUTTER_CLOSED"  Address="21" Invert="true"/>
+				<DI Name="\SRD2\r_150_FLIPPER1_OUT"  Address="22" Invert="false"/>
+				<DI Name="\SRD2\r_150_FLIPPER2_OUT"  Address="23" Invert="true"/>
+			</DIGroup>
+			<DIGroup Name="6">
+				<DI Name="\SRD2\r_150_FLIPPER3_OUT"  Address="24" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER1_OUT"  Address="25" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER2_OUT"  Address="26" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER3_OUT"  Address="27" Invert="false"/>
+				<DI Name="DI28"  Address="28" Invert="false"/>
+				<DI Name="DI29"  Address="29" Invert="false"/>
+				<DI Name="DI30"  Address="30" Invert="false"/>
+				<DI Name="DI31"  Address="31" Invert="false"/>
+			</DIGroup>
+		</Dig_In>
+		<Dig_Out>
+			<DOGroup Name="7">
+				<DO Name="\SRD1\c_LIFT_UP"  Address="512" Invert="false"/>
+				<DO Name="\SRD1\c_150_FLIPPERS_IN"  Address="513" Invert="false"/>
+				<DO Name="\SRD1\c_200_FLIPPERS_IN"  Address="514" Invert="false"/>
+				<DO Name="c_SRD1_Shutter_Close"  Address="515" Invert="false"/>
+				<DO Name="\SRD1\c_WATER_ON"  Address="516" Invert="false"/>
+				<DO Name="c_SRD1_CHUCK_VACUUM"  Address="517" Invert="false"/>
+				<DO Name="\SRD1\c_N2_FLOW_ON" Address="518" Invert="false"/>
+				<DO Name="\SRD1\c_CHUCK_ATM_ON"  Address="519" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="8">
+				<DO Name="\SRD2\c_LIFT_UP"  Address="520" Invert="false"/>
+				<DO Name="\SRD2\c_150_FLIPPERS_IN"  Address="521" Invert="false"/>
+				<DO Name="\SRD2\c_200_FLIPPERS_IN"  Address="522" Invert="false"/>
+				<DO Name="c_SRD2_Shutter_Close"  Address="523" Invert="false"/>
+				<DO Name="\SRD2\c_WATER_ON"  Address="524" Invert="false"/>
+				<DO Name="c_SRD2_CHUCK_VACUUM"  Address="525" Invert="false"/>
+				<DO Name="\SRD2\c_N2_FLOW_ON"  Address="526" Invert="false"/>
+				<DO Name="\SRD2\c_CHUCK_ATM_ON"  Address="527" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="9">
+				<DO Name="DO16"  Address="528" Invert="false"/>
+				<DO Name="DO17"  Address="529" Invert="false"/>
+				<DO Name="DO18"  Address="530" Invert="false"/>
+				<DO Name="DO19"  Address="531" Invert="false"/>
+				<DO Name="DO20"  Address="532" Invert="false"/>
+				<DO Name="DO21"  Address="533" Invert="false"/>
+				<DO Name="DO22"  Address="534" Invert="false"/>
+				<DO Name="DO23"  Address="535" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="10">
+				<DO Name="DO25"  Address="537" Invert="false"/>
+				<DO Name="DO25"  Address="537" Invert="false"/>
+			</DOGroup>
+		</Dig_Out>
+		<Ano_In>
+			<AIGroup Name="1">
+				<AI Name="r_SRD1_CHUCK_VACUUM_anlg"  Address="0" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="r_SRD2_CHUCK_VACUUM_anlg"  Address="1" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="AI2"  Address="2" Scaling="13=0,150=32767" DataType="short"/>
+				<AI Name="AI3"  Address="3" Scaling="13=0,150=32767" DataType="short"/>
+			</AIGroup>
+			<AIGroup Name="2">
+				<AI Name="\SRD1\r_WATER_FLOW"  Address="4" Scaling="0=3276.7,2.5=32767" DataType="short"/>
+				<AI Name="\SRD2\r_WATER_FLOW"  Address="5" Scaling="0=3276.7,2.5=32767" DataType="short"/>
+				<AI Name="r_SRD_SUPPLY_WATER_PRESS"  Address="6" Scaling="0=3276.7,50=32767" DataType="short"/>
+				<AI Name="AI7"  Address="7" Scaling="13=0,150=32767" DataType="short"/>
+			</AIGroup>
+		</Ano_In>
+	</WagoDeviceConfig>
 </WagoControllerConfig>

+ 101 - 7
CyberX8_RT/Config/Devices/WagoControllerCfg.xml

@@ -290,9 +290,9 @@
 			</AIGroup>
 			<AIGroup Name="3">
 				<AI Name="AI8"  Address="8" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
-				<AI Name="r_SYSTEM_EXHAUST"  Address="9" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="r_SYSTEM_EXHAUST"  Address="9" Scaling="0=0, 2=32767" DataType="short"/>
 				<AI Name="r_PREWET_FLOW"  Address="10" Scaling="0=3276.7,40=32767" DataType="short"/>
-				<AI Name="r_DI_WATER_PRESSURE"  Address="11" Scaling="0=3276.7,100=32767" DataType="short"/>
+				<AI Name="r_DI_WATER_PRESSURE"  Address="11" Scaling="0=0, 100=32767" DataType="short"/>
 			</AIGroup>
 			<AIGroup Name="4">
 				<AI Name="r_PUMP1_FLOW"  Address="12" Scaling="0=3276.7,40=16383.5" DataType="short"/>
@@ -340,11 +340,11 @@
 				<AI Name="AI40"  Address="40" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
 				<AI Name="AI41"  Address="41" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
 				<AI Name="AI42"  Address="42" Scaling="13=0,150=32767" DataType="short"/>
-				<AI Name="r_HCW_FLOW"  Address="43" Scaling="0=3276.7,40=32767" DataType="short"/>
+				<AI Name="r_HCW_FLOW"  Address="43" Scaling="0=0, 40=32767" DataType="short"/>
 			</AIGroup>
 			<AIGroup Name="12">
-				<AI Name="r_CDA_EXTERNAL_PRESSURE"  Address="44" Scaling="0=3276.7,145=16383.5" DataType="short"/>
-				<AI Name="r_CDA_HIGH_PRESSURE"  Address="45" Scaling="0=3276.7,145=16383.5" DataType="short"/>
+				<AI Name="r_CDA_EXTERNAL_PRESSURE"  Address="44" Scaling="0=3276.7, 145=16383.5" DataType="short"/>
+				<AI Name="r_CDA_HIGH_PRESSURE"  Address="45" Scaling="0=3276.7, 145=16383.5" DataType="short"/>
 				<AI Name="r_CDA_LOW_PRESSURE"  Address="46" Scaling="0=3276.7,145=16383.5" DataType="short"/>
 				<AI Name="AI47"  Address="47" Scaling="13=0,150=32767" DataType="short"/>
 			</AIGroup>
@@ -356,8 +356,8 @@
 			</AIGroup>
 			<AIGroup Name="14">
 				<AI Name="r_N2_2A_PRESSURE"  Address="52" Scaling="0=3276.7,145=16383.5" DataType="short"/>
-				<AI Name="r_N2_BLANKET_PRESSURE"  Address="53" Scaling="0=3276.7,14.5=16383.5" DataType="short"/>
-				<AI Name="r_SYSTEM_VACUUM"  Address="54" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="r_N2_BLANKET_PRESSURE"  Address="53" Scaling="-14.5=3276.7, 14.5=16383.5" DataType="short"/>
+				<AI Name="r_SYSTEM_VACUUM"  Address="54" Scaling="-750=3276.7, 750=16383.5" DataType="short"/>
 				<AI Name="AI55"  Address="55" Scaling="13=0,150=32767" DataType="short"/>
 			</AIGroup>
 		</Ano_In>
@@ -394,4 +394,98 @@
 			</AOGroup>
 		</Ano_Out>
 	</WagoDeviceConfig>
+	<WagoDeviceConfig Module="Wago3" IpAddress="10.0.0.15" Port="502" SendTimeout="2000" RecvTimeout="2000" Channel="1">
+		<Dig_In>
+			<DIGroup Name="3">
+				<DI Name="r_SRD_FLUID_LEVEL"  Address="0" Invert="true"/>
+				<DI Name="\SRD1\r_CHUCK_VAC_OK"  Address="1" Invert="false"/>
+				<DI Name="\SRD1\r_WAFER_PRESENT"  Address="2" Invert="false"/>
+				<DI Name="\SRD1\r_LIFT_UP"  Address="3" Invert="false"/>
+				<DI Name="DI4"  Address="4" Invert="false"/>
+				<DI Name="r_SRD1_SHUTTER_OPEN"  Address="5" Invert="false"/>
+				<DI Name="r_SRD1_SHUTTER_CLOSED"  Address="6" Invert="false"/>
+				<DI Name="\SRD1\r_150_FLIPPER1_OUT"  Address="7" Invert="false"/>
+			</DIGroup>
+			<DIGroup Name="4">
+				<DI Name="\SRD1\r_150_FLIPPER2_OUT"  Address="8" Invert="false"/>
+				<DI Name="\SRD1\r_150_FLIPPER3_OUT" Address="9" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER1_OUT"  Address="10" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER2_OUT"  Address="11" Invert="false"/>
+				<DI Name="\SRD1\r_200_FLIPPER3_OUT"  Address="12" Invert="false"/>
+				<DI Name="DI13"  Address="13" Invert="false"/>
+				<DI Name="r_CONTAINMENT_FLUID"  Address="14" Invert="true"/>
+				<DI Name="r_DOOR_INLK_OK"  Address="15" Invert="false"/>
+			</DIGroup>
+			<DIGroup Name="5">
+				<DI Name="\SRD2\r_CHUCK_VAC_OK"  Address="16" Invert="false"/>
+				<DI Name="\SRD2\r_WAFER_PRESENT"  Address="17" Invert="true"/>
+				<DI Name="\SRD2\r_LIFT_UP"  Address="18" Invert="false"/>
+				<DI Name="DI19"  Address="19" Invert="true"/>
+				<DI Name="r_SRD2_SHUTTER_OPEN "  Address="20" Invert="false"/>
+				<DI Name="r_SRD2_SHUTTER_CLOSED"  Address="21" Invert="true"/>
+				<DI Name="\SRD2\r_150_FLIPPER1_OUT"  Address="22" Invert="false"/>
+				<DI Name="\SRD2\r_150_FLIPPER2_OUT"  Address="23" Invert="true"/>
+			</DIGroup>
+			<DIGroup Name="6">
+				<DI Name="\SRD2\r_150_FLIPPER3_OUT"  Address="24" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER1_OUT"  Address="25" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER2_OUT"  Address="26" Invert="false"/>
+				<DI Name="\SRD2\r_200_FLIPPER3_OUT"  Address="27" Invert="false"/>
+				<DI Name="DI28"  Address="28" Invert="false"/>
+				<DI Name="DI29"  Address="29" Invert="false"/>
+				<DI Name="DI30"  Address="30" Invert="false"/>
+				<DI Name="DI31"  Address="31" Invert="false"/>
+			</DIGroup>
+		</Dig_In>
+		<Dig_Out>
+			<DOGroup Name="7">
+				<DO Name="\SRD1\c_LIFT_UP"  Address="512" Invert="false"/>
+				<DO Name="\SRD1\c_150_FLIPPERS_IN"  Address="513" Invert="false"/>
+				<DO Name="\SRD1\c_200_FLIPPERS_IN"  Address="514" Invert="false"/>
+				<DO Name="c_SRD1_Shutter_Close"  Address="515" Invert="false"/>
+				<DO Name="\SRD1\c_WATER_ON"  Address="516" Invert="false"/>
+				<DO Name="c_SRD1_CHUCK_VACUUM"  Address="517" Invert="false"/>
+				<DO Name="\SRD1\c_N2_FLOW_ON" Address="518" Invert="false"/>
+				<DO Name="\SRD1\c_CHUCK_ATM_ON"  Address="519" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="8">
+				<DO Name="\SRD2\c_LIFT_UP"  Address="520" Invert="false"/>
+				<DO Name="\SRD2\c_150_FLIPPERS_IN"  Address="521" Invert="false"/>
+				<DO Name="\SRD2\c_200_FLIPPERS_IN"  Address="522" Invert="false"/>
+				<DO Name="c_SRD2_Shutter_Close"  Address="523" Invert="false"/>
+				<DO Name="\SRD2\c_WATER_ON"  Address="524" Invert="false"/>
+				<DO Name="c_SRD2_CHUCK_VACUUM"  Address="525" Invert="false"/>
+				<DO Name="\SRD2\c_N2_FLOW_ON"  Address="526" Invert="false"/>
+				<DO Name="\SRD2\c_CHUCK_ATM_ON"  Address="527" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="9">
+				<DO Name="DO16"  Address="528" Invert="false"/>
+				<DO Name="DO17"  Address="529" Invert="false"/>
+				<DO Name="DO18"  Address="530" Invert="false"/>
+				<DO Name="DO19"  Address="531" Invert="false"/>
+				<DO Name="DO20"  Address="532" Invert="false"/>
+				<DO Name="DO21"  Address="533" Invert="false"/>
+				<DO Name="DO22"  Address="534" Invert="false"/>
+				<DO Name="DO23"  Address="535" Invert="false"/>
+			</DOGroup>
+			<DOGroup Name="10">
+				<DO Name="DO25"  Address="537" Invert="false"/>
+				<DO Name="DO25"  Address="537" Invert="false"/>
+			</DOGroup>
+		</Dig_Out>
+		<Ano_In>
+			<AIGroup Name="1">
+				<AI Name="r_SRD1_CHUCK_VACUUM_anlg"  Address="0" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="r_SRD2_CHUCK_VACUUM_anlg"  Address="1" Scaling="0=3276.7,-757.5=16383.5" DataType="short"/>
+				<AI Name="AI2"  Address="2" Scaling="13=0,150=32767" DataType="short"/>
+				<AI Name="AI3"  Address="3" Scaling="13=0,150=32767" DataType="short"/>
+			</AIGroup>
+			<AIGroup Name="2">
+				<AI Name="\SRD1\r_WATER_FLOW"  Address="4" Scaling="0=3276.7,2.5=32767" DataType="short"/>
+				<AI Name="\SRD2\r_WATER_FLOW"  Address="5" Scaling="0=3276.7,2.5=32767" DataType="short"/>
+				<AI Name="r_SRD_SUPPLY_WATER_PRESS"  Address="6" Scaling="0=3276.7,50=32767" DataType="short"/>
+				<AI Name="AI7"  Address="7" Scaling="13=0,150=32767" DataType="short"/>
+			</AIGroup>
+		</Ano_In>
+	</WagoDeviceConfig>
 </WagoControllerConfig>