PanasonicMewtocolOverTcp 构造函数 (String, Int32, Byte) |
实例化一个默认的松下PLC通信对象,指定ip地址,端口,默认站号为0xEE
Instantiate a default Panasonic PLC communication object, specify the IP address, port, and the default station number is 0xEE
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public PanasonicMewtocolOverTcp(
string ipAddress,
int port,
byte station = 238
)
Public Sub New (
ipAddress As String,
port As Integer,
Optional station As Byte = 238
)
public:
PanasonicMewtocolOverTcp(
String^ ipAddress,
int port,
unsigned char station = 238
)
new :
ipAddress : string *
port : int *
?station : byte
(* Defaults:
let _station = defaultArg station 238
*)
-> PanasonicMewtocolOverTcp
参数
- ipAddress
- 类型:SystemString
Ip地址数据 - port
- 类型:SystemInt32
端口号 - station (Optional)
- 类型:SystemByte
站号信息,默认为0xEE
参见