ShiftRight
Contents

1.Description

Pushes the value at Input 1 by n steps to the right bit by bit.

2.Inputs

No.NameInitialisationDescription
1E1 Value0
Value as integer
2E2 Shift0
Number of steps by which the bits have been shifted to the right

3.Outputs

No.NameInitialisationSBCDescription
1A10s
Result of the shifting as integer
2A2(sbc)0sbc
Result of the shifting as integer
s = send, sbc = send by change

4.Value table as an example

ValueStepsResult
8 (I000)22 (I0)
-8 (IIII I000)1-4 (IIII II00)
15 (IIII)31 (I)
15 (IIII)40 (0)
29 (I II0I)33 (II)

5.Other

Recalculation during start:Yes
Module is retentive:No
Internal designation:17717
Category:Converter

6.Similar functions

Status machine, 1 outp
Status machine, 8 outp
ShiftLeft
BitCutter
StringToFloat
DecToHex
TextToBase64
IntToString
StringToHex
HexToString
ChrToASCII
StringToNumber
2ByteTo16Bit
4ByteTo32Bit