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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 313
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 312 313

Komentarze do niniejszej Instrukcji

Brak uwag