UInt64Cmp64

UInt64Cmp64 1:

The function compares two TwinCAT 2 unsigned 64-bit numbers (“legacy” type: T_ULARGE_INTEGER).

FUNCTION UInt64Cmp64: DINT

VAR_INPUT

VAR_INPUT
    ui64a : T_ULARGE_INTEGER;
    ui64b : T_ULARGE_INTEGER;
END_VAR

Return parameter

Description

-1

ui64a less than ui64b

0

ui64a identical to ui64b

1

ui64a greater than ui64b

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_Utilities (System)