WS wait for motion stop
IMM PGM MIP
USAGE ♦ ♦ ♦
SYNTAX xxWSnn
PARAMETERS
Description xx [ int ] - axis number
nn [ int ] - delay after motion is complete
Range xx - 0 to MAX AXES
nn - 0 to 60000
Units xx - none
nn - milliseconds
Defaults xx missing: error 37, AXIS NUMBER MISSING
out of range: error 9, AXIS NUMBER OUT OF RANGE
motion is complete and then executes the next commands.
WP - wait for position
nn missing: error 38, COMMAND PARAMETER MISSING
out of range: error xx2, PARAMETER OUT OF RANGE
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 milliseconds after the
Note:
Wait commands are primarily intended for use in internal program execution or
in combination with the RQ command. If used in command mode, it is important
to note that input command processing is suspended until the wait condition has
been satisfied.
RETURNS none
REL. COMMANDS WT - wait
EXAMPLE 2PA10;2WS500;3PA5 | move axis # 2 to position 10 units, wait for axis # 2 to
| reach destination, wait an additional 500ms and then
| move axis # 3 to position 5 units
3-154 Section 3 – Remote Mode