EDH0162En1040 – 06/99
3.154
MM4005
WA — Wait
Usage
IMM
PGM
MIP
Syntax
WAnn
Parameters
Description
nn
[int]
— Wait time (delay).
Range
nn
—
0
to
1073741824.
Units
nn
— Milliseconds.
Defaults
xx
Missing: 0.
Out of range: 0.
Floating point: Decimal part truncated.
Description
This command causes the controller to pause for a specified amount of
time. This means that the controller will wait
nn
milliseconds before exe-
cuting the next command.
NOTE
Even though this command can be executed in immediate mode, its real
value is as a flow control instruction inside programs.
NOTE
This command is identical to WT. Both exist only for program compati-
bility reasons with other controllers.
Returns
None.
Errors
None.
Rel. Commands
WT
—
Wait.
Example
6UL,
WA400
, 2PA2.3 |
Wait for I/O input bit #6 to go low, wait an additional 400 ms and
then move axis 2 to position 2.3 units.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com