PMAC Product Guide \ Function : Do a program hold (permitting jogging while in hold mode) Scope : Coordinate-system specific Syntax : \ This command causes PMAC to do a program hold of the currently addressed coordinate system in a manner that permits jogging of the motors in the coordinate system while in hold mode, provided PMAC is in a segmented move ( LINEAR or CIRCLE mode with I13>0). If PMAC is in segmentation mode (I13=0, or other move mode), the \ command has the same effect as the H command, bringing the motors to a stop in the same way, but not permitting any moves while in feed hold mode.
The rate of deceleration to a stop in feed hold mode, and from a stop on the subsequent R command, is controlled by I-Variable I52. This is a global I-Variable that controls the rate for all coordinate systems. Once halted in hold mode, program execution can be resumed with the R command. In the meantime, the individual motors may be jogged away from this point, but they must all be returned to this point using the J= command before program execution can 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 \ ; Command feed hold of program #1J+ ; Jog Motor 1 positive J/ ; Stop jogging (examine part here) 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 A Function : Abort all programs and moves in the currently addressed coordinate system Scope :
Coordinate-system specific Syntax : A This command causes all axes defined in the current coordinate system to begin immediately to decelerate to a stop, aborting the currently running motion program (if any). It also brings any disabled (killed) or open loop motors (defined in the current coordinate system) to an enabled zero-velocity closed-loop state. If moving, each motor will decelerate its commanded profile at a rate defined by its own motor I-Variable Ix15. If there is significant following error when the A command is issued, it may take a long time for the actual motion to stop.
Although the command trajectory is brought to a stop at a definite rate, the actual position will continue to catch up to the commanded position for a longer time. A multi-axis system may not stay on its programmed path during this deceleration. Note: Abort commands are not recovered from gracefully. To resume easily, use the H , Q , / , or \ command instead. Online Commands 155