2.3.2
Operators and arithmetic functions
Operators
Arithmetic operators
System variables of the REAL and INT type can be linked by the following operators:
Operator
+
-
*
/
DIV
MOD
Note
Only variables of the same type may be linked by these operations.
Relational operators
Operator
==
>
<
>
<=
>=
Synchronized actions
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Meaning
Addition
Subtraction
Multiplication
Division, caution: INT/INT = REAL
Integer division, caution: INT/INT = INT
Modulo division (only for type INT) supplies remainder of an INT division
Example: 3 MOD 4 = 3
Meaning
Equal to
Not equal to
Less than
Greater than
Less than or equal to
Greater than or equal to
2.3 System variables for synchronized actions
Detailed description
19