ITcAdsRawWriteControlAsync Method
Writes the AdsState and device state to the ADS device.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultAds> WriteControlAsync(
AdsState adsState,
ushort deviceState,
ReadOnlyMemory<byte> writeBuffer,
CancellationToken cancel
)Parameters
|
adsState AdsState |
State of the ads. |
|
deviceState UInt16 |
State of the device. |
|
writeBuffer ReadOnlyMemoryByte |
The write buffer. |
|
cancel CancellationToken |
The cancellation token. |