Galil Motion Control manc 18x 6 Page 224
DMC-18x6 Command Reference
216
WT
FUNCTION: Wait
DESCRIPTION:
The WT command is a trippoint used to time events. After this command is executed, the
controller will wait for the number of samples specified before executing the next command.
If the TM command has not been used to change the sample rate from 1 msec, then the units
of the Wait command are milliseconds.
ARGUMENTS: WT n where
n is an integer in the range 0 to 2 Billion decimal
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
EXAMPLES: Assume that 10 seconds after a move is over a relay must be closed.
#A Program
A
PR 50000
Position relative move
BGA Begin
the
move
AMA
After the move is over
WT 10000
Wait 10 seconds
SB 0
Turn on relay
EN End
Program
Hint:
To achieve longer wait intervals, just stack multiple WT commands.