BitCutter
Contents

1.Description

Cuts out the bits including the lower position (uP) up to and including the upper position (oP). The (least significant) first bit has the index 1. If both positions cover the entire length of the input value, then the event corresponds to the input value.

2.Inputs

No.NameInitialisationDescription
1E1 Value0
Input value as integer
2E2 lower position0
Lower position as integer
3E3 upper position0
Upper position as integer

3.Outputs

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

4.Value table as an example

Input valueLower positionUpper positionResult
13 = (II0I)111 = (I)
13121 = (0I)
13135 = (I0I)
131413 = (II0I)
13232 = (I0)

5.Other

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

6.Similar functions

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