TcAdsClient.ReadState Method

Reads the ADS status and the device status from an ADS server.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public StateInfo ReadState()

VB

Public Function ReadState As StateInfo

Return Value

Type: StateInfo
The ADS statue and device status.

Exceptions

Exception

Condition

AdsErrorException

Thrown when the ADS call fails.

Reference

TcAdsClient Class

TwinCAT.Ads Namespace