LINT data types
LINT data type is a 64-bit integer.
The LINT data type can be used in numerous instructions.
When using LINT data types, consider the guidelines described in the table.
How to | Description |
|---|---|
Move/copy two double-integer DINT values into one LINT | Create a double integer array of two elements, total of 64 bits (that is,
DINT[2]), which can then be copied into one long integer. |
Correct Date/Time Display error | When a tag has a negative value, it cannot be displayed as Date/Time. In the tag editor, check whether the value is negative by changing the style of the tag from Date/Time to Binary. When the most significant bit (leftmost one) is 1, the value is negative and therefore cannot be displayed as a Date or Time. |
Provide Feedback