IAdsConnectAddress.Connect Method (String, Int32)

Connects to the target ADS Device.

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

Syntax

C#

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.

Reference

IAdsConnectAddress Interface

Connect Overload

TwinCAT.Ads Namespace