Chapter 13
Data manipulation instructions
306
Structured text
(* ST Equivalence: *)
new_value := MAX (MIN (max_value, value), min_value);
(* bounds the value to the [min_value..max_value] set *)
Results
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015