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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 114
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 113 114

Komentarze do niniejszej Instrukcji

Brak uwag