E_BA_DataType

The enumeration is used to specify PLC data types.

Syntax

TYPE E_BA_DataType :
(
  Invalid       := 0,
  Undefined     := 1,

  eBool         := 10,
  eBit          := 11,
  eByte         := 12,
  eWord         := 13,
  eDWord        := 14,
  eLWord        := 15,
  eSInt         := 16,
  eInt          := 17,
  eDInt         := 18,
  eLInt         := 19,
  eUSInt        := 20,
  eUInt         := 21,
  eUDInt        := 22,
  eULInt        := 23,
  eReal         := 24,
  eLReal        := 25,
  eString       := 26,
  eWString      := 27,
  eTime         := 28,
  eDate         := 29,
  eDateTime     := 30,
  eTimeOfDay    := 31,

  eEnumeration  := 32,

  eStructure    := 33,
  eInterface    := 34,
) BYTE;
END_TYPE

Name

Description

Invalid

No significance for the user.

Undefined

Not specified / not set.

eBool

Variable of the data type BOOL.

eBit

Variable of the data type BIT.

eByte

Variable of the data type BYTE.

eWord

Variable of the data type WORD.

eDWord

Variable of the data type DWORD.

eLWord

Variable of the data type LWORD.

eSInt

Variable of the data type SINT.

eInt

Variable of the data type INT.

eDInt

Variable of the data type DINT.

eLInt

Variable of the data type LINT.

eUSInt

Variable of the data type USINT.

eUInt

Variable of the data type UINT.

eUDInt

Variable of the data type UDINT.

eULInt

Variable of the data type ULINT.

eReal

Variable of the data type REAL.

eLReal

Variable of the data type LREAL.

eString

Variable of the data type STRING.

eWString

Variable of the data type WSTRING.

eTime

Variable of the data type TIME

eDate

Variable of the data type DATE

eDateTime

Variable of the data type DATE_AND_TIME or DT.

eTimeOfDay

Variable of the data type TIME_OF_DAY or TOD.

eEnumeration

Variable of the data type ENUMERATION.

eStructure

Variable of the data type STRUCT.

eInterface

INTERFACE data type.

Requirements

Development environment

Required PLC library

TwinCAT 3.1 4024.35

Tc3_BA2_Common from V2.1.20.0