AdsClientConnect(AmsAddress) Method

Connects/Reconnects to the specified target address.


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public void Connect(
    AmsAddress address
)

Parameters

address  AmsAddress

The address of the target device.

Implements

IAdsConnectAddressConnect(AmsAddress)

Exceptions

Exception

Condition

ObjectDisposedException

Remarks

If the IConnection is already connected (IsConnected), this connection will be reestablished/reconnected.

Reference

AdsClient Class Connect Overload TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026