Siemens NAN 67 Series Wartungshandbuch Seite 187

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 186
14-9
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
14.7 Double Integer to Floating-Point Number
The Double Integer to Floating-Point Number conversion instruction reads
the contents specified in the input parameter IN as a double integer value and
converts this value to a real number. The output parameter OUT provides the
result. ENO and EN always have the same signal state.
Certain restrictions apply to the placement of the Double Integer to Real
conversion box (see Section 6.1).
Table 14-7 Double Integer to Floating-Point Number Conversion Box and Parameters
LAD Box
Parameter Data Type Memory Area Description
DI R
EN BOOL I, Q, M, D, L Enable input
DI
_
R
EN ENO
ENO BOOL I, Q, M, D, L Enable output
EN
IN
ENO
OUT
IN DINT I, Q, M, D, L Value to convert
OUT REAL I, Q, M, D, L Result
Status Word Bits
I 0.0
If the signal state of input I 0.0 is 1, the
conversion is executed. The contents of
memory double word MD8 is read as an
integer and converted to a real number.
The result is stored in memory double
word MD12. If the conversion is not
executed, the signal state of output Q 4.0
is 1 (ENO=EN).
Q 4.0
DI_R
IN
EN ENO
MD8 MD12
NOT
BR CC 1 CC 0 OV OS OR STA RLO FC
Write 1 0 1 1 x
Function is executed (EN = 1):
OUT
Figure 14-7 Double Integer to Floating-Point Number
Description
Move and Conversion Instructions
Seitenansicht 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare