AdsConnection.ReadState Method (Int32)

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(
    int timeout
)

Parameters

timeout

Type: System.Int32
The timeout.

Return Value

Type: StateInfo
The ADS statue and device status.

Implements

IAdsStateControlTimeout.ReadState(Int32)

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

ReadState Overload

TwinCAT.Ads Namespace