Multiply

The input pins are x1, and x2 and the output pin is y.This function multiplies one input with the other. y = x1 multiplied by x2. If the result overflows the range of a single precision floating point number (approximately minus 3.4e38 to plus 3.4e38), the result returned is invalid.

Note: You can connect both Analog and Digital inputs as inputs to this function block.

TailOperation: The output value is based on one of four specified property values:

Ignore invalid inputs:Select this option if you want the function block to ignore any invalid inputs, if any, and consider only the valid inputs to calculate the output. If this option is left unselected, the invalid inputs make the output also as invalid. This option is not supported in the LonSpyder I models: PVL6436A, PVL6438N, or PUL6438 models and therefore you cannot download this configuration to those models.

Analog Inputs

  Range      
Input Name Low High Input Value Invalid flag Description
x1, x2 >=- infinity <+ infinity unconnected  
  • Unconnected inputs are set to 0
  • If all inputs unconnected, output is set to zero
      invalid 0 If any input is invalid then output is invalid
        1 Invalid output is set to 1. If all inputs are invalid, output is invalid.

Output

Output Name Range Description
Y Any floating point value Y= x1 * x2