Siemens NAN 67 Series Wartungshandbuch Seite 163

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 162
12-7
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
12.6 Evaluating the Bits of the Status Word After Floating-Point
Instructions
The math instructions affect the following bits in the status word:
S CC 1 and CC 0
S OV
S OS
A hyphen (–) entered in a bit column of the table means that the bit in
question is not affected by the result of the integer math instruction.
Table 12-5 Signal State of Status Word Bits for Floating-Point Math Result
that is in Valid Range
Valid Range for a Floating-Point Result (32 Bits)
Bits of Status Word
V
a
lid
R
ange
f
or a
Fl
oa
ti
ng-
P
o
i
n
t
R
esu
lt
(32
Bit
s
)
CC 1 CC 0 OV OS
+0, -0 (zero) 0 0 0
-3.402823E+38 t Result t -1.175494E-38
(negative number)
0 1 0
+1.175494E–38 t Result t 3.402823E+38
(positive number)
1 0 0
Table 12-6 Signal State of Status Word Bits for Floating-Point Math Result
that is not in Valid Range
Range Not Valid for a Floating-Point Result
Bits of Status Word
gg
(32 Bits)
CC 1 CC 0 OV OS
-1.175494E-38 t Result t -1.401298E-45
(negative number) Underflow
0 0 1 1
+1.401298E-45 t Result t +1.175494E-38
(positive number) Underflow
0 0 1 1
Result t -3.402823E+38
(negative number) Overflow
0 1 1 1
Result u -3.402823E+38
(positive number) Overflow
1 0 1 1
Result < -3.402823E+38
or Result > +3.402823E+38
no floating-point number
1 1 1 1
Description
Floating-Point Math Instructions
Seitenansicht 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare