1MRS759142 C
3.22.5
3.22.5.1
3.22.5.2
REX640
Technical Manual
Real equal comparator EQR
Function block
GUID-D5810A82-DD6F-4679-9FBB-3A78724FB372 V1 EN
Figure 153:
Function block
Functionality
The real equal comparator function EQR compares the real input REAL_IN1 with the
real input REAL_IN2 and activates the binary output OUT if REAL_IN1 is within the
region of REAL_IN2 + TOLR and REAL_IN2 - TOLR, that is, if REAL_IN1≥
(REAL_IN2 - TOLR) and REAL_IN1≤ (REAL_IN2 + TOLR), OUT = 1, else OUT =
0.
If inputs REAL_IN1 or REAL_IN2 are outside the range, then OUT is set to 0.
REAL_IN2+TOLR
REAL_IN2
REAL_IN2-TOLR
GUID-04F5234F-AC9F-48FE-AA1A-E6E02E96C79E V1 EN
Figure 154:
Region of EQR comparison
EQR requires a positive value for TOLR, otherwise it may not function
properly. The TOLR value can be set using SETRGAPC.
EQR function blocks do not have the hysteresis feature. Oscillating
outputs should be avoided when comparing analog signals that have
closely varying values.
Equal region
Equal region
Section 3
Basic functions
281