Download DMC-1300

Transcript
PA (Binary C8)
FUNCTION: Position Absolute
DESCRIPTION:
The PA command will set the final destination of the next move. The position is
referenced to the absolute zero. If a ? is used, then the current destination
(current command position if not moving, destination if in a move) is returned.
For each single move, the largest position move possible is +/-2147483647. Units
are in quadrature counts.
ARGUMENTS: PA x,y,z,w
PAX=x
PA a,b,c,d,e,f,g,h
where
x,y,z,w are signed integers in the range -2147483647 to 2147483648 decimal
DPRAM:
Bit 5 of the Status #1 address in the Axis Buffer indicates when the controller is
performing a position absolute move. Bit 7 of the Status #2 address will show
the direction.
USAGE:
DEFAULTS:
While Moving
No
Default Value
-
In a Program
Yes
Default Format
Position Format
Command Line
Yes
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_PAx contains current destination (current command position if not moving,
destination if in a move).
RELATED COMMANDS:
"PR" on page 247
Position relative
"SP" on page 264
Speed
"AC" on page 163
Acceleration
"DC" on page 191
Deceleration
"BG" on page 174
Begin
EXAMPLES:
:PA 400,-600,500,200
X-axis will go to 400 counts Y-axis will go to -600
counts Z -axis will go to 500 counts W -axis will go
to 200 counts
:PA ?,?,?,?
Returns the current commanded position
400, -600, 500, 200
DMC 1300
:BG
Start the move
:PA 700
X-axis will go to 700 on the next move while the
:BG
Y,Z and W -axis will travel the previously set
relative distance if the preceding move was a PR
move, or will not move if the p receding move was a
PA move.
Error! Reference source not found. • 10 - 246