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

  • 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 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.
Zobrazit stránku 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 113 114

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

Žádné komentáře