omron — J^{constant}

PMAC Product Guide Examples: M172->L:$082B ; Define #1 variable jog position/distance reg. M172=3000 ; Assign position value to register #1J=* ; Jog Motor 1 to this position M172=P1*SIN(P2) ; Assign new position value to register #1J=* ; Jog Motor 1 to this position #1J= ; Return to prejog target position J=={constant} Function : Jog to specified motor position and make that position the pre-jog position Scope : Motor specific Syntax : J=={constant} where {constant} is a floating point value specifying the location to which to jog, in encoder counts This command causes the addressed motor to jog the position specified by {constant} .

It also makes this position the pre-jog position, so it will be the destination of subsequent J= commands. 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: #1J==10000 ; Jog Motor 1 to 10000 counts and make that the pre-jog position. J+ ; Jog indefinitely in the positive direction J= ; Return to 10000 counts J^{constant} Function : Jog Relative to Actual Position Scope : Motor specific Syntax :

J^{constant} where {constant} is a floating point value specifying the distance to jog, in counts. This causes a motor to jog the distance specified by {constant} relative to the present actual position. Jogging acceleration and velocity are determined by the values of Ix19-Ix22 in force at the time of this command. Compare to J:{constant} which is a jog relative to the present commanded position. Usually, the J:{constant} command is more useful because its destination is not dependent on the following error at the instant of the command. The J^0 command can be useful for swallowing any existing following error. A variable incremental jog can be executed with the J^* 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: #1HM ; Do homing search move on Motor 1 J^2000 ; Jog a distance of 2000 counts from actual position ; If actual was -5 cts, new command pos is 1995 cts J^2000 ; Jog a distance of 2000 counts from actual position ; If actual was 1992 cts, new cmd pos is 3992 cts 170 Online Commands