Int64Cmp64

This function compares two signed 64 bit integers.
FUNCTION Int64Cmp64: DINT
VAR_INPUT
VAR_INPUT
i64a : T_LARGE_INTEGER;
i64b : T_LARGE_INTEGER;
END_VAR
Return value | Description |
---|---|
-1 | i64a is less than i64b |
0 | i64a is equal to i64b |
1 | i64a is greater than i64b |
Requirements
Development environment | Target system type | PLC libraries to include |
---|---|---|
TwinCAT v2.10.0 Build > 1321 | PC or CX (x86, ARM) | TcUtilities.Lib |
See also