15 l_arithmetik_2, 15 l_arithmetik_2 2, L_arithmetik_2 – Lenze 8400 User Manual
Page 1172: Nin1_a, Nin2_a, 18 function library

18
Function library
18.1
Function blocks | L_Arithmetik_2
1172
Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
18.1.15
L_Arithmetik_2
This FB can combine two analog signals arithmetically.
• 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
Parameter
Identifier
Data type
Information/possible settings
nIn1_a
INT
Input signal 1
nIn2_a
INT
Input signal 2
Identifier
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±32767 (±199.99 %)
Parameter
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
⋅
=