ValueCreationModes Enumeration

Creation mode for Values


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

Syntax

C#

[FlagsAttribute]
public enum ValueCreationModes

Members

Member name

Value

Description

None

0

None / Uninitialized Mask

Primitives

1

Convert to .NET Primitives, wherever possible.

Default

1

Default settings for the value creation mode (Translate to Primitives)

Enums

2

Use IEnumValue on EnumTypes instead of .NET Primitives

FullDynamics

4

Wraps all Primitives also in IValue Objects

PlcOpenTypes

8

Use PlcOpen Times (TIME, LTIME, DT, TOD, DATETIME) instead of .NET Primitives DateTime and TimeSpan

Remarks

This setting is used by the ValueFactory/ to create Read values. In default primitive mode all values will be transferred to Primitive .NET Symbols if possible. E.g PlcOpen.TIME --> TimeSpan, IEnumValue --> .NET Primitives. They won't be wrapped into

Reference

TwinCAT.ValueAccess Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026