ITcAdsRawAny.WriteAnyAsync Method
Write the value of an Anytype (Primitive type) asynchronously.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
Task<ResultWrite> WriteAnyAsync(
uint indexGroup,
uint indexOffset,
Object value,
int[] args,
CancellationToken cancel
)Parameters
|
indexGroup UInt32 |
The index group. |
|
indexOffset UInt32 |
The index offset. |
|
value Object |
The value. |
|
args Int32[] |
The type arguments (AnyType) |
|
cancel CancellationToken |
The cancellation token. |
Return Value
Task<ResultWrite>
A task that represents the asynchronous 'ReadState' operation. The ResultWrite parameter contains the value
the ErrorCode of the ADS communication after execution.