User guide
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 549
5 Function blocks
5.156 L_TbAdd - addition
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.156 L_TbAdd - addition
This FB carries out an addition without limitation.
Inputs
Outputs
Function library: LenzeToolbox
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dnIn1
DINT
1st summand
dnIn2
DINT
2nd summand
Identifier/data type Value/meaning
dnOut
DINT
Cumulative value (result of the addition)
• No internal limitation, thus an overflow is possible:
•If the result > 2
31
-1: dnOut = dnIn1 + dnIn2 - 2
32
•If the result < 2
31
: dnOut = dnIn1 + dnIn2 + 2
32
/B7E$GG
GQ2XWGQ,Q
GQ,Q
DE










