EDH0162En1040 – 06/99
3.164
MM4005
WS — Wait for motion stop
Usage
IMM
PGM
MIP
Syntax
xxWSnn
Parameters
Description
xx
[int]
— Axis number.
nn
[int]
— Delay after motion is complete.
Range
xx
—
0
to
4.
nn
—
0
to
1073741824.
Units
xx
— None.
nn
— Milliseconds.
Defaults
xx
Missing: 0.
Out of range: Error B.
Floating point: Error A.
nn
Missing: 0.
Out of range: 0.
Floating point: Decimal part truncated
Description
This command stops the program execution until a motion is completed.
The program is continued only after axis
xx
reaches its destination. If
xx
is
not specified, the controller waits for all motion in progress to end. If
nn
is
specified different than 0, the controller waits an additional
nn
millisec-
onds after the motion is complete and then executes the next commands.
NOTE
There are a few milliseconds of delay between execution of different
command lines. If you need precise delays, place the critical commands
on the same line immediately following WS.
NOTE
To terminate an excessively large delay, turn the motor power off and on.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
Rel. Commands
WA
—
Wait.
WK
—
Wait for key.
WP
—
Wait for position.
WT
—
Wait.
Example
2PA10,
2WS500
, 3PA5 |
Move axis #2 to position 10 units, wait for axis #2 to reach destina-
tion, wait an additional 500ms and then move axis #3 to position 5
units.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание MM4005
Страница 360: ...Section 7 Servo Tuning Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 368: ...Section 8 Appendices Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 405: ...EDH0162En1040 06 99 8 36 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 406: ...Section 9 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...