IAdsStateControl.WriteControlAsync Method (AdsState, UInt16, CancellationToken)
Changes the ADS status and device status of the ADS server asynchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
Task<ResultAds> WriteControlAsync(
AdsState state,
ushort deviceState,
CancellationToken cancel
)
Parameters
state |
Type: TwinCAT.Ads.AdsState |
deviceState |
Type: System.UInt16 |
cancel |
Type: System.Threading.CancellationToken |