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: 4.3.0.0

Syntax

C#

public StateInfo ReadState(
    int timeout
)

VB

Public Function ReadState ( 
    timeout As Integer
) As StateInfo

Parameters

timeout

Type: System.Int32
The timeout.

Return Value

Type: StateInfo
The ADS statue and device status.

Exceptions

Exception

Condition

ObjectDisposedException

Reference

AdsConnection Class

ReadState Overload

TwinCAT.Ads Namespace