Redundant instruction
This is a redundant instruction. It is replaced by: FP_BAND
The function compares the input value at input s3_In with a deadband whose lower limit is specified at input s1_Min and whose upper limit is specified at s2_Max. The result of the function is returned at output d as follows:
Input
the area where the lower limit is stored or the lower limit data
the area where the upper limit is stored or the upper limit data
the area where the input value is stored or the input value data
Output
the area where the output value data is stored
Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_BAND
If the input value at input s3 < s1, the lower limit at input s1 is subtracted from the input value at s3, and the result is stored as the output value at d.
If the input value at input s3 > s2, the upper limit at input s2 is subtracted from the input value at s3, and the result is stored as the output value at d.
If the input value at s2 ³ s3 ³ s1, 0 is returned as the output value at d.
if the values at inputs s1_Min, s2_Max, and s3_In are not REAL numbers or the value at s1_Min > s2_Max.
if the values at inputs s1_Min, s2_Max, and s3_In are not REAL numbers or the value at s1_Min > s2_Max.
if the result is 0.