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

  • 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 52
Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library 2-13
long EncoderSetPolarity(long channel, long polarity);
Sets the polarity of the specified encoder channel.
Valid channel arguments are:
1 = Motor Encoder
2 = Auxiliary Encoder
Valid polarity arguments are:
0 = Positive
1 = Negative
Returns 0 if successful, or -1 on an error.
long RatchetSetMode(long mode);
Set the ratchet mode.
The mode selects the ratchet mode. Valid modes are as follows:
0 = Normal
1 = Ratchet
2 = Buffered
Returns 0 if successful, or -1 on an error.
ATTENTION
!
Frame time is limited - adding excessive code to the
sequencer will force an Excess CPU Load error and
fault the drive.
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 113 114

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

Žádné komentáře