DynamicValue.UpdateMode Property

Gets / Sets the update mode

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

Syntax

C#

public ValueUpdateMode UpdateMode { get; set; }

Property Value

Type: ValueUpdateMode
The update mode.

Implements

IValue.UpdateMode

Remarks

The default value is initialized by the creating Value Factory.

Mode

Description

Immediately

Writes the values of this DynamicValue"/> instantly when setting its value or the value of its child members/elements.

Triggered

Caches internally the value of this DynamicValue"/> until the Write. method is called. This reduces ADS rountrips, if one or more member/element values should be changed. Furthermore the write on the destination system happens consistently in one ADS Write operation, which could be important for dependent properties/members/elements.

Reference

DynamicValue Class

TwinCAT.TypeSystem Namespace

TwinCAT.ValueAccess.ValueUpdateMode