Mitsubishi MELFA CR1D Instruction Manual page 225

Table of Contents

Advertisement

[Explanation]
(1) With the JRC 1/-1 instruction (JRC n/-n), the current joint coordinate values of the specified axis are
incremented/decremented.
The origin for the designated axis is reset with the JRC 0 command.
Although the values of the joint coordinates change, the robot does not move.
(2) When using this command, change the movement range of the target axis beforehand so that it does not
leave the movement range when the command is executed. The range can be changed by changing
the - side and + side value of the corresponding axis in the joint movement range parameter "MEJAR".
Set the movement range for the rotating axis in the range of -2340 deg. to 2340 deg.
(3) If the designated axis is omitted, the priority axis will be the target. The priority axis is the rotating axis (J6
axis) at the end of the robot.
(4) If the designated axis is omitted when a priority axis does not exist (robot incapable of JRC), or if the
designated axis is not a target for JRC, an error will occur when the command is executed.
(5) If the origin is not set, an error will occur when the command is executed.
(6) The robot is stopped while the JRC command is executed. Even if Cnt is validated, the interpolation con-
nection will not be continuous when this command is executed.
(7) The following parameter must be set before using the JRC command.
Set JRCEXE to 1. (JRC execution enabled)
Change the movement range of the target axis with MEJAR.
Set the position change amount during the JRC 1/-1(JRC n/-n) execution with JRCQTT.
(Only for the additional axis or user-defined mechanism.)
Set the origin position for executing JRC 0 with JRCORG.
(Only for the additional axis or user-defined mechanism.)
(8) When parameter JRCEXE is set to 0, no process will take place even if JRC command is executed.
(9) If the movement amount designated with parameter JRCQTT is not within the pulse data 0 to Max., an
error will occur during the initialization. Here, Max. is 2 ^ (Number of encoder bits + 15) - 1. For example,
with a 13-bit encoder (8192 pulses), this will be Max. = 2 ^ (13+15)-1 = 0x0fffffff,
and for a 14-bit encoder (16384 pulses), this will be Max. 2 ^ (14+15)-1 = 0x1fffffff.
The movement amount to pulse data conversion is as follows:
For rotating axis
Pulse data = movement amount (deg.)/360 * gear ratio denominator/gear ratio numerator * Num-
ber of encoder pulses
For linear axis
Pulse data = movement amount (mm) * gear ratio denominator/gear ratio numerator * Number of
encoder pulses
(10) The origin data will change when JRC is executed, so the default origin data will be unusable.
If the controller needs to be initialized due to a version upgrade, etc., the parameters must be backed
up beforehand in the original state.
(11) Step return operation is not possible with the JRC command.
(12) This instruction cannot be used in a constantly executed program.
[Related parameter]
JRCEXE
Set whether to enable/disable the JRC execution.
Execution disabled = 0 (default value)/execution enabled = 1
JRCQTT
Designate the amount to move (1 deg./1mm unit) when incrementing or decrementing with the JRC com-
mand in additional axis or user-defined mechanism.
For the JRC's applicable axis on the robot arm side, it is fixed at 360 degrees regardless of this setting.
JRCORG
Designate the origin for executing JRC 0. in additional axis or user-defined mechanism.
Refer to
Page 343, "5 Functions set with parameters"
for detail.
Detailed explanation of command words 4-212
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents