3.165
EDH0162En1040 – 06/99
MM4005
WT — Wait
Usage
IMM
PGM
MIP
Syntax
WTnn
Parameters
Description
nn
[int]
— Wait time (delay).
Range
nn
—
0
to
1073741824.
Units
nn
— Milliseconds.
Defaults
nn
Missing: 0.
Out of range: Nearest range limit.
Floating point: Decimal part truncated.
Non-increment: Rounded to nearest increment.
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 WA. Both exist only for program compati-
bility reasons with other controllers.
Returns
None.
Errors
None.
COMMANDES ASSOCIES
WA
—
Wait.
Example
6UL,
WT400
, 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