162 PR DMC-1400 Series Command Reference
PR
FUNCTION: Position Relative
DESCRIPTION:
The PR command sets the incremental distance and direction of the next move. The move is
referenced with respect to the current position. If a ? is used, then the current incremental
distance is returned (even if it was set by a PA command). Units are in quadrature
counts.
ARGUMENTS: PR n where
n is a signed integer in the range -2147483648 to 2147483647 decimal
“?” returns the current incremental distance
USAGE:
While Moving No Default Value 0
In a Program Yes Default Format Position Format setting
Command Line Yes
Can be Interrogated Yes
Used as an Operand Yes
Controller Usage ALL
OPERAND USAGE:
_PR will return the current incremental distance.
RELATED COMMANDS:
BG Begin
AC Acceleration
DC Deceleration
SP Speed
IP Increment Position
EXAMPLES:
:PR 100 On the next move the X-axis will go 100 counts,
:BG
:PR ? Return relative distances
0000000100