IAccessorRawValueReadRawAsync Method

Read a Symbol value asynchronously as bytes .


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

Syntax

C#

Task<ResultReadRawAccess> ReadRawAsync(
    ISymbol symbolInstance,
    CancellationToken cancel
)

Parameters

symbolInstance  ISymbol

The symbol instance.

cancel  CancellationToken

The cancellation token.

Return Value

Task ResultReadRawAccess
A task that represents the asynchronous 'ReadRaw' operation. The ResultReadRawAccess result contains the (Value) and the ErrorCode after execution.

Reference

IAccessorRawValue Interface TwinCAT.ValueAccess Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026