System blocks
Block descriptions
ID 441692.01
STÖBER ANTRIEBSTECHNIK
230
285 MulDiv (I32*I32)/4294967296->I32
Description
The block multiplies the values on the inputs
In1
and
In2
. The partial result of the multiplication
is divided by 4294967296 and output rounded to
Out
. The intermediate result of the
multiplication may be outside the value range of data format I32.
The block can be used to perform division by constant values > 2 with multiplication. This
allows the block to compute faster than with true division.
Example:
Signal X is to be divided by 24778 in the configuration.
The block always divides by 4294967296.
This results in a factor Y = 4294967296/24778=173337.93 -> approx. 173338
Thus, X is connected to
In1
and Y=173338 to
In2
.
Remember that rounding errors increase the smaller the Y values.
Blocks 284 and 297 can handle similar functions.
Inputs
No. Name
Datatype Scaling
Description
1
In1
I32
–
First input value
2
In2
I32
–
Second input value
Outputs
No. Name
Datatype Scaling
Description
3
Out
I32 –
Result
Summary of Contents for POSIDRIVE MDS 5000
Page 1: ...from V 5 6 D 02 2012 DE DESCRIPTION 5th generation of STÖBER inverters Blocks ...
Page 12: ...Organization blocks Block descriptions ID 441692 01 www stoeber de 11 STÖBER ANTRIEBSTECHNIK ...
Page 22: ...System blocks Block descriptions ID 441692 01 www stoeber de 21 STÖBER ANTRIEBSTECHNIK ...
Page 322: ...Standard blocks Block descriptions ID 441692 01 www stoeber de 321 STÖBER ANTRIEBSTECHNIK ...
Page 588: ...Notes Block descriptions ID 441692 01 www stoeber de STÖBER ANTRIEBSTECHNIK ...