EDH0162En1040 – 06/99
3.96
MM4005
PR — Move to relative position
Usage
IMM
PGM
MIP
Syntax
xxPRnn
Parameters
Description
xx
[int]
— Axis number.
nn
[float]
— Relative motion increment.
Range
xx
—
1
to
4.
nn
— Any value that will not cause exceeding the software
limits.
Units
xx
— None.
nn
— Defined motion units.
Defaults
xx
Missing: Error B.
Out of range: Error B.
Floating point: Error A.
nn
Missing: Error C.
Out of range: Error C.
Description
This command initiates a relative motion. When received, the selected axis
xx
will move, with the predefined acceleration and velocity, to a relative
position
nn
units away from the current position.
NOTE
If the motor power is turned off, MO command which turns motor power
on is executed before PR commmand, except if the controller has detect-
ed a fault condition.
NOTE
Even though the command is accepted while a motion is in progress,
care should be taken not to reverse direction of motion. When this com-
mand is received, the controller verifies if it will produce a change of
direction. If so, it will refuse the execution and set error code D.
NOTE
If the axis was previously defined as a synchronized axis, PR command
will only set the destination but not generate a motion. For synchronized
axes use SE command to execute a motion.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
Rel. Commands
AC
—
Set acceleration.
PA
—
Move to absolute position.
ST
—
Stop motion.
VA
—
Set velocity.
Example
3VA8 |
Set velocity of axis #3 to 8 units/sec.
3PR2.34
|
Move axis #3 2.34 units away from the current position.
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 ...