An operand of data type LWORD is a bit string of 64 bits.
The following table shows the properties of data type LWORD:
Length (bits) | Format | Value range | Examples of value input |
---|---|---|---|
64 | Integers (decimal system) | Signed integers: -9_223_372_036_854_775_808 to +9_223_372_036_854_775_807 Unsigned integers: 0 to 18_446_744_073_709_551_615 |
|
64 | Binary numbers | 2#0 to 2#1111_1111_1111_1111_1111_111 1_1111_1111_1111_1111_1111_111 1_1111_1111_1111_1111 |
|
64 | Octal numbers | 8#0 to 8#1_777_777_777_777_777_777_777 |
|
64 | Hexadecimal numbers | 16#0000_0000 to 16#FFFF_FFFF_FFFF_FFFF |
|
64 | Decimal sequence | B#(0, 0, 0, 0, 0, 0, 0, 0) to B#(255, 255, 255, 255, 255, 255, 255, 255) | B#(127, 200, 127, 200, 127, 200, 127, 200) |
NOTE
The LWORD data type cannot be compared for more than or less than. It can only be supplied with the same decimal data that can be processed by the LINT and ULINT data types.