Sfoglia il codice sorgente

update WagoControllerCfg.xml

chenkui 2 settimane fa
parent
commit
aa349d89f3

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

@@ -491,4 +491,38 @@
 		<Ano_Out>
 		</Ano_Out>
 	</WagoDeviceConfig>
+	<WagoDeviceConfig Module="Wago4" IpAddress="127.0.0.1" Port="553" SendTimeout="2000" RecvTimeout="2000" Channel="1">
+		<Dig_In>
+			<DIGroup Name="3">
+				<DI Name="r_METAL4_PUMP_ON"  Address="0" Invert="false"/>
+				<DI Name="DI1"  Address="1" Invert="false"/>
+				<DI Name="DI2"  Address="2" Invert="false"/>
+				<DI Name="DI3"  Address="3" Invert="false"/>
+				<DI Name="DI4"  Address="4" Invert="false"/>
+				<DI Name="DI5"  Address="5" Invert="false"/>
+				<DI Name="DI6"  Address="6" Invert="false"/>
+				<DI Name="DI7"  Address="7" Invert="false"/>
+			</DIGroup>
+		</Dig_In>
+		<Dig_Out>
+			<DOGroup Name="7">
+				<DO Name="c_METAL4_PUMP_ON"  Address="512" Invert="false"/>
+				<DO Name="DO2"  Address="513" Invert="false"/>
+				<DO Name="DO3"  Address="514" Invert="false"/>
+				<DO Name="DO4"  Address="515" Invert="false"/>
+				<DO Name="DO5"  Address="516" Invert="false"/>
+				<DO Name="DO6"  Address="517" Invert="false"/>
+				<DO Name="DO7" Address="518" Invert="false"/>
+				<DO Name="DO8"  Address="519" Invert="false"/>
+			</DOGroup>
+		</Dig_Out>
+		<Ano_Out>
+			<AOGroup Name="1">
+				<AO Name="c_METAL4_PUMP_ON_SPEED"  Address="512" Scaling="0=3276.7,10000=32767" DataType="short"/>
+				<AO Name="AO2"  Address="513" DataType="short"/>
+				<AO Name="AO3"  Address="514" DataType="short"/>
+				<AO Name="AO4"  Address="515" DataType="short"/>
+			</AOGroup>
+		</Ano_Out>
+	</WagoDeviceConfig>
 </WagoControllerConfig>

+ 34 - 0
CyberX8_RT/Config/Devices/WagoControllerCfg.xml

@@ -491,4 +491,38 @@
 		<Ano_Out>
 		</Ano_Out>
 	</WagoDeviceConfig>
+	<WagoDeviceConfig Module="Wago4" IpAddress="10.0.0.31" Port="502" SendTimeout="2000" RecvTimeout="2000" Channel="1">
+		<Dig_In>
+			<DIGroup Name="3">
+				<DI Name="r_METAL4_PUMP_ON"  Address="0" Invert="false"/>
+				<DI Name="DI1"  Address="1" Invert="false"/>
+				<DI Name="DI2"  Address="2" Invert="false"/>
+				<DI Name="DI3"  Address="3" Invert="false"/>
+				<DI Name="DI4"  Address="4" Invert="false"/>
+				<DI Name="DI5"  Address="5" Invert="false"/>
+				<DI Name="DI6"  Address="6" Invert="false"/>
+				<DI Name="DI7"  Address="7" Invert="false"/>
+			</DIGroup>
+		</Dig_In>
+		<Dig_Out>
+			<DOGroup Name="7">
+				<DO Name="c_METAL4_PUMP_ON"  Address="512" Invert="false"/>
+				<DO Name="DO2"  Address="513" Invert="false"/>
+				<DO Name="DO3"  Address="514" Invert="false"/>
+				<DO Name="DO4"  Address="515" Invert="false"/>
+				<DO Name="DO5"  Address="516" Invert="false"/>
+				<DO Name="DO6"  Address="517" Invert="false"/>
+				<DO Name="DO7" Address="518" Invert="false"/>
+				<DO Name="DO8"  Address="519" Invert="false"/>
+			</DOGroup>
+		</Dig_Out>
+		<Ano_Out>
+			<AOGroup Name="1">
+				<AO Name="c_METAL4_PUMP_ON_SPEED"  Address="512" Scaling="0=3276.7,10000=32767" DataType="short"/>
+				<AO Name="AO2"  Address="513" DataType="short"/>
+				<AO Name="AO3"  Address="514" DataType="short"/>
+				<AO Name="AO4"  Address="515" DataType="short"/>
+			</AOGroup>
+		</Ano_Out>
+	</WagoDeviceConfig>
 </WagoControllerConfig>