ISumRead2S Interface

Interface ISumRead2 (supports extended Sum SubResults) Implements the ISumCommand


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

Syntax

C#

public interface ISumRead2<S> : ISumCommand

Type Parameters

S

The ISumRead2S type exposes the following members.

Properties

 

Name

Description

Capabilities

Gets the capabilities.
(Inherited from ISumCommand)

Connection

The connection used for communication.
(Inherited from ISumCommand)

Count

Gets the number of the overall SubCommands.
(Inherited from ISumCommand)

Duration

Last Execution duration of the SumCommand
(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)

ExecutedAsSum

Gets a value indicating whether the command has executed as SumCommand and not in Discrete mode
(Inherited from ISumCommand)

ExecutedDiscrete

Gets a value indicating whether the command has executed as Fallback/Discrete
(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)

FallbackMode

Gets the fallback mode.
(Inherited from ISumCommand)

IsFallback

Gets a value indicating whether the SumCommand is in Fallback state.
(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

Read2

Reads the Values.

Read2Async

Reads Symbol values as an asynchronous operation.

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)

PollValues2S

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

PollValues2S

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

Remarks

Implementations of this interface return enriched SubResults on SumCommand Reads, that include the original sourceId in its result to backtrace.

Reference

TwinCAT.Ads.SumCommand Namespace ISumCommand

Beckhoff Automation GmbH & Co. KG 2001-2026