Lenze PMSS1000 Simple Servo Bedienungsanleitung Seite 36

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 72
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 35
Indexer-Programmer-Manual.pdf REV 1.3
IF Structure
The if statement is used to execute an instruction or block of instructions one time if a condition is true.
The simplified syntax for IF is:
IF condition
…statement(s)
ENDIF
The following flowchart and code segment illustrate the use of the IF statement.
Start
Set Output 2 ON
Move Distance 3
inches
End
Yes
NO
Input1 ON?
…statements
IF IN_A2
OUT2 = 1
MOVED 3
ENDIF
..statements
36
Seitenansicht 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 71 72

Kommentare zu diesen Handbüchern

Keine Kommentare