The function block has two input pins x1,and x2, and an output pin Y. This function divides one input by the other. Y = x1 / x2. Division by 0 results in an invalid output. 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.
divOperation: The result of the division is based on one of two specified property values. For Modulo, the output is the remainder of the division; for Divide, the output is the quotient.
TailOperation: The output value is based on one of four specified property values:
Note: You can connect both Analog and Digital inputs as inputs to this function block.
Analog Inputs
| Range | ||||
| Input Name | Low | High | Input Value | Description |
| x1 | >=- infinity | <+ infinity | unconnected | x1=0 |
| invalid | output set to invalid | |||
| x2 | >=- infinity | unconnected | output set to invalid | |
| 0 | output set to invalid | |||
| invalid | output set to invalid | |||
Output
| Output Name | Range | Description |
| Y | Any floating point value | Y= x1 / x2 |