DynamicSymbol.WriteRawValueAsync Method

Writes the raw value of the IValueSymbol (Ads Read / Write)

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public Task<ResultWriteAccess> WriteRawValueAsync(
    byte[] rawValue,
    CancellationToken cancel
)

Parameters

rawValue

Type: .System.Byte.
The value as byte array.

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultWriteAccess.
A task that represents the asynchronous read operation. The ResultRead parameter contains the total number of bytes read into the buffer (ReadBytes) and the ErrorCode after execution..

Implements

IValueRawSymbol.WriteRawValueAsync(.Byte., CancellationToken)

Reference

DynamicSymbol Class

TwinCAT.TypeSystem Namespace