Process control instructions Chapter 18
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 551
LIMIT restricts integer values to a given interval. Integer values between the
minimum and maximum are unchanged. Integer values greater than the
maximum are replaced with the maximum value. Integer values less than the
minimum are replaced with the minimum value.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When EN = TRUE, execute current LIMIT computation.
When EN = FALSE, there is no computation.
MIN Input DINT Minimum value supported.
IN Input DINT Any signed integer value.
MAX Input DINT Maximum value supported.
LIMIT Output DINT Input value bounded to the supported range.
ENO Output BOOL Enable out.