Move Is Finished

C Definition

long dms_MoveIsFinished(long NodeNumber, long GroupNumber)

Pascal Definition

function dms_MoveIsFinished(NodeNumber:longint; GroupNumber:longint):longint;

Description

Move Is Finished indicates if the a motor or motor group has completed motion or is still in progress. This command is used with non-blocking Begin Move By and Begin Move Tomotion commands that initiate motion but do not wait for the motion to be comleted. It is useful when multiple concurrent motions are started and it is necessary to confirm that their independent activities have all completed before continuing to the next program step. This can also be used to monitor a motor's condition for purposes such as managing current cutback for a stepper motor drive.

Escapes

Move Is Finished does not generate any escapes.

Note that the EscapeResult parameter must be preset to 0 before making the call or the routine will not run

Related Topics

Begin Move By
Begin Move To