ET_VarType

Overview

Type:

Enumeration

Available as of:

V1.0.0.0

Description

The enumeration ET_VarType specifies the OPC variable types.

Enumeration Elements

Name

Value

Description

This OPC variable types correspond to the IEC 61131-3 data types:

UATypeNull

0

-

UATypeBool

1

BOOL

UATypeSByte

2

SINT

UATypeByte

3

USINT

UATypeInt16

4

INT

UATypeUInt16

5

UINT

UATypeInt32

6

DINT

UATypeUInt32

7

UDINT

UATypeInt64

8

LINT

UATypeUInt64

9

ULINT

UATypeFloat

10

REAL

UATypeDouble

11

LREAL

UATypeString

12

STRING

(Maximum length of string equals to 255 bytes).

UATypeDateTime

13

DT

UATypeByteString

17

ARRAY OF BYTE

(Exclusive to UA_MethodCall.)

UATypeLocalizedText

21

The type UATypeLocalizedText corresponds to the data type UALocalizedText. The variable described using this type must be of data type UALocalizedText.

NOTE: Variables with data type ET_VarType.UATypeLocalizedText are exclusive to Modicon M262 Logic/Motion Controllers with firmware version V5.2.8.27 or greater.

UATypeSubString

98

STRING

(Maximum length of string equals to 255 bytes).

UATypeIECSymbol

99

The value UATypeIECSymbol allows you to configure the client by using the Symbol configuration:

  • Publish the buffer allocated in the application in the Symbol configuration.

  • Address a string containing the buffer name at pbyBuffer and specify the size at udiBufferSize.

For a code example, refer to ST_Variable, Code Example.

Used By

  • ST_Variable