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