Siemens NAN 67 Series Wartungshandbuch Seite 241

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 318
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 240
20-7
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
20.3 Return
You can use the Return instruction to abandon blocks. You can abandon a
block conditionally. Return saves the RLO to the BR bit of the status word.
If a block is abandoned because of a conditional return, the signal state of the
RLO and the BR bit in the block to which program control returns is 1.
Table 20-3 Return Element
LAD Element
Parameter Data Type Memory Area Description
RET
None
If the signal state of input I 0.0 is 1, the block is
abandoned. The BR bit of the status word then has the
same signal state as input I 0.0 (= 1)
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write x x 0 1 1 0
I 0.0
RET
Conditional Return (Return if RLO = 1)
Figure 20-4 Return
Description
Program Control Instructions
Seitenansicht 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 317 318

Kommentare zu diesen Handbüchern

Keine Kommentare