beautypg.com

170 l_tbdiv_n - scaled division, L_tbdiv_n, 5function blocks – Lenze E94A User Manual

Page 586

background image

5

Function blocks

5.170

L_TbDiv_n - scaled division

586

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

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

5.170

L_TbDiv_n - scaled division

This FB carries out a division. The divisor (denominator) must be specified as a scaled signal [%].

• With a divisor of 100 % the dividend is output unchanged.

• The value output to output dnOut is internally limited to ±2

31

-1.

• The bLimitActive output displays if a limitation is active.

Inputs

Outputs

Function library:

LenzeToolbox

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnNumerator

DINT

Dividend (numerator)

dnDenominator_n

DINT

Divisor (denominator)

• Scaling: 100 % ≡ 2

30

≡ 1073741824

Identifier/data type

Value/meaning

dnOut

DINT

Quotient value (result of the division)

• Internal limitation to ±2

31

-1 (≡ ±200 %)

bLimitActive

BOOL

Status signal "Limitation active"

TRUE The output signal is limited.

GQ2XW

E/LPLW$FWLYH

GQ1XPHUDWRU

GQ'HQRPLQDWRUBQ

/B7E'LYBQ

E

D