Function Block SHL

The Function Block SHL is a Bit-Shift Operator to the Left.

First Input

All Data Types can be used at the input. The bits of the first input are shifted left by the number of positions of the second input.

Note: Please note that Antcas Control tries to convert values into a string during transmission. This may result in unintended outcomes. See Function Blocks for Type Conversions.

Second Input

The second input defines the number of positions for the left shift. Each position corresponds to a multiplication by two.

Output

The output returns the calculated result.