Redundant instruction
This is a redundant instruction. It is replaced by: WITHIN_LIMITS
The function compares a data band whose upper and lower limits are specified at inputs s2_Min and s3_Max with a value that is entered at input s1_In. The result is returned as follows:
Input
REAL number data to be compared to s2_Min and s3_Max
lower limit
upper limit
Comparison between s1_In, s2_Min and s3_Max |
Flags |
||
---|---|---|---|
sys_bIsGreaterThan (>flag) |
sys_bIsEqual (=flag) |
sys_bIsLessThan (<flag) |
|
s1_In < s2_Min |
Off | Off | On |
s2_Min £ s1_In £ s3_Max |
Off | On | Off |
s1_In > s3_Max |
On | Off | Off |
if the values at inputs s1_In, s2_Min, and s3_Max are not REAL numbers
if the value at s2_Min > s3_Max.
if the values at inputs s1_In, s2_Min, and s3_Max are not REAL numbers
if the value at s2_Min > s3_Max.