EasyManuals Logo

JUMO LOGOSCREEN 601 Manual

JUMO LOGOSCREEN 601
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #37 background imageLoading...
Page #37 background image
37
8 Functions
8.2 Arithmetic functions
Admissible data types
Argument: UINT, UDINT, REAL (only REAL for negation, only UINT or UDINT for modulo)
Result: UINT, UDINT, REAL
Addition
Addition is an expandable function. The sum of the arguments is returned as the result.
Example:
OUT := IN1 + IN2 + ... INn;
Subtraction
The second argument is subtracted from the first argument as a result.
Example:
OUT := IN1 - IN2;
Multiplication
Multiplication is an expandable function. The result is obtained by multiplying the arguments.
Example:
OUT := IN1 * IN2 * ...INn;
Division
The quotient of the two arguments is returned as the result.
The result of the division of integers (UINT or UDINT) is an integer with truncation of the decimal places
(example: 7/3 = 2).
Example:
OUT := IN1 / IN2;
Negation
REAL numbers can be negated.
Example:
OUT := -IN;
Modulo
The arguments of the modulo function (%) must be integers (UINT or UDINT). The result is the remainder
from the division of both numbers (example: 17/3 = 5, remainder 2).
Example:
OUT := IN1 % IN2;

Other manuals for JUMO LOGOSCREEN 601

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the JUMO LOGOSCREEN 601 and is the answer not in the manual?

JUMO LOGOSCREEN 601 Specifications

General IconGeneral
BrandJUMO
ModelLOGOSCREEN 601
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals