Siemens NAN 67 Series Wartungshandbuch Seite 161

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 160
12-5
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
12.4 Multiply Floating-Point Numbers
A signal state of 1 at the Enable (EN) input activates the Multiply
Floating-Point Numbers instruction. This instruction multiplies inputs IN1
and IN2. The result can be scanned at OUT. If the result is outside the
permissible range for a floating-point number (overflow or underflow), the
OV and the OS bit of the status word are 1 and ENO is 0. You will find
information on evaluating the displays in the status word in Section 12.6.
Certain restrictions apply to the placement of floating-point math boxes (see
Section 6.1).
Table 12-3 Multiply Real Box and Parameters
LAD Box Parameter Data Type Memory Area Description
MUL R
EN BOOL I, Q, M, D, L Enable input
MUL_R
EN ENO
ENO BOOL I, Q, M, D, L Enable output
IN1
EN ENO
IN1 REAL I, Q, M, D, L First value for multiplication
IN1
IN2 OUT
IN2 REAL I, Q, M, D, L Second value for multiplication
IN2 OUT
OUT REAL I, Q, M, D, L Result of multiplication
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Read * * * * *
Write x x x x x x 1 x x
I 0.0
A signal state of 1 at input I 0.0 activates the
MUL_R box. The result of the multiplication
MD0 x MD4 is put into memory double word
MD10. If the result is outside the permissible
range for a real number or the signal state of
input I 0.0 is 0, output Q 4.0 is set.
Q 4.0
MUL_R
IN2
EN ENO
MD4 MD10
IN1MD0
S
Function is executed (EN = 1):
NOT
OUT
Figure 12-3 Multiply Real
Description
Floating-Point Math Instructions
Seitenansicht 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare