diff --git a/DataBlockHelper/PlcConnect.cs b/DataBlockHelper/PlcConnect.cs index c506a62..7ca26cb 100644 --- a/DataBlockHelper/PlcConnect.cs +++ b/DataBlockHelper/PlcConnect.cs @@ -23,10 +23,10 @@ namespace DataBlockHelper s7.SetPersistentConnection(); //输送IP - s7.IpAddress = "192.168.1.110"; + // s7.IpAddress = "192.168.1.110"; //配料IP - //s7.IpAddress = "172.18.4.100"; + s7.IpAddress = "172.18.4.110"; s7.Port = 102; var su = s7.ConnectServer();