IAdsStateProvider.ReadState Method

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

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

StateInfo ReadState()

Return Value

Type: StateInfo
The ADS statue and device status or an Exception with ErrorCode: DeviceServiceNotSupported.

Remarks

Not all ADS Servers support the State ADS Request.

Reference

IAdsStateProvider Interface

TwinCAT.Ads Namespace