The function block consists of several input pins and one output pin. This function calculates the average of 8 inputs. You can have a combination of analog inputs from other function blocks and constant values as inputs to this function block. The output is set to the average of the connected inputs.
Note: The Output returns an invalid value if no inputs are connected or if all inputs are invalid.
Ignore invalid inputs: Select this option if you want the function block to ignore any invalid inputs, and consider only the valid inputs to calculate the output. If this option is left unselected, the invalid inputs would make the output also invalid.
Note: This option is not supported in the Lon 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 |
| in1-8 | >=- infinity | <+ infinity | unconnected | not used in calculation if all inputs unconnected then output = invalid | |
| in1-8 | >=- infinity | <+ infinity | invalid | 0 | If any input is invalid then output = invalid |
| 1 | Invalid inputs are not taken into consideration. The output is the average of the valid inputs. | ||||
Outputs
| Output Name | Range | Description |
| OUTPUT | Any floating point number | Average of the inputs |