11 arithmetic block (aritph), Arithmetic block (aritph), Function library – Lenze EVS9332xS User Manual
Page 84: Function blocks, Function, The function block limits the result (see table)

Function library
Function blocks
3.2.11
Arithmetic block (ARITPH)
3−32
l
EDSVS9332S−EXT EN 2.0
3.2.11
Arithmetic block (ARITPH)
Purpose
The FB ARITPH calculates a angle output signal from two angle input signals.
ARITPH1
+
-
*
/
C1010
x
y
ARITPH1
ARITPH1-OUT
C1012/1
±2 -1
30
C1012/2
ARITPH1-IN1
Mode
ARITPH1-IN2
C1011/1
C1011/2
Fig. 3−28
Function block ARITPH1
Signal
Source
Note
Name
Type
DIS
DIS format
CFG
List
ARITPH1−IN1
ph
C1012/1
dec [inc]
C1011/1
3
−
ARITPH1−IN2
ph
C1012/2
dec [inc]
C1011/2
3
−
ARITPH1−OUT
ph
−
−
−
−
Function
l
Selection of the arithmetic function with the code ARITPH mode.
l
The function block limits the result (see table)
ARITPH mode
Arithmetic function
Limitation
C1010 = 0
OUT = IN1
2
30
−1
C1010 = 1
OUT = IN1 + IN2
2
30
−1
C1010 = 2
OUT = IN1 − IN2
2
30
−1
C1010 = 3
OUT = (IN1 * IN2) / 2
30
2
30
−1
(remainder not considered)
C1010 = 13
OUT = IN1 * IN2
2
31
C1010 = 14
OUT = IN1 / IN2
2
30
−1
(remainder not considered)
C1010 = 21
OUT = IN1 + IN2
without
with overflow
C1010 = 22
OUT = IN1 − IN2
without
with overflow
l
The calculation is performed cyclically in the control program.