Maximum

The function block has 8 input pins and 1 output pin. This function calculates the maximum of 8 inputs or those set as constant. The output is set to the largest input. Unused/invalid inputs are ignored.

Note: If one or more inputs are selected as constant, any previous connection from outputs of other functional blocks to this block is removed automatically and the maximum of the selected constant values is set as the output.

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 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
in1-8 >=- infinity <+ infinity unconnected Not used in calculation.
If all inputs are unconnected, output is invalid.
in1-8 >=- infinity <+ infinity invalid 0 If any input is invalid then output is invalid
1 Invalid inputs are not taken into consideration. The output is the maximum of the valid inputs.

Outputs

Output Name Range Description
OUTPUT Any floating point number Maximum of the inputs