UInt64Add64Ex
Die Funktion addiert zwei TwinCAT 2 vorzeichenlose 64 Bit Zahlen („legacy“-Typ: T_ULARGE_INTEGER). Das Ergebnis ist eine vorzeichenlose 64 Bit Zahl.
FUNCTION UInt64Add64Ex: T_ULARGE_INTEGER
VAR_INPUT
VAR_INPUT
augend : T_ULARGE_INTEGER;
addend : T_ULARGE_INTEGER;
END_VAR
VAR_IN_OUT
VAR_IN_OUT
bOV : BOOL;(* TRUE => arithmetic overflow, FALSE => no overflow *)
END_VAR
bOV: Arithmentischer Überlauf. TRUE => Überlauf, FALSE => kein Überlauf.
Voraussetzungen
Entwicklungsumgebung | Zielplattform | Einzubindende SPS-Bibliotheken (Kategoriegruppe) |
---|---|---|
TwinCAT v3.1.0 | PC oder CX (x86, x64, ARM) | Tc2_Utilities (System) |