meta data for this page
TIA Coding of data types
The following table lists the coding of data types for the ANY pointer:
| Hexadecimal code | Data type | Description |
|---|---|---|
| B#16#00 | NIL | Null pointer |
| B#16#01 | BOOL | Bits |
| B#16#02 | BYTE | bytes, 8 bits |
| B#16#03 | CHAR | 8-bit characters |
| B#16#04 | WORD | 16-bit words |
| B#16#05 | INT | 16-bit integers |
| B#16#06 | DWORD | 32-bit words |
| B#16#07 | DINT | 32-bit integers |
| B#16#08 | REAL | 32-bit floating-point numbers |
| B#16#0B | TIME | Time duration |
| B#16#0C | S5TIME | Time duration |
| B#16#09 | DATE | Date |
| B#16#0A | TOD | Date and time |
| B#16#0E | DT | Date and time |
| B#16#13 | STRING | Character string |
| B#16#17 | BLOCK_FB | Function block |
| B#16#18 | BLOCK_FC | Function |
| B#16#19 | BLOCK_DB | Data block |
| B#16#1A | BLOCK_SDB | System data block |
| B#16#1C | COUNTER | Counter |
| B#16#1D | TIMER | Timer |