Fail-Safe Blocks
8.13
Arithmetic Blocks with the REAL Data Type
Block
F_ADD_R
F_SUB_R
F_MUL_R
F_DIV_R
F_ABS_R
F_MAX3_R
F_MID3_R
F_MIN3_R
F_LIM_R
F_SQRT
F_AVEX_R
F_SMP_AV
8.13.1
F_ADD_R
Function
This block adds the inputs and outputs the sum at the output.
OUT = IN1 + IN2
I/Os
Name
Inputs:
IN1
IN2
Output:
OUT
Error Handling
If the operation generates an invalid REAL number the event will be recorded in
the Diagnostic Buffer.
Fail-Safe Systems
A5E00085588-03
Description
Addition of two REAL values
Subtraction of two REAL values
Multiplication of two REAL values
Division of two REAL values
Calculation of the absolute value
Maximum of three REAL values
Medium of three REAL values
Minimum of three REAL values
Asymmetrical limiter of REAL values
Calculation of the square root
Mean value of a maximum of nine REAL values
Sliding mean value
Data Type
Explanation
F_REAL
Addend 1
F_REAL
Addend 2
F_REAL
Sum
Default
0.0
0.0
0.0
8-115