ITcAdsRaw.ReadStateAsync Method
Read the ADS State asynchronously
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultReadDeviceState> ReadStateAsync(
CancellationToken cancel
)Parameters
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultReadDeviceState>
A task that represents the asynchronous 'ReadState' operation. The ResultReadDeviceState parameter contains the value
State and the ErrorCode of the ADS communication after execution.