Fail-Safe Blocks
Fail-Safe Systems
A5E00085588-03
8-115
8.13 Arithmetic Blocks with the REAL Data Type
Block
Description
F_ADD_R
Addition of two REAL values
F_SUB_R
Subtraction of two REAL values
F_MUL_R
Multiplication of two REAL values
F_DIV_R
Division of two REAL values
F_ABS_R
Calculation of the absolute value
F_MAX3_R
Maximum of three REAL values
F_MID3_R
Medium of three REAL values
F_MIN3_R
Minimum of three REAL values
F_LIM_R
Asymmetrical limiter of REAL values
F_SQRT
Calculation of the square root
F_AVEX_R
Mean value of a maximum of nine REAL values
F_SMP_AV
Sliding mean value
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
Data Type
Explanation
Default
Inputs:
IN1
F_REAL
Addend 1
0.0
IN2
F_REAL
Addend 2
0.0
Output:
OUT
F_REAL
Sum
0.0
Error Handling
If the operation generates an invalid REAL number the event will be recorded in
the Diagnostic Buffer.
Summary of Contents for SIMATIC S7 F
Page 8: ...Important Information Fail Safe Systems viii A5E00085588 03 ...
Page 16: ...Contents Fail Safe Systems xvi A5E00085588 03 ...
Page 38: ...Product Overview Fail Safe Systems 1 22 A5E00085588 03 ...
Page 56: ...Getting Started Fail Safe Systems 2 18 A5E00085588 03 ...
Page 70: ...Safety Mechanisms Fail Safe Systems 3 14 A5E00085588 03 ...
Page 115: ...Programming Fail Safe Systems A5E00085588 03 5 33 Examples Receive Block Send Block ...
Page 154: ...Programming Fail Safe Systems 5 72 A5E00085588 03 ...
Page 166: ...Operation and Maintenance Fail Safe Systems 6 6 A5E00085588 03 ...
Page 332: ...Fail Safe Blocks Fail Safe Systems 8 144 A5E00085588 03 ...
Page 344: ...References Fail Safe Systems B 2 A5E00085558 03 ...
Page 350: ...Glossary Fail Safe Systems Glossary 6 A5E00085588 03 ...