Data Types
CICON Data Types
| Data Types | ||
|---|---|---|
| Word | Definition | Synonyms |
| BOOL | Binary data type representing two possible values: true (1) or false (0). Used for ON/OFF states. | Bit, Binary, Discrete |
| NIBBLE | 4-bit data type holding an unsigned integer value between 0 ~ 16. 24 = 16 possible values. | Half-byte, Tetrad, Quartet, 4-Bit |
| BYTE | 8-bit data type holding an unsigned integer value between 0 ~ 255. 28 = 256 possible values. | Octet, 8-Bit |
| WORD | 16-bit data type holding an unsigned integer value between 0 ~ 65,535. 216 = 65,656 possible values. 2 Bytes | Integer, 16-Bit |
| DWORD | 32-bit data type holding an unsigned integer value between 0 ~ 4,294,967,295. 232 = 4,294,967,296 possible values. 4 Bytes | Double, 32-Bit |
| LWORD | 64-bit data type holding an unsigned integer value between 0 ~ 18,446,744,073,709,551,615. 264 = 18,446,744,073,709,551,616 possible values. 8 Bytes | Long, 64-Bit |
| REAL | 32-bit data type representing numbers with decimal points in relation to the IEEE 754 single-precision format. | Float, Single precision |
| LREAL | 64-bit data type representing numbers with decimal points in relation to the IEEE 754 double-precision format. | Double, Double precision |
| Unsigned | Represents a data type that hold non-negative (positive only) values. This typically doubles the range of positive values that can be stored. | Positive, Non-negative |
| Signed | Represents a data type that can hold negative and positive values. This introduces the - and + signs for values. | Positive, Negative, Sign |
| Hexadecimal | Base-16 numbering system that uses the digits 0 ~ 9 and letters A ~ F to represent values. Used to simplify binary representation. | Hex, Base-16 |