Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Instrukcja Użytkownika Strona 44

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 114
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 43
Publication 2098-PM001E-EN-P — July 2002
2-4 Referencing the Motion Library
Axis Attributes
long AxisDefinePos(long position);
Sets the axis command position to the specified position. Position is
programmed in counts.
Returns 0 if successful, or -1 on an error.
float AxisGetCommandCur(void);
Returns command current (filtered and clipped output of the velocity
regulator) measurement in Amps.
long AxisGetCommandPos(void);
Returns the command position of the axis in counts.
Note: Position error is calculated from this value by subtracting the
feedback position.
float AxisGetCommandVel(void);
Returns the command velocity of the axis in counts/second.
Note: Velocity error is calculated from this value by subtracting the
feedback velocity.
long AxisGetFeedbackOffset(void);
Returns the position feedback offset of the axis in counts.
long AxisGetFeedbackPos(void);
Returns the feedback position of the axis in counts.
Note: Position error is calculated by subtracting this value from the
command position.
Przeglądanie stron 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 113 114

Komentarze do niniejszej Instrukcji

Brak uwag