Siemens NAN 67 Series Wartungshandbuch Seite 287

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 286
C-5
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
Table C-5 Real Number Ranges
Format Range
1
Real numbers
-3.402823E+38 to -1.175495E-38
and " 0 and
+1.175495E-38 to +3.402823E+38
1
If the result of a floating-point operation falls into the ranges of -1.175495E-38 to
-1.401298E-45 or +1.401298E-45 to +1.175495E-38, then an underflow is
generated (see Table 12-6). This is the range of denormalized numbers.
Real numbers (also called floating-point numbers) in ladder logic conform to
the basic format, single width, described in ANSI/IEEE Std 754-1985, IEEE
Standard for Binary Floating-Point Arithmetic. In this format, you can
represent only those values that are specified by the following three integer
parameters:
S p = the number of significant bits (precision)
S E
max
= the maximum exponent
S E
min
= the minimum exponent
Table C-6 shows the format parameters.
Table C-6 Format Parameters for Real Numbers
Parameter Name Parameter Value
p 24
Emax +127
Emin -126
Exponent bias +127
Exponent width in bits 8
Format width in bits 32
The format includes the following entities:
S Numbers of the form (-1)
s
2
E
(b
0
. b
1
b
2
...b
p-1
), where
s = 0 or 1
E = any integer between E
min
and E
max
, inclusive
–b
i
= 0 or 1
S Two infinities, +R and -R
S At least one signaling NaN (NaN means “not a floating-point number”)
S At least one quiet NaN (NaN means “not a floating-point number”)
Format for Real
Numbers
Number Notation
Seitenansicht 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare