AdsClientReadState Method
Reads the ADS status and the device status from an ADS server.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public StateInfo ReadState()Return Value
StateInfo
The ADS statue and device status or an Exception with ErrorCode:
DeviceServiceNotSupported.
Remarks
Not all ADS Servers support the State ADS Request.