Long moveposition(long position), Long movestart(void), Long movestop(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual
Page 85: Moveposition • movestart • movestop

Publication 2098-PM001E-EN-P — July 2002
Referencing the Motion Library
2-45
long MovePosition(long position);
Starts an absolute move to the specified position using the
programmed move acceleration, deceleration, and velocity values.
Position is programmed in counts.
The reference position for the MovePosition 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.
Note: Returns an error if a move is already in progress.
Starts execution of the previously buffered move profile.
Returns 0 if successful, or -1 on an error
long MoveStop(void);
Stops a move in a controlled manner using the programmed move
deceleration value.
Move status may be checked with a MoveInProgress function.
Returns 0 if successful, or -1 on an error