MAX (a, b, ...)
Returns the largest (most positive) value of the input parameters (up to 10 operands).
Parameters
a, b, etc.(REAL or DINT)
The input values. All input parameters must be of the same type.
Return Value
Returns the same data type as the input parameters.
Examples
MAX(3, 5, 1) returns 5
MAX(-7.0, 5.1) returns 5.1
See Also
MIN Function | Standard Functions
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion