
17
Function library
17.1
Function blocks | L_Arithmetik_4
1263
Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.1.17
L_Arithmetik_4
This FB can implement an arithmetic link between two analog signals.
• The arithmetic function is selected in
.
• All internal intermediate results and the value output at the
nOut_a
output are internally
limited to ±32767.
• Division is not remainder considered.
Inputs
Outputs
Parameters
Designator
Data type
Information/possible settings
nIn1_a
INT
Input signal 1
nIn2_a
INT
Input signal 2
Designator
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±32767 (±199.99 %)
Parameters
Possible settings
Info
Function selection
0
1
2
3
4
When the denominator has the
value "0", it will be set to "1".
5
/B$ULWKPHWLNB
Q,QBD
Q2XWBD
Q,QBD
r
,Q
,Q,Q
,Q
,Q,Q
,Q,Q
,Q
_,Q_
,Q
2XW
,Q
,Q
&
nOut_a
nIn1_a
=
nOut_a
nIn1_a nIn2_a
+
=
nOut_a
nIn1_a nIn2_a
–
=
nOut_a
nIn1_a nIn2_a
⋅
16384
----------------------------------------
=
nOut_a
nIn1_a
nIn2_a
---------------------
164
⋅
=
nOut_a
nIn1_a
16384 nIn2_a
–
----------------------------------------
16384
⋅
=