SumSymbolWrite.WriteAsync Method

Reads the symbol values asynchronously.

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

Syntax

C#

public Task<ResultSumCommand> WriteAsync(
    Object[] values,
    CancellationToken cancel
)

Parameters

values

Type: .System.Object.
The values.

cancel

Type: System.Threading.CancellationToken
The cancellation token

Return Value

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

Reference

SumSymbolWrite Class

TwinCAT.Ads.SumCommand Namespace

SumSymbolWrite.Write(.Object.)

SumSymbolWrite.TryWrite(.Object., .AdsErrorCode..)