LREAL_TO_INT64

LREAL_TO_INT64 1:

The function converts an LREAL number into a TwinCAT 2 signed 64-bit number (“legacy” type: T_LARGE_INTEGER).

FUNCTION LREAL_TO_INT64: T_LARGE_INTEGER

VAR_INPUT

VAR_INPUT
    in : LREAL;
END_VAR

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)