WP wait for position
IMM PGM MIP
Range xx - 1 to MAX AXES
nn missing: error 38, COMMAND PARAMETER MISSING
Note:
RETURNS None
USAGE ♦ ♦ ♦
SYNTAX xxWPnn
PARAMETERS
Description xx [ int ] - axis number
nn [ float ] - position value
nn - starting position to destination of axis number xx
Units xx - none
nn - predefined units
Defaults xx missing: error 37, AXIS NUMBER MISSING
out of range: error 9, AXIS NUMBER OUT OF RANGE
out of range: error 7, PARAMETER OUT OF RANGE
DESCRIPTION This command stops program execution until a user specified position is reached.
The program continues executing any subsequent commands only after axis xx
has reached position nn.
Ensure that position nn is within the travel range of axis xx. The controller
cannot always detect if a value is outside the travel range of an axis to flag an
error, especially while making coordinated motion of multiple axes.
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.
REL. COMMANDS WT - wait
WS - wait for motion stop
EXAMPLE 2PA-10; 2WS | move axis # 2 to position –10 units and wait for stop
2PA10; 2WP0; 3PA5 | move axis #2 to position 10 units, wait for axis #2 to
reach position 0 units and then move axis #3 to position
5 units
Section 3 – Remote Mode 3-153