beautypg.com

L_tbnegsel, 5function blocks – Lenze E94A User Manual

Page 605

background image

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

605

5

Function blocks

5.186

L_TbNegSel - optional negation (for "DINT" data type)

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

5.186

L_TbNegSel - optional negation (for "DINT" data type)

This function block inverts (optionally) the sign of the input signal, i.e. the input signal is multiplied

by -1 and is then output.

• In contrast to the

L_TbNeg

FB, this FB is only inverted if the bNeg control input is set to TRUE.

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

31

-1.

Inputs

Outputs

Function library:

LenzeToolbox

FB is available as of library V02.02!

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

dnIn

DINT

Input signal

bNeg

BOOL

Activate inversion

FALSE dnOut = dnIn

TRUE dnOut = -dnIn

Identifier/data type

Value/meaning

dnOut

DINT

Output signal

GQ2XW

GQ,Q

/B7E1HJ6HO

E1HJ