Rockwell-automation 2098-IPD-xxx Ultra5000 C Programming using the Mot Manuel d'utilisateur Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
Publication 2098-PM001E-EN-P — July 2002
2-42 Referencing the Motion Library
long MoveCorrectAbs(long position);
Corrects a move to stop at a new target position specified in the
argument. Uses the programmed move acceleration, deceleration, and
velocity values. Position is programmed in counts.
The reference position for the MoveCorrectAbs function is set using
the MoveSetPos function.
Move status may be checked with a MoveInProgress function.
Returns 0 if successful, or -1 on an error.
long MoveCorrectInc(long distance);
Corrects a move to stop a distance from the current target position.
New target position is the original target position plus the specified
distance. Uses the programmed move acceleration, deceleration, and
velocity values. Distance is programmed in counts.
Move status may be checked with a MoveInProgress function.
Returns 0 if successful, or -1 on an error.
long MoveDistance(long distance);
Starts an incremental move of the specified distance using the
programmed move acceleration, deceleration, and velocity values.
Distance is programmed in counts.
This function is identical to the MoveIncremental function.
Move status may be checked with a MoveInProgress function.
Returns 0 if successful, or -1 on an error.
Note: Returns an error if a move is already in progress.
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 113 114

Commentaires sur ces manuels

Pas de commentaire