TwinCAT 3 System

Data Type Comparison

System Manager IEC61131-3 Correspondent .NET type C# Keyword Visual Basic Keyword Remark
BIT BOOL System.Boolean bool Boolean  
BIT8 BOOL System.Boolean bool Boolean
BITARR8 BYTE System.Byte byte Byte
BITARR16 WORD System.UInt16 ushort -
BITARR32 DWORD System.UInt32 uint -
INT8 SINT System.SByte sbyte -
INT16 INT System.Int16 short Short
INT32 DINT System.Int32 int Integer
INT64 LINT System.Int64 long Long  
UINT8 USINT System.Byte byte Byte
UINT16 UINT System.UInt16 ushort -
UINT32 UDINT System.UInt32 uint -
UINT64 ULINT System.UInt64 ulong -  
FLOAT REAL System.Single float Single
DOUBLE LREAL System.Double double Double