From 128085efc6397d0ba2ffb552e8544f2e6b87ca14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E5=8F=AB=E9=94=84=E5=A4=B4?= Date: Wed, 3 Jan 2024 09:36:55 +0800 Subject: [PATCH] 172.18.4.110 --- DataBlockHelper/PlcConnect.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();