Page 81 of 112
DMM-0200 Product User Guide
159 Swanson Road
Boxborough, MA 01719
Tel: 508-475-3400
Email: sales@dovermotion.com
WAIT
Description:
Tell program to wait until move on the certain axis is finished before executing next line.
Syntax:
WAIT[axis]
X[variable]
Examples:
X10000 ;***Move X Axis to position 10000
WAITX ;***Wait until X Axis move is done
DO=5 ;***Set digital output
Y3000 ;***Move Y Axis to 3000
WAITY ;***Wait until Y Axis move is done
WHILE
Description:
Perform WHILE loop
Syntax:
WHILE [Argument 1] [Comparison] [Argument 2]
[Argument] can be any of the following:
Numerical value
Pulse or Encoder Position
Digital Output
Digital Input
Enable Output
Motor Status
[Comparison] can be any of the following
= Equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
!= Not Equal to
Examples:
WHILE V1=1 ;***While V1 is1 continue to loop
X0
WAITX X1000
WAITX
ENDWHILE
X
Description:
Command: Perform X axis move to target location
With other Axis moves in the same line, linear interpolation move is done.
Syntax:
X[value]
X[variable]
Examples: