MULDIΒΆ

../_images/b1b79770e38b13860a33139000eba54e

The operand value at input E1 is multiplied by the operand value at input E2, the intermediate result is divided by the operand value at E3 and then the result is assigned to output A.

The result is limited to the maximum or minimum value of the number range.

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

The operand value at input E1 is multiplied by the operand value at input E2, the intermediate result is divided by the operand value at E3 and then the result is assigned to output A.

Internal, the Function Block performs the multiplication and division with the accuracy of a double word (32 bit). Only when assigning the result to output A, the limiting to the accuracy of a word (16 bit) is carried out. If the remainder of the division is > 0,5, the result is rounded up. If a numerical overflow occurs during the division (e.g. division by zero), the correct signed limit of the number range is applied at output A.

The result is limited to the maximum value 32767 and the minimum value -32767.

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