Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manual de usuario Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 113 114

Comentarios a estos manuales

Sin comentarios