AllenBradleyNet 构造函数 (String, Int32) |
Instantiate a communication object for a Allenbradley PLC protocol
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法public AllenBradleyNet(
string ipAddress,
int port = 44818
)
Public Sub New (
ipAddress As String,
Optional port As Integer = 44818
)
public:
AllenBradleyNet(
String^ ipAddress,
int port = 44818
)
new :
ipAddress : string *
?port : int
(* Defaults:
let _port = defaultArg port 44818
*)
-> AllenBradleyNet
参数
- ipAddress
- 类型:SystemString
PLC IpAddress - port (Optional)
- 类型:SystemInt32
PLC Port
参见