Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manuel d'utilisateur Page 51

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 113 114

Commentaires sur ces manuels

Pas de commentaire