PMAC Product Guide / Function : Halt program execution at end of currently executing move Scope : Coordinate-system specific Syntax : / This command causes PMAC to halt the execution of the motion program running in the currently addressed coordinate system at the end of the currently executing move, provided PMAC is in segmentation mode (I13>0). If PMAC is not in segmentation mode (I13=0), the / command has the same effect as the Q command, halting execution at the end of the latest calculated move, which can be one or two moves past the currently executing move. Once halted at the end of the move, program execution can be resumed with the R command.
In the meantime, the individual motors may be jogged way from this point, but they must all be returned to this point using the J= command before program execution may be resumed. An attempt to resume program execution from a different point will result in an error (ERR017 reported if I6 = 1 or 3). If resumption of this program from this point is not desired, the A (abort) command should be issued before other programs are run. Examples:
&1B5R ; Command Coordinate System 1 to start PROG 5 / ; Halt execution of program #1J+ ; Jog Motor 1 positive J/ ; Stop jogging J= ; Return to prejog position R ; Resume execution of PROG 5 / ; Halt program execution #2J- ; Jog Motor 2 negative J/ ; Stop jogging R ; Try to resume execution of PROG 5 ERR017 ; PMAC reports error; not at position to resume J= ; Return to prejog position R ; Resume execution of PROG 5 ? Function : Report motor status Scope : Motor specific Syntax : ? This command causes PMAC to report the motor status bits as an ASCII hexadecimal word. PMAC returns twelve characters, representing two status words. Each character represents four status bits.
The first character represents Bits 20-23 of the first word; the second shows Bits 16-19; and so on, to the sixth character representing Bits 0-3. The seventh character represents Bits 20-23 of the second word; the twelfth character represents Bits 0-3. The value of a bit is 1 when the condition is true; 0 when it is false. The meaning of the individual bits is: Online Commands 143