BeckhoffAdsNetSetTargetAMSNetId 方法 |
目标的地址,举例 192.168.0.1.1.1;也可以是带端口号 192.168.0.1.1.1:801
The address of the destination, for example 192.168.0.1.1.1; it can also be the port number 192.168.0.1.1.1: 801
命名空间:
HslCommunication.Profinet.Beckhoff
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public void SetTargetAMSNetId(
string amsNetId
)
Public Sub SetTargetAMSNetId (
amsNetId As String
)
public:
void SetTargetAMSNetId(
String^ amsNetId
)
member SetTargetAMSNetId :
amsNetId : string -> unit
参数
- amsNetId
- 类型:SystemString
AMSNet Id地址
备注
Port:1: AMS Router; 2: AMS Debugger; 800: Ring 0 TC2 PLC; 801: TC2 PLC Runtime System 1; 811: TC2 PLC Runtime System 2;
821: TC2 PLC Runtime System 3; 831: TC2 PLC Runtime System 4; 850: Ring 0 TC3 PLC; 851: TC3 PLC Runtime System 1
852: TC3 PLC Runtime System 2; 853: TC3 PLC Runtime System 3; 854: TC3 PLC Runtime System 4; ...
参见