PMAC Product Guide Motion program execution may resume (if a motion program was in fact aborted) by issuing either an R or S command, but two factors must be considered. First, the starting positions for calculating the next move will be the original end positions of the aborted move unless the PMATCH command is issued or I14=1. Second, the move from the aborted position to the next move end position may not be possible or desirable. The J= command may be used to jog each motor in the coordinate system to the original end position of the aborted move, provided I13 is 0 (no segmentation mode). Examples:
B1R ; Start Motion Program 1 A ; Abort the program #1J=#2J= ; Jog motors to original move-end position R ; Resume program with next move ABS Function : Select absolute position mode for axes in addressed coordinate system. Scope : Coordinate-system specific Syntax : ABS ABS ({axis}[,{axis}...]) where {axis} is a letter (X, Y, Z, A, B, C, U, V, W) representing the axis to be specified or the character R to specify radial vector mode This command, without any arguments, causes all subsequent positions for all axes in the coordinate system in motion commands to be treated as absolute positions (this is the default condition).
An ABS command with arguments causes the specified axes to be in absolute mode and all others to remain unchanged. If R is specified as one of the axes, the I, J, and K terms of the circular move radius vector specification will be specified in absolute form (i.e. as a vector from the origin, not from the move start point). An ABS command without any arguments does not affect this vector specification. The default radial vector specification is incremental. If a motion program buffer is open when this command is sent to PMAC, the command will be entered into the buffer for later execution. Examples:
ABS(X,Y) ; X & Y made absolute -- other axes and radial vector left unchanged ABS ; All axes made absolute -- radial vector left unchanged ABS(R) ; Radial vector made absolute -- all axes left unchanged {axis}={constant} Function : Re-define the specified axis position. Scope : Coordinate-system specific Syntax : {axis}={constant} where {axis} is a letter from the set (X, Y, Z, U, V, W, A, B, C) specifying the axis whose present position is to be re-named. {constant} is a floating-point value representing the new name value for the axis’ present position.
This command re-defines the current axis position to be the value specified in {constant} , in user units (as defined by the scale factor in the axis definition). It can be used to relocate the origin of the coordinate system. This does not cause the specified axis to move; it simply assigns a new value to the position. 156 Online Commands