IValueRawSymbol.WriteRawValueAsync Method

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


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

rawValue  Byte[]

The value as byte array.

cancel  CancellationToken

The cancellation token.

Return Value

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..

See Also

Reference

IValueRawSymbol Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026