SumSymbolRead.ReadAsync Method

Reads Symbol values as an asynchronous operation.

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

Syntax

C#

public Task<ResultSumValues> ReadAsync(
    CancellationToken cancel
)

Parameters

cancel

Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task.ResultSumValues.
An asynchronous task that represents the 'Read' operation and returns a ResultSumValues. The overall error return code is contained in the ErrorCode property.

Implements

ISumRead.ReadAsync(CancellationToken)

Reference

SumSymbolRead Class

TwinCAT.Ads.SumCommand Namespace

SumSymbolRead.Read.

SumSymbolRead.TryRead(.Object.., .AdsErrorCode..)