Galil Motion Control optcom Page 222
Optima DMC-1xxx and DMC-18x2 Command Reference
WC
i
211
WC
FUNCTION: Wait for Contour Data
DESCRIPTION:
The WC command acts as a flag in the Contour Mode. After this command is executed, the
controller does not receive any new data until the internal contour data buffer is ready to
accept new commands. This command prevents the contour data from overwriting on
itself in the contour data buffer.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
"
CM
" Contour
Mode
"DT "
Contour Time
"
CD
" Contour
Data
EXAMPLES:
CM ABCD
Specify contour mode
DT 4
Specify time increment for contour
CD 200,350,-150,500
Specify incremental position on A,B,C and D. A-axis moves 200 counts
B-axis moves 300 counts C-axis moves -150 counts D-axis moves 500
counts
WC
Wait for contour data to complete
CD 100,200,300,400
WC
Wait for contour data to complete
DT 0
Stop contour
CD 0,0,0,0
Exit mode