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

  • 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 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.
Zobrazit stránku 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 113 114

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

Žádné komentáře