Elmomc Multi-Axis Motion Controller-Maestro Bedienungsanleitung Seite 104

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 313
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 103
Maestro Software Manual MAXL Program Language
MAN-MASSW (Ver. Q)
2. Set Static Variable syntax
[Static Variable Name] = [const value, expression]
[Static Variable Name][index] = [const value, expression],
where index need if Static Variable is qn array.
For example:
fVar = 5.23
iArr4[0] = 3
iArr34[1, 2] = a2.px
5.9.4 Working with Static Variables in the Maestro
Program Interpreter
1. Get Static Variable syntax is
[value, expression]=[Static Variable Name]
[value, expression]=[Static Variable Name][index]
where index need if Static Variable is an array.
For example:
int i, j, n
float f
f = fVar
j = iArr4[0]
n = iArr34[i, j]
2. Set Static Variable syntax is
[Static Variable Name] = [const value, expression]
[Static Variable Name][index] = [const value, expression]
where index need if Static Variable is array.
For example:
int i, j, n
fVar = 5.23
iArr4[0] = j
iArr34[i, j] = n
Static Variable can be used in logical operations if, switch, while, until etc.
5-42
Seitenansicht 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 312 313

Kommentare zu diesen Handbüchern

Keine Kommentare