UInt64Div16Ex

UInt64Div16Ex 1:

The function divides a TwinCAT 2 unsigned 64-bit number (“legacy” type: T_ULARGE_INTEGER) by a 16-bit unsigned number. The result is an unsigned 64-bit number.

FUNCTION UInt64Div16Ex: T_ULARGE_INTEGER

VAR_INPUT

VAR_INPUT
    dividend : T_ULARGE_INTEGER;
    divisor  : WORD;
END_VAR

VAR_IN_OUT

VAR_IN_OUT
    remainder : T_ULARGE_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)