
The Function Block SHR is a Bit-Shift Operator to the Right.
All data types can be used at the input. The bits of the first input are shifted right by a number of positions of the second input.
Note: Note that Antcas Control tries to convert values into a string when transmitting them. This may result in unintended outcomes. See Function Blocks for Type Conversions.
The second input defines the number of positions of the right shift. Each position corresponds to a multiplication by two.
The output returns the calculated result.