Rockwell Automation DeviceLogix System User Manual User Manual
Page 35

Publication RA-UM003B-EN-P - February 2010
35
Navigate the Function Block Editor Interface Chapter 2
High/Low Limit
The DeviceLogix High/Low Limit function block limits the input value
within the specified data range.The High/Low Limit function block is
outlined in detail below.
IF value of Input > HighLimit
Output = HighLimit
ELSE IF value of Input < LowLimit
Output = LowLimit
ELSE
Output = Input
END
The valid data ranges are as follows.
IMPORTANT
When data values are large, switching between REAL and DINT
data types may cause a minimal loss of accuracy. For example,
a value of 99999999 DINT will be rounded up to 100000000
REAL when you switch to a REAL data type and then back to a
DINT data type.
Condition
Output
Fault Status
If Use Fault Checking
is RESET
If Use Fault
Checking is SET
INPUT in NAN
NAN
Value of the Fault
state value
1
INPUT is the Positive
Infinity
HighLimit
0
INPUT is the Negative
Infinity
LowLimit
0
Parameters
Data Range
HighLimit
2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
LowLimit
2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
FaultOption
0, 1, 2, 3, 4, 5
FaultStateValue
-2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
Note: HighLimit > LowLimit.