Reference Manual
  PMAC/PMAC2 Software Reference Manual 
8  PMAC Command and Variable Summary 
READ ({letter} [,{letter}...]) – Allows subprogram or subroutine to take arguments 
G{data} – Gnn[.mmm] interpreted as CALL 1000.nnmmm 
  (PROG 1000 provides subroutines for desired G-Code actions.) 
M{data} – Mnn[.mmm] interpreted as CALL 1001.nnmmm 
  (PROG 1001 provides subroutines for desired M-Code actions.) 
T{data} – Tnn[.mmm] interpreted as CALL 1002.nnmmm 
  (PROG 1002 provides subroutines for desired T-Code actions.) 
D{data} – Dnn[.mmm] interpreted as CALL 1003.nnmmm 
  (PROG 1003 provides subroutines for desired D-Code actions.) 
S{data} – Sets Q127 to value of {data} 
PRELUDE1{call command} – For modal execution of call cmd. before subsequent moves 
PRELUDE0 – De-activates modal PRELUDE calls 
IF({condition}){action} – Conditionally execute action 
IF({condition}) – Conditionally execute following statements 
ELSE {action} – Execute action on previous false condition 
ELSE – Execute following statements on previous false condition 
ENDIF – Follows last of conditionally executed statements 
WHILE({condition}) {action} – Do action as long as condition true 
WHILE({condition}) – Do following statements as long as true 
ENDWHILE – Follows last of conditionally executed statements 
BLOCKSTART – So all commands until BLOCKSTOP to execute on Step 
BLOCKSTOP – End of stepped statements starting on BLOCKSTART 
STOP – Halts program execution; ready to resume 
WAIT – Used with WHILE to halt execution while condition true 
Miscellaneous Commands 
COMMAND "{command}" – Issue command as if it came from host 
COMMAND^{letter} – Issue control character command 
SEND"{message}" – Transmit message over host interface 
SENDS"{message}" – Transmit message over serial interface 
SENDP"{message}" – Transmit message over parallel interface 
DISPLAY [{constant}] "{message}" – Send message to LCD display [starting 
 at specified location] 
DISPLAY {constant},{constant}.{constant},{variable} – Send variable 
    value to LCD using specified location and format 
ENABLE PLC{constant}[,{constant}...] – Enable operation of specified 
 interpreted PLC program[s] 
DISABLE PLC{constant}[,{constant}...] – Disable operation of specified 
 interpreted PLC program[s] 
PAUSE PLC{constant}[,{constant}...] – Suspend operation of specified 
    interpreted PLC program[s] at present point 
RESUME PLC{constant}[,{constant}...] – Continue operation of specified 
    interpreted PLC program[s] at paused point 
ENABLE PLCC{constant}[,{constant}...] – Enable operation of specified 
 compiled PLC program[s] 
DISABLE PLCC{constant}[,{constant}...] – Disable operation of specified 
 compiled PLC program[s] 










