AdsClient.IsConnected Property

Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available.

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

Syntax

C#

public bool IsConnected { get; }

Property Value

Type: Boolean
true if this instance is connected; otherwise, false.

Implements

IConnection.IsConnected

Reference

AdsClient Class

TwinCAT.Ads Namespace