Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manuale Utente Pagina 44

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 114
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 113 114

Commenti su questo manuale

Nessun commento