Reference Manual
  PMAC/PMAC2 Software Reference Manual 
4  PMAC Command and Variable Summary 
MACRO Ring Commands 
MACROAUX – Report Type 0 MACRO slave variable value to host 
MACROAUXREAD – Copy Type 0 MACRO slave variable to PMAC variable 
MACROAUXWRITE – Copy PMAC variable value to Type 0 MACRO slave variable 
MACROSLV {command} {node#} – Send command to Type 1 MACRO slave 
MACROSLV {node#},{slave variable} – Report Type 1 MACRO slave variable value 
   to host 
MACROSLV {node#},{slave variable}={constant} – Set Type 1 MACRO slave 
    variable value 
MACROSLVREAD – Copy Type 1 MACRO slave variable to PMAC variable 
MACROSLVWRITE – Copy PMAC variable value to Type 1 MACRO slave variable 
On-line Coordinate System Commands 
(These act immediately on currently addressed coordinate system) 
Axis Definition Commands 
#n->[{constant}]{axis}[+{constant}] – Define axis in terms of motor #, 
     scale factor, and offset. 
 Examples:  #1->X 
 #4->2000A+500 
#n->[{constant}]{axis}[+[{constant}]{axis}[+[{constant}]{axis}]] 
[+{constant}] – Define 2 or 3 axes in terms of motor #, scale factors, and offset. 
    Valid only within XYZ or UVW groupings. 
 Examples:  #1->8660X-5000Y 
 #2->5000X+8660Y+5000 
#n-> – Report axis definition of Motor n in this C. S. 
UNDEFINE – Erase definition of all axes in this C. S. 
General Coordinate-System Commands 
?? – Report coordinate system status in hex ASCII form 
%{constant} – Specify feedrate override value 
% – Report current feedrate override value to host 
Program Control Commands 
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 
Q – Halt program; stop moves at end of last calculated program command 
/ – Halt program execution at end of currently executing move 
\ – Do program hold that permits jogging while in hold mode 
MFLUSH – Erase contents of synchronous M-variable stack without executing 
Coordinate-System Variable Commands 
Q{constant} [..{constant}]={expression} – Assign expression value to 
 Q-variable(s) 
Q{constant} [..{constant}] – Report Q-variable value(s) to host 










