Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Variable and Command Summary 28
#n-> Report axis definition of motor n in this C. S.
#n->0 Erase axis definition of motor n in this C. S.
UNDEFINE Erase definition of all axes in this C. S.
General Coordinate-System Commands
%{constant} specify feedrate override value
$$ Establish phase reference (if necessary) and close loop for all motors in C.S.
$$* Read absolute position value for all motors in C.S.
Coordinate-System Reporting Commands
?? Report coordinate system status in hex ASCII form
% report current feedrate override value to host
LIST PC Report next line to be calculated in motion program
LIST PE Report executing motion line in motion program
LIST ROTARY Report contents of coordinate system’s rotary motion program buffer
MOVETIME Report time left in presently executing move
PC Report address of next line to be calculated in motion program
PE Report address of executing motion line in motion program
PR Report number of lines still to be calculated in rotary buffer
Program Control Commands
/ - Stop execution at end of currently executing move
\ - Execute quickest stop in lookahead that does not violate constraints
R Run current program
S Do one step of current program
B[{constant}] Set program counter to specified location
H Feed hold for coordinate system
A Abort present program or move starting immediately
ABR[{constant}] Abort present program and restart or start another program
Q Halt program; stop moves at end of last calculated program command
MFLUSH Erase contents of synchronous M-variable stack without executing
Coordinate-System Variable Commands
Q{data}={expression} Assign expression value to specified Q-variable
Q{constant}..{constant}={constant} Assign constant value to specified range of Q-
variables
Q{constant}[..{constant}] Report Q-variable values to host
Axis Attribute Commands
{axis}={expression} Change value of commanded axis position
Z -- Make present commanded position of all axes in coordinate system equal to zero
INC [({axis}[,{axis}...])] Make all [or specified] axes do their moves incrementally
ABS [({axis}[,{axis}...])] Make all [or specified] axes do their moves absolute
FRAX ({axis}[,{axis}...]) Make specified axes to be used in vector feedrate calculations
NOFRAX Remove all axes from list of vector feedrate axes
PMATCH Re-match coordinate system axis positions to motor commanded positions (used in case axis
definition or motor position changed since last axis move)