TcAdsClient Properties

The TcAdsClient type exposes the following members.

Properties

 

Name

Description

Address

Gets the AmsAddress of the ADS server (Target side)

ClientAddress

Get the AmsAddress of the ADS client (Source side)

Disposed

Determines, whether the TcAdsClient is disposed

Id

Gets the TcAdsClient Identifier.

IsConnected

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.

IsLocal

Gets a value indicating whether the ADS client is connected to a ADS Server on the local computer.

Protocol

Gets actual ADS Transport protocol

RouterState

Gets the current state of the local AMS Router.

Session

Gets the session that initiated this IConnection

Synchronize

Gets or sets a value indicating whether the TcAdsClient object synchronizes the incoming notifications (obsolete)

Timeout

Sets the timeout for the ads communication. Unit is in ms.

Reference

TcAdsClient Class

TwinCAT.Ads Namespace