AdsConnection.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: 6.0.328+39e3229

Syntax

C#

public StateInfo ReadState()

Return Value

Type: StateInfo
The ADS statue and device status.

Implements

IAdsStateProvider.ReadState.

Exceptions

Exception

Condition

ObjectDisposedException

ClientNotConnectedException

Remarks

Not all ADS Servers support the State ADS Request.

Reference

AdsConnection Class

ReadState Overload

TwinCAT.Ads Namespace