|
|
@ -26,7 +26,7 @@ namespace DataBlockHelper
|
|
|
|
//s7.IpAddress = "192.168.1.110";
|
|
|
|
//s7.IpAddress = "192.168.1.110";
|
|
|
|
|
|
|
|
|
|
|
|
//配料IP
|
|
|
|
//配料IP
|
|
|
|
s7.IpAddress = "127.18.4.100";
|
|
|
|
s7.IpAddress = "172.18.4.100";
|
|
|
|
|
|
|
|
|
|
|
|
s7.Port = 102;
|
|
|
|
s7.Port = 102;
|
|
|
|
var su = s7.ConnectServer();
|
|
|
|
var su = s7.ConnectServer();
|
|
|
|