omron — J=*

PMAC Product Guide 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: &1Q ; Stop motion program at end of move #1J+ ; Jog Motor 1 away from this position J/ ; Stop jogging J= ; Jog back to position where program quit R ; Resume motion program &1A ; Stop motion program in middle of move #1J=#2J=#3J= ; Move all motors to original move end position R ; Resume motion program J={constant} Function : Jog to specified 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 to the position specified by {constant} . Jogging acceleration and velocity are determined by the values of Ix19-Ix22 in force at the time of this command. A variable jog-to-position 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: J=0 ; Jog addressed motor to position 0 #4J=5000 ; Jog Motor 4 to 5000 counts #8J=-32000 ; Jog Motor 8 to -32000 counts J=* Function : Jog to specified variable position Scope : Motor specific Syntax :

J=* This command causes the addressed motor to jog to the position specified in the motor’s variable jog position/distance register. Jogging acceleration and velocity are determined by the values of Ix19-Ix22 in force at the time of this command. The variable jog position/distance register is a floating-point register with units of counts. It is best accessed with a floating-point M-Variable. The register is located at PMAC address L:$082B for motor 1, L:$08EB for motor 2, etc. The usual procedure is to write the destination position to this register by assigning a value to the M-Variable, then issuing the J=* command.

Virtually the same result can be obtained by writing to the motor target position register and issuing the J= command. However, using the J=* command permits returning to the real target position afterwards without having to restore the target position register. Also, the J=* command uses a register whose value is scaled in counts, not fractions of a count. 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). Online Commands 169