
12-10
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write x x x x x 0 x x 1
Function is executed (EN = 1):
I 0.0
Q 4.0
SQRT
OUT
EN ENO
MD10
INMD0
S
NOT
The box SQRT is activated when I 0.0 = 1.
The result of SQRT (MD0) is stored in the
memory double word MD10. If MD0 < 0 or if
the result is outside of the permissible area
for floating-point numbers or if the signal
state of I 0.0 = 0, output Q 4.0 is set.
Figure 12-6 Establishing the Square Root of a Floating-Point Number
Floating-Point Math Instructions
Comentarios a estos manuales