Supported and not supported data types

The following lists the data types supported and not supported by EASY UI Designer.

Supported data types

The following data types are supported by EASY UI Designer. The table shows the mapping between the data types of the process variables and the data types of the visualization project.

Codesys data type

OPC UA data type

EASY UI data type

Value range (EASY UI)

Size

Value range (Codesys)

BOOL

Boolean

VT_BOOL

Boolean Value (0, 1)

1 Bit

0, 1

BYTE

Byte

VT_UI1

Unsigned integer value, 1 byte (0 .. 255)

8 Bit

16#00 .. 16#FF (0 .. 255)

DATE

DateTime

VT_DATE

Date/time

32 Bit

Date/time

DT/DATE_AND_TIME

DateTime

VT_DATE

Date/time

32 Bit

Date/time

DINT

Int32

VT_I4

Signed integer value, 4 bytes (-2.147.483.648 .. 2.147.483.647)

32 Bit

-2147483648 .. 2147483647

DWORD

UInt32

VT_UI4

Unsigned integer value, 4 bytes (0 .. 4.294.967.295)

32 Bit

16#00000000 .. 16#FFFFFFFF (0 .. 4.294.967.295)

INT

Int16

VT_I2

Signed integer value, 2 bytes (-32.768 .. 32.767)

16 Bit

0, 1

LREAL

Double

VT_R8

Double-precision floating-point number, 8 bytes (≈-1.7*10308 .. +1.7*10308

64 Bit

≈ ±2.225 × 10^-308 .. ±1.798 × 10^308

REAL

Float

VT_R4

Single-precision floating-point number, 4 bytes (≈-3.4*1038 .. +3.4*1038)

32 Bit

≈ ±1,175 × 10^-38 .. ±3,403 × 10^38

SINT

SByte

VT_I1

Signed integer value, 1 byte (-128 .. 127)

8 Bit

-128 .. 127

STRING

String

VT_BSTR

The text of the length indicated in the Array size (system module parameter) parameter

String (n)

ASCII string with up to n characters

TIME

Int64

VT_UI4

It is expressed in milliseconds since midnight and should therefore be displayed as VT_UI4. However, there is currently no control for this.

32 Bit

Date/Time

TOD/TIME_OF_DAY

UInt32

VT_UI4

It is expressed in milliseconds since midnight and should therefore be displayed as VT_UI4. However, there is currently no control for this.

32 Bit

Date/Time

UDINT

UInt32

VT_UI4

Unsigned integer value, 4 bytes (0 .. 4.294.967.295)

32 Bit

0 .. 4294967295

UINT

UInt16

VT_UI2

Unsigned integer value, 2 bytes (0 .. 65.535)

16 Bit

0 .. 65535

USINT

Byte

VT_UI1

Unsigned integer value, 1 byte (0 .. 255)

8 Bit

0 .. 255

WORD

UInt16

VT_UI2

Unsinged integer value, 2 bytes (0 .. 65.535)

16 Bit

16#0000 .. 16#FFFF (0 .. 65.535)

WSTRING

String

VT_BSTR

Text of the length indicated in the Array size (system module parameter) parameter

String (n)

Unicode string with up to n characters

Additional IEC types

 

 

 

 

 

Enumeration

Variable - Enumeration

VT_I2

 

16 Bit

 

Array

Variable - Array

 

 

 

 

Structure

Variable - Structure

 

 

 

 

The display of values using exponents or superscript notation is not supported by the EASY UI Designer. Ensure that values are converted in the PLC before being transferred to the EASY UI Designer.

Unsupported data types

The following data types are not supported by EASY UI Designer. Variables with these data types cannot be imported, processed, or displayed correctly in the visualization project.

Codesys data type

OPC UA data type

Size

Value range (Codesys)

__UXINT

 

32 Bit
64 Bit

32Bit: 0 .. 4.294.967.295

64Bit: 0 .. 18.446.744.073.709.551.615

__XINT

 

32 Bit
64 Bit

32Bit: -2.147.483.648 .. 2.147.483.647

64Bit: -9.223.372.036.854.775.808 .. 9.223.372.036.854.775.807

__XWORD

 

32 Bit
64 Bit

32Bit: 0 .. 4.294.967.295

64Bit: 0 .. 18.446.744.073.709.551.615

LDATE

Int64
not supported

64 Bit

Date/Time

LDATE_AND_TIME

 

64 Bit

Date/Time

LDT

Int64
not supported

64 Bit

Date/Time

LINT

Int64

64 Bit

-2^63 .. 2^63-1

LTIME

Int64

64 Bit

Date/Time

LTOD

Int64
not supported

64 Bit

Date/Time

LWORD

UInt64

64 Bit

16#00000000 .. 16#FFFFFFFF (0 .. 4.294.967.295)

ULINT

UInt64

64 Bit

0 .. 2^64-1

Additional IEC types

 

 

 

Union

Variable for each declaration

 

 

Function Block

Object

 

 

Pointer

not supported

 

 

Reference

not supported

 

 

Interface

not supported

 

 

Method

not supported

 

 

Action

not supported

 

 

Property

not supported

 

 

Transition

not supported