Int64Div64Ex

Int64Div64Ex 1:

The function divides two TwinCAT 2 signed 64-bit numbers (“legacy” type: T_LARGE_INTEGER). The result is a signed 64-bit number.

FUNCTION Int64Div64Ex: T_LARGE_INTEGER

VAR_INPUT

VAR_INPUT
    dividend  : T_LARGE_INTEGER;
    divisor   : T_LARGE_INTEGER;
END_VAR

VAR_IN_OUT

VAR_IN_OUT
    remainder : T_LARGE_INTEGER;
END_VAR

remainder: Residual.

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)