258 ● WT DMC-40x0 Command Reference
WT
FUNCTION: Wait
DESCRIPTION:
The WT command is a trippoint used to time events. When this command is executed, the
controller will wait for the number of ms specified before executing the next command.
ARGUMENTS: WT n where
n is an unsigned even number in the range 0 to 2,000,000,000
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line
No
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.