| Source: TwinCAT System Manager - I/O Variables from www.beckhoff.com or ftp://ftp.beckhoff.com/Software/TwinCAT/InfoSystem |
| 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 | Integer type with size of 8 bytes. |
| UINT8 | USINT | System.Byte | byte | Byte | |
| UINT16 | UINT | System.UInt16 | ushort | - | |
| UINT32 | UDINT | System.UInt32 | uint | - | |
| UINT64 | ULINT | System.UInt64 | ulong | - | Unsigned integer type with size of 8 bytes. |
| FLOAT | REAL | System.Single | float | Single | |
| DOUBLE | LREAL | System.Double | double | Double |