XinJETcpNet 构造函数 (XinJESeries, String, Int32, Byte) |
通过指定站号,IP地址,端口以及PLC的系列来实例化一个新的对象
Instantiate a new object by specifying the station number and PLC series
命名空间:
HslCommunication.Profinet.XINJE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public XinJETcpNet(
XinJESeries series,
string ipAddress,
int port = 502,
byte station = 1
)
Public Sub New (
series As XinJESeries,
ipAddress As String,
Optional port As Integer = 502,
Optional station As Byte = 1
)
public:
XinJETcpNet(
XinJESeries series,
String^ ipAddress,
int port = 502,
unsigned char station = 1
)
new :
series : XinJESeries *
ipAddress : string *
?port : int *
?station : byte
(* Defaults:
let _port = defaultArg port 502
let _station = defaultArg station 1
*)
-> XinJETcpNet
参数
- series
- 类型:HslCommunication.Profinet.XINJEXinJESeries
PLC的系列 - ipAddress
- 类型:SystemString
Ip地址 - port (Optional)
- 类型:SystemInt32
端口号 - station (Optional)
- 类型:SystemByte
站号信息
参见