4MELFA-BASIC V
MELFA-BASIC V functions
4-96
(7) High path accuracy control
It is possible to improve the motion path tracking when moving the robot. This function is limited to certain
types of robot. Currently, the Prec instruction is available for vertical multi-joint type 5-axis and 6-axis robots.
*Command word
*Statement example
*Program example
•Program example
The Prec instruction improves the tracking accuracy of the robot's hand tip, but lowers
the acceleration/deceleration of the robot movement, which means that the cycle time
may become longer. The tracking accuracy will be further improved if the Cnt instruc-
tion is not included. However, the hand tip speed cannot be guaranteed in this case.
Command word
Explanation
Prec
This instruction specifies whether the high path accuracy mode should be enabled or disabled.
Statement example
Explanation
Prec On ............................................................................
Enables the high path accuracy mode.
Prec Off ............................................................................
Disables the high path accuracy mode.
Program
Explanation
1
Mov P1, -50 *1)
'
(1)
Moves with joint interpolation from P1 to position retracted 50mm in hand direction.
2
Ovrd 50
' Sets the movement speed to half of the maximum speed.
3
Mvs P1
'
(2)
Moves with linear interpolation to P1.
4
Prec On
' The high path accuracy mode is enabled.
5
Mvs P2
'
(3)
Moves the robot from P1 to P2 with high path accuracy.
6
Mvs P3
'
(4)
Moves the robot from P2 to P3 with high path accuracy.
7
Mvs P4
'
(5)
Moves the robot from P3 to P4 with high path accuracy.
8
Mvs P1
'
(6)
Moves the robot from P4 to P1 with high path accuracy.
9
Prec Off
' The high path accuracy mode is ÇÑisableÇÑ.
10
Mvs P1, -50 *1)
'
(7)
Returns the robot to the position 50 mm behind P1 in the hand direction using linear
interpolation.
11
End
' Ends the program.
P1
P2
P3
P4
(1)
(2)
(3)
(4)
(5)
(6)
(7)
:Movement position
:Robot movement
Hand
*1) Specification of forward/
backward movement of the
hand
*1) The statement examples and program exam-
ples are for a vertical 6-axis robot (e.g., RV-
6SD).
The hand advance/retrace direction
relies on the Z axis direction (+/- direction) of
the tool coordinate set for each model.
Refer to the tool coordinate system shown in
"Confirmation of movement" in the separate
"From Robot unit setup to maintenance", and
designate the correct direction.
CAUTION
Robot movement
CAUTION