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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 50
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library 2-11
long EncoderGetFaultState(long channel);
Returns state of fault checking for an encoder.
The channel selects the encoder channel. Valid channels are as
follows:
1 = Motor Encoder
2 = Aux Encoder
The returned state can be one of the following:
0 = Disabled
1 = Enabled
long EncoderGetOutput(long channel);
Returns the output of the encoder in counts. This function is identical
to the EncoderGetPos function.
Valid channel arguments are:
1 = Motor Encoder
2 = Auxiliary Encoder
long EncoderGetPos(long channel);
Returns the output of the encoder in counts. This function is identical
to the EncoderGetOutput function.
Valid channel arguments are:
1 = Motor Encoder
2 = Auxiliary Encoder
float RatchetGetVel(void);
Returns the velocity of the auxiliary encoder filtered through the
Ratchet object. Velocity is in counts/second.
Vista de pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 113 114

Comentarios a estos manuales

Sin comentarios