IAccessorRawValue.WriteRawAsync Method
Writes the symbol value asynchronously from source memory location to the ADS Device.
Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
Task<ResultWriteAccess> WriteRawAsync(
ISymbol symbolInstance,
ReadOnlyMemory<byte> writeBuffer,
CancellationToken cancel
)
Parameters
symbolInstance |
Type: TwinCAT.TypeSystem.ISymbol |
writeBuffer |
Type: System.ReadOnlyMemory.Byte. |
cancel |
Type: System.Threading.CancellationToken |
Return Value
Type: Task.ResultWriteAccess.
A task that represents the asynchronous 'WriteRaw'
operation. The ResultWriteAccess
result contains the the ErrorCode after
execution.