ISumRead Interface

Interface ISumRead Implements the ISumCommand

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

Syntax

C#

public interface ISumRead : ISumCommand

The ISumRead type exposes the following members.

Properties

 

Name

Description

Connection

The connection used for communication. (Inherited from ISumCommand.)

ErrorStrategy

Gets the error strategy of the ISumCommand (Inherited from ISumCommand.)

Executed

Gets a value indicating whether this ISumCommand was already executed. (Inherited from ISumCommand.)

Failed

Gets a value indicating whether this ISumCommand failed. (Inherited from ISumCommand.)

FailedCount

Gets the count of failed subcommands. (Inherited from ISumCommand.)

Result

Gets the AdsErrorCode of the main SumCommandBase ADS Request (Inherited from ISumCommand.)

SubResults

Gets the sub results of the single Sub Requests. (Inherited from ISumCommand.)

Succeeded

Gets a value indicating whether this ISumCommand is succeeded. (Inherited from ISumCommand.)

SucceededCount

Gets the count of succeeded subcommands. (Inherited from ISumCommand.)

Methods

 

Name

Description

Read

Reads the combined (Sum) Symbols and returns them as value array.

ReadAsResult

Reads the combined (Sum) Symbols and returns them as Result object.

ReadAsync

Reads Symbol values as an asynchronous operation.

TryRead

Reads the specified symbols.

Extension Methods

 

Name

Description

AllFailed

Gets a value indicating, that all SubCommands failed. (Defined by ISumCommandExtension.)

AllSucceeded

Gets a value indicating, that all SubCommands succeeded. (Defined by ISumCommandExtension.)

FirstSubError

Gets the first SubError that is not NoError (Defined by ISumCommandExtension.)

OneFailed

Gets a value indicating, whether the overall Sumcommand failed (checking all subcommand results). (Defined by ISumCommandExtension.)

OneSucceeded

Gets a value indicating, whether the overall SumCommand succeeded (including all subcommands) (Defined by ISumCommandExtension.)

OverallError

Gets the Overall (combined error) from SumCommand AND SubCommands. (Defined by ISumCommandExtension.)

PollValues(IObservable.Unit.)

Overloaded.

Polls a series of symbols via a ISumRead command. The SumCommand will read all contained values with every trigger. (Defined by ValueSymbolExtensions.)

PollValues(TimeSpan)

Overloaded.

Polls a series of symbols via a ISumRead2.S. command. The SumCommand will read all contained values with every trigger in one roundtrip. (Defined by ValueSymbolExtensions.)

Reference

TwinCAT.Ads.SumCommand Namespace

TwinCAT.Ads.SumCommand.ISumCommand

TwinCAT.Ads.SumCommand.ISumRead2.S.