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

  • 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 219
11.7.2.2 Maestro Program
Get Tag syntax is
[Adapter Tag Name]
[Adapter Tag Name][index]
For example:
int i, j, n
i = tINT
j = iTag4[0]
n = iTag34[i, j]
where an index is needed if the tag is an array.
Set the Tag syntax to
[Adapter Tag Name] = [const value, expression]
[Adapter Tag Name][index] = [const value, expression]
where an index is needed if the tag is an array.
For example:
int i, j, n
tINT = 5
iTag4[0] = j
iTag34[i, j] = n
An Adapter Tag can be used in logical operations if, switch, while, etc. for example:
if(tINT == 10 )
end if
while(iTag[0] )
end while
Maestro Software Manual Ethernet/IP Communication
MAN-MASSW (Ver. Q)
11-18
Vue de la page 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 312 313

Commentaires sur ces manuels

Pas de commentaire