beautypg.com

L_tbnegselint, 5function blocks – Lenze E94A User Manual

Page 606

background image

5

Function blocks

5.187

L_TbNegSelInt - optional negation (for "INT" data type)

606

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

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

5.187

L_TbNegSelInt - optional negation (for "INT" 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_TbNegInt

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

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

15

-1.

Inputs

Outputs

Function library:

LenzeToolbox

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

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Identifier/data type

Information/possible settings

nIn

INT

Input signal

bNeg

BOOL

Activate inversion

FALSE nOut = nIn

TRUE nOut = -nIn

Identifier/data type

Value/meaning

nOut

INT

Output signal

Q2XW

Q,Q

/B7E1HJ6HO,QW

E1HJ