
3.22.4
Real subtraction SUBR
3.22.4.1
Function block
Figure 175: Function block
3.22.4.2
Functionality
The real subtraction function SUBR subtracts input
REAL_IN2
from
REAL_IN1
.
SUBR executes the equation
REAL_OUT
=
REAL_IN1
–
REAL_IN2
If the value of the difference is outside the range, then the output quality is
set as bad and
VALID
is set to FALSE. The minimum negative difference value is
restricted to –2097152.000 and the maximum positive difference value is restricted
to 2097152.000.
3.22.4.3
Signals
Table 321: SUBR Input signals
Name
Type
Default
Description
REAL_IN1
FLOAT32
0
Real input 1
REAL_IN2
FLOAT32
0
Real input 2
Table 322: SUBR Output signals
Name
Type
Description
REAL_OUT
FLOAT32
Real output
VALID
BOOLEAN
Output validity
3.22.5
Real equal comparator EQR
3.22.5.1
Function block
Figure 176: Function block
Basic functions
1MRS759142 F
302
REX640
Technical Manual