Installation guide

Programming Commands 89
DONE Motion Parameter
ACTION: Returns the motion status of the designated axis. DONE means motion
is completed.
PROGRAM SYNTAX: DONE(axis) - used in an expression
REMARK: The axis specifies the number of the axis (1-8).
If the commanded motion of an axis is complete a True (1) is returned
otherwise a False(0) is returned. DONE is the complement of BUSY.
EXAMPLE: X=DONE(1)
The motion status of axis 1 is returned to variable X.
DO
statements
UNTIL DONE(1) ‘ execute do loop statements until axis 1 com-
manded motion is completed.