PMAC Product Guide 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 incremental form (i.e. as a vector from the move start point, not from the origin). An INC command without any arguments does not affect this vector specification. The default vector specification is incremental. If a motion program buffer is open when this command is sent to PMAC, it will be entered into the buffer as a program statement. Examples:
INC(A,B,C) ; A, B, and C axes made incremental -- other axes and radius vector left as is INC ; All axes made incremental -- radius vector left as is INC(R) ; Radius vector made incremental -- all axes left as is J! Function : Adjust motor commanded position to nearest integer count Scope : Motor specific Syntax : J! This command causes the addressed motor, if the desired velocity is zero, to adjust its commanded position to the nearest integer count value. It can be valuable to stop dithering if the motor is stopped with its commanded position at a fractional value, and integral gain is causing oscillation about the commanded position. Examples:
OPEN PLC 7 CLEAR IF (M50=1) ; Condition to start branch CMD"#1J/" ; Tell motor to stop WHILE (M133=0) ; Wait for desired velocity to reach zero ENDWHILE CMD"#1J!" ; Adjust command position to integer value M50=0 ; To keep from repeated execution ENDIF J+ Function : Jog positive Scope : Motor specific Syntax : J+ This command causes the addressed motor to jog in the positive direction indefinitely. Jogging acceleration and velocity are determined by the values of Ix19-Ix22 in force at the time of this command. PMAC will reject this command if the motor is in a coordinate system that is currently running a motion program (reporting ERR001 if I6 is 1 or 3). Examples:
J+ ; Jog addressed motor positive #7J+ ; Jog Motor 7 positive #2J+#3J+ ; Jog Motors 2 and 3 positive 166 Online Commands