AdsClient.Connect Method (String, Int32)

Connects to the target ADS Device.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public void Connect(
    string netId,
    int port
)

Parameters

netId

Type: System.String
The AmsNetId of the ADS target device specified as string.

port

Type: System.Int32
The port number of the ADS target device.

Implements

IAdsConnectAddress.Connect(String, Int32)

Reference

AdsClient Class

Connect Overload

TwinCAT.Ads Namespace