Lenze PMSS1000 Simple Servo Bedienungsanleitung Seite 20

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 72
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 19
Indexer-Programmer-Manual.pdf REV 1.3
1.9 IF/ELSE statements
IF/ELSE statement allows you to execute one or more statements conditionally. You can use IF or
IF/ELSE construct:
Single IF example:
;Implementing counter modulo reset:
Again:
V1=V1+1
IF V1>10
V1=0
ENDIF
GOTO Again
END
IF/ELSE example:
;Assign value to variable conditionally
IF V1>3
V2=1
ELSE
V2=0
ENDIF
IF or IF/ELSE construct must end with ENDIF keyword
20
Seitenansicht 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 71 72

Kommentare zu diesen Handbüchern

Keine Kommentare