omron — MIN real-valued function

MIN real-valued function MIN real-valued function Syntax MIN (value, ..., value ) Function Return the minimum value contained in the list of values. Parameter value Each value in the list can be specified as a real-valued constant, variable, or expression. Details The list of values provided is scanned for the smallest value, and that value is returned by the function. The sign of each value is considered. Thus, for example, the value -100 is considered smaller than -10. Example The program instruction: min.value = MIN(1000, x, y, z) sets min.value to the smallest value of the variables x, y, and z, or to the value 1000 if all three variables have values greater than 1000.

Related Keyword MAX real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 341