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. | Name | Initialisation | Description |
---|---|---|---|
1 | E1 Value | 0 | Input value as integer |
2 | E2 lower position | 0 | Lower position as integer |
3 | E3 upper position | 0 | Upper position as integer |
3.Outputs
No. | Name | Initialisation | SBC | Description |
---|---|---|---|---|
1 | A1 | 0 | s | Result as integer |
2 | A2(sbc) | 0 | sbc | Result as integer |
s = send, sbc = send by change
4.Value table as an example
Input value | Lower position | Upper position | Result |
---|---|---|---|
13 = (II0I) | 1 | 1 | 1 = (I) |
13 | 1 | 2 | 1 = (0I) |
13 | 1 | 3 | 5 = (I0I) |
13 | 1 | 4 | 13 = (II0I) |
13 | 2 | 3 | 2 = (I0) |
5.Other
Recalculation during start: | Yes |
---|---|
Module is retentive: | No |
Internal designation: | 17718 |
Category: | Converter |