System blocks
Block descriptions
ID 441692.01
STÖBER ANTRIEBSTECHNIK
311
476 Arithmetic shift
Description
The block shifts the value in
In
by the number of binary positions specified by
Shift
. Positive
values of
Shift
cause a shift to the left while negative values shift the input value to the right.
When the value is shifted to the right, the empty positions are filled with the value of the top bit
so that the sign of
In
is retained for negative values of
Shift
. When the value is shifted to the
left, the bottom bits are filled with zeros.
When no overflow occurs, this corresponds to the computation:
Out
=
In
* 2
Shift
with rounded
result.
Inputs
No. Name
Datatype Scaling
Description
1
In
I32 –
Input
value
2
Shift
I8
–
Number of binary positions by which the value in
In
is to be shifted.
Outputs
No. Name
Datatype Scaling
Description
3
Out
I32
–
Result of the shift operation
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 ...