Selection of Minimum, Maximum, or Average from Multiple Values

Lib.Mervis.v1_0.ValueSelector

  • Lib.Mervis

A block used for selecting the minimum, maximum, or average value from up to four input values.

program test
    var
        selector: lib.mervis.v1_0.ValueSelector;
    end_var

    selector();
end_program
Name Data Type RetainMandatory ConnectionMeaning
In1 real No Yes Input value 1
In2 real No No Input value 2
In3 real No No Input value 3
In4 real No No Input value 4
SelectValueSelectorType Yes No Selection value
Name Data TypeMeaning
Out real Output

The block is used to select a value from multiple inputs. Based on the Select parameter, the minimum, maximum, or average value from the inputs is transferred to the output. If there are fewer than four actual inputs, the other inputs should be managed so they do not affect the output, for example, by connecting them to another input.

  • © Energocentrum Plus, s.r.o. 2017 - 2024