beautypg.com

L_tbaddsublim, 5function blocks – Lenze E94A User Manual

Page 551

background image

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

551

5

Function blocks

5.158

L_TbAddSubLim - addition and subtraction with limitation

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

5.158

L_TbAddSubLim - addition and subtraction with limitation

This FB carries out an addition with subsequent subtraction and limitation.

• 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

FB is available as of library V02.04.xx.xx!

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnIn

DINT

Input value

dnAdd

DINT

Value that is added to the input value.

dnSub

DINT

Value that is subtracted from the input value.

Identifier/data type

Value/meaning

dnOut

DINT

Result of the calculation

• Internally limited to ±2

31

-1

bLimitActive

BOOL

Status signal "Limitation active"

TRUE The output signal is limited.

/B7E$GG6XE/LP

GQ2XW

E/LPLW$FWLYH

GQ,Q

GQ$GG

DEF

GQ6XE