Symbol.WriteRawValueAsync Method

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

Namespace:  TwinCAT.Ads.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

Symbol Class

TwinCAT.Ads.TypeSystem Namespace