Elmomc Multi-Axis Motion Controller-Maestro Instrukcja Użytkownika Strona 104

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag