Arithmetic

Multiplier-Divider

Description This function block multiplies two analog inputs and divides the product by a third analog input. Output = (Input * Multiplier) / Divisor. Intermediate values have 32-bit precision to prevent output saturation.
Availability
  • Requires library: Process Control (option -05)
  • Firmware versions 0x102D and later
savvy-SFD Graphic mulDiv
Graphic with Parameters mulDiv

Parameters

Input Input, Read-write, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
Multiplier Input, Read-write, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
Divisor Input, Read-write, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
When the intermediate product is positive (+) (or zero) and the Divisor is zero the Output is +327.67% . When the intermediate product is negative (-) and the Divisor is zero the Output is -327.67%.
Output Output, Read-only, Analog (signed 16-bit integer)
-327.67 % to 327.67 %
Saturates if the final result exceeds 327.67% or is less than -327.67%. When the intermediate product is positive (+) (or zero) and the Divisor is zero the Output is +327.67% . When the intermediate product is negative (-) and the Divisor is zero the Output is -327.67%.