AdsClient.Connect Method (AmsNetId, 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(
    AmsNetId netId,
    int port
)

Parameters

netId

Type: TwinCAT.Ads.AmsNetId
The AmsNetId of the target device.

port

Type: System.Int32
The Ams Port number on the target device to connect to.

Implements

IAdsConnectAddress.Connect(AmsNetId, Int32)

Reference

AdsClient Class

Connect Overload

TwinCAT.Ads Namespace