Elmomc Multi-Axis Motion Controller-Maestro Manuel d'utilisateur Page 104

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 313
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 312 313

Commentaires sur ces manuels

Pas de commentaire