EDH0162En1040 – 06/99
3.92
MM4005
PA — Move to absolute position
Usage
IMM
PGM
MIP
Syntax
xxPAnn
Parameters
Description
xx
[int]
— Axis number.
nn
[float]
— Absolute position destination.
Range
xx
—
1
to
4.
nn
— Any position within the software travel 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 an absolute motion. When received, the selected
axis
xx
will move, with the predefined acceleration and velocity to the
absolute position specified by
nn
.
NOTE
If the motor power is turned off, MO command which turns motor power
on is executed before PA 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, PA 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.
PR
—
Move to relative position.
ST
—
Stop motion.
VA
—
Set velocity.
Example
3VA8 |
Set velocity of axis #2 to 8 units/sec.
3PA12.34
|
Move axis #3 to absolute position 12.34.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com