MC-Basic:WaitForMotion
This command causes the program to wait until the currently executing motion is completed, only after that the next line will be executed.
Syntax
WaitForMotion <motionelement>
Availability
All versions
Range
<motionelement>: Name of an existing axis or group
Scope
Task or Terminal
Limitations
Attachment is required.
Examples
Attach x_axis Move x_axis 10 WaitForMotion x_axis Move x_axis 20 Detach x_axis