9 l_arithmetik_1, L_arithmetik_1, L_arithmetik – Lenze 8400 StateLine User Manual

Page 919: Nin1_a, Nin2_a, 17 function library

Advertising
background image

Lenze · 8400 StateLine · Reference manual · DMS 12.0 EN · 06/2014 · TD05/TD14

919

17

Function library

17.1

Function blocks

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

17.1.9

L_Arithmetik_1

This FB can combine two analog signals arithmetically.

• The arithmetic function is selected in

C00338

.

• 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

C00338

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

=

Advertising