UInt64Add64Ex

UInt64Add64Ex 1:

The function adds two TwinCAT 2 unsigned 64-bit numbers (“legacy” type: T_ULARGE_INTEGER). The result is an unsigned 64-bit number.

UInt64Add64Ex 2: Return value

Name

Type

Description

UInt64Add64Ex

T_ULARGE_INTEGER

 

UInt64Add64Ex 3: Inputs

VAR_INPUT
    augend : T_ULARGE_INTEGER;
    addend : T_ULARGE_INTEGER;
END_VAR

Name

Type

Description

augend

T_ULARGE_INTEGER

 

addend

T_ULARGE_INTEGER

 

UInt64Add64Ex 4:/UInt64Add64Ex 5: Inputs/outputs

VAR_IN_OUT
    bOV    : BOOL;(* TRUE => arithmetic overflow, FALSE => no overflow *)
END_VAR

Name

Type

Description

bOV

BOOL

Arithmetic overflow. TRUE => overflow, FALSE => no overflow.

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)