Programming Commands 159
WAITDONE Motion Parameter
ACTION: Waits for motion to be done for the specified axes. "Done" means mo-
tion is complete.
PROGRAM SYNTAX: WAITDONE(axis)
WAITDONE=expession1, ... , expression8
WAITDONE(axis, .... ,axis)
REMARKS: The "axis" specifies the number of the axis (1-8).
The expression specifies the axis to wait for motion complete.
An alternate way to accomplish the WAITDONE function is as follows:
DO: LOOP WHILE BUSY(1)
‘ Waits until axis 1 motion is completed.
EXAMPLES: WAITDONE(3)
‘ Waits for axis 3 motion to be complete before continuing program
execution
WAITDONE (1,2,4,5,6,7,8)
‘ Waits for axis 1, 2, 4, 5, 6, 7, and 8 motion to be complete before
continuing program execution.
Kommentare zu diesen Handbüchern