diff --git a/DataBlockHelper/PlcConnect.cs b/DataBlockHelper/PlcConnect.cs index cef81aa..888d8c5 100644 --- a/DataBlockHelper/PlcConnect.cs +++ b/DataBlockHelper/PlcConnect.cs @@ -1,12 +1,6 @@ -using HslCommunication.Instrument.DLT; + using HslCommunication.Profinet.Siemens; using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; namespace DataBlockHelper @@ -29,7 +23,6 @@ namespace DataBlockHelper s7.SetPersistentConnection(); s7.IpAddress = "172.18.4.100"; - //s7.IpAddress = "192.168.1.110"; s7.Port = 102; var su = s7.ConnectServer();