Elmomc Multi-Axis Motion Controller-Maestro Uživatelský manuál Strana 220

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 313
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 219
1 2 ... 215 216 217 218 219 220 221 222 223 224 225 ... 312 313

Komentáře k této Příručce

Žádné komentáře