15 l_arithmetik_2, 15 l_arithmetik_2 1, L_arithmetik_2 – Lenze 8400 HighLine User Manual
Page 1251: Nin1_a, Nin2_a, 17 function library
Lenze · 8400 HighLine · Referenzhandbuch · DMS 10.0 EN · 06/2014 · TD05/TD14
1251
17
Function library
17.1
Function blocks
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.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
⋅
=