E_BA_DataType

Die Enumeration dient der Spezifizierung von SPS-Datentypen.

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

Beschreibung

Invalid

Keine Bedeutung für den Anwender.

Undefined

Nicht spezifiziert / nicht gesetzt.

eBool

Variable vom Datentyp BOOL.

eBit

Variable vom Datentyp BIT.

eByte

Variable vom Datentyp BYTE.

eWord

Variable vom Datentyp WORD.

eDWord

Variable vom Datentyp DWORD.

eLWord

Variable vom Datentyp LWORD.

eSInt

Variable vom Datentyp SINT.

eInt

Variable vom Datentyp INT.

eDInt

Variable vom Datentyp DINT.

eLInt

Variable vom Datentyp LINT.

eUSInt

Variable vom Datentyp USINT.

eUInt

Variable vom Datentyp UINT.

eUDInt

Variable vom Datentyp UDINT.

eULInt

Variable vom Datentyp ULINT.

eReal

Variable vom Datentyp REAL.

eLReal

Variable vom Datentyp LREAL.

eString

Variable vom Datentyp STRING.

eWString

Variable vom Datentyp WSTRING.

eTime

Variable vom Datentyp TIME

eDate

Variable vom Datentyp DATE

eDateTime

Variable vom Datentyp DATE_AND_TIME bzw. DT.

eTimeOfDay

Variable vom Datentyp TIME_OF_DAY bzw. TOD.

eEnumeration

Variable vom Datentyp ENUMERATION.

eStructure

Variable vom Datentyp STRUCT.

eInterface

Datentyp INTERFACE.

Voraussetzungen

Entwicklungsumgebung

Erforderliche SPS-Bibliothek

TwinCAT3.1 4024.35

Tc3_BA2_Common ab V2.1.20.0