The IEC operator is used for the maximum function. It yields the greatest value of all inputs.
OUT := MAX(IN0,IN1,IN2,...)
Permitted data types: all
Examples
Result: 90
ST
Var1 := MAX(30,90,40); Var1 := MAX(40,MAX(90,30));
FBD
