MUL2ND

../_images/76628b77e38b11f00a33139000eba54e

The value of the operand at input E1 is shifted bitwise N times.

If the value at input N is positive, the value is shifted to the left. Each shift by 1 bit position corresponds to a multiplication of the current value by 2.

If the value at input N is negative, the value is shifted to the right. Each shift by 1 bit position corresponds to a division of the current value by 2.

The result is assigned to the operand at output A1.

Parameter Value
Library_File_Name Serie90_AC500_V10.lib
Firmware V2.0
Type Type_Function
Group -

The value of the operand at input E1 is shifted bit-wise N times.

If the value at input N is positive, the value is shifted to the left. Each shift by 1 bit position corresponds to a multiplication of the current value by 2.

If the value at input N is negative, the value is shifted to the right. Each shift by 1 bit position corresponds to a division of the current value by 2.

The result is assigned to the operand at output A1.

The inputs and the output can neither be duplicated nor negated.

Reasonable range for N: -30 ≤ N ≤ +30

If N = 0, the value at input E1 is passed directly to output A1.