Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Uživatelský manuál Strana 96

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 114
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 95
Publication 2098-PM001E-EN-P — July 2002
2-56 Referencing the Motion Library
long LatchSetAutoMode(long channel, long mode);
Sets the auto mode of a latch. Enabling auto mode allows the latch to
automatically rearm after detecting a latch. The latch count is read
with the LatchGetCount function.
Valid channel arguments are:
1 = Primary motor latch
2 = Secondary motor latch
3 = Primary auxiliary latch
4 = Secondary auxiliary latch
Valid mode arguments are:
0 = Disabled
1 = Enabled
Returns 0 if successful, or -1 on an error.
Latch Status
long LatchTriggered(long channel);
Determines if a latch has been triggered. The channel argument
selects the latch channel.
Valid channel arguments are:
1 = Primary motor latch
2 = Secondary motor latch
3 = Primary auxiliary latch
4 = Secondary auxiliary latch
Returns non-zero value if latch is triggered.
Zobrazit stránku 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 113 114

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

Žádné komentáře