Math functions operate on and produce single precision floating point numbers. In the absence of any other restrictions, if the result overflows the range of a single precision floating point number (approx minus 3.4e38 to plus 3.4e38) the result returned is invalid. The function block supports upto 8 inputs x1 through x8 and provides an output at pin y.
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 invalid.
Note: This option is not supported for the LonSpyder I models PVL6436A, PVL6438N, or PUL6438 and therefore you cannot download this configuration to those models.
Inputs
| Range | |||||
| Input Name | Low | High | Input Value | Invalid flag | Description |
| x1-x8 | >=- infinity | <+ infinity | Unconnected |
|
|
| Invalid | 0 | If any input is invalid, output is invalid | |||
| 1 | Invalid input is set to 0. If all inputs are invalid, output is invalid. | ||||
Output
| Output Name | Range | Description |
| Y | Any floating point value | Output is the sum of inputs x1 through x8. |