SumFallbackMode Enumeration

Enum SumFallbackMode (SumCommand operation modes)


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

Syntax

C#

public enum SumFallbackMode

Members

Member name

Value

Description

All

0

SumCommand is used if available, if not the ISumCommand falls back to Discrete mode.

Sum

1

Only uses SumMode (Discrete mode is not allowed)

Discrete

2

Only uses Discrete Mode (Sum mode is not allowed)

Remarks

Not all AdsServer systems support SumCommands. To enable using these targets transparently together with ISumCommand implementation classes a Discrete mode will be supported what means that the SumCommand is split to 'discrete' standard ADS communication rountrips with unoptimized timing.

Mode

Description

Sum

Only one optimized ADS Request/Response is used (one rountrip), no fallback if it is not supportd.

Discrete

Only discrete ADS Request/Responses are forced. Executing it will trigger a number of Count ADS rountrips.

All

This mode tries first the Sum and if that is unsupported by the target, it falls back to the Discrete mode. This would lead to one ADS rountrip (if SumCommands are suppported) or Count + 1 roundtrips if not.

Reference

TwinCAT.Ads.SumCommand Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026