
A-79348E
Title
Draw
No.
50/88
page
FANUC Series 30i-MODEL A
Tool center point control
for 5-axis machining
Ed. Date Design Description
Date Jan.16.’04 Design. Apprv.
- When circular interpolation is performed during tool center point control
In this example, one of the three sides of an equilateral triangle, each being
100 mm long side, is specified as a straight line and the other two are
specified as arcs, and each side is cut at B-axis angles of -60,
-45 to -30, and -30 degrees, respectively. (For the X-axis, its radius is
specified.)
Example)
The program sample given below assumes that the table-fixed coordinate
system is used as the programming coordinate system. When the
workpiece coordinate system is used as the programming coordinate system
(when parameter No.19696#5 (WKP) is set to 1), the same shape can be
obtained by specifying the values shown in parentheses.
N001 T0000 ; Cancels the tool offset.
N002 G54 ; Selects the workpiece coordinate system.
N003 G90 X50.0 Y-70.0 Z300.0 B-90.0 C0.0 ; Moves to the initial position.
The tool tip faces the Z- direction at B-axis
angle of -90 degrees.
N020 G01 G43.4 H01 Starts tool center point control.
N021 Z20.0 ; Moves to the approaching position.
N022 X28.868 Y-50.0 Z10.0 B-60.0 ; The Z-axis height on the machining
plane is 10.0.
N031 Y50.0 ;
N032 B-45.0 C90.0 ;
(N032 X50.0 Y-28.868 B-45.0 C90.0 ;)
N033 G17 G03 X-57.735 Y0.0 J-100.0 B-30.0 C150.0 ;
Moves X and Y while operating both B-
and C-axes.
(N033 G17 G03 X50.0 Y28.868 I-100.0 B-30.0 C150.0 ;)
N034 G01 B-30.0 C210.0 ;
(N034 G01 X50.0 Y-28.867 B-30.0 C210.0 ;)
N035 G03 X28.868 Y-50.0 I86.603 J50.0 C270.0 ;
(N035 G03 X50.0 Y28.868 I-100.0 C270.0 ;)
N041 G01 X50.0 Y-70.0 Z20.0 B-90.0 C360.0 ;
X, Y, and Z are approaching positions.
The rotary axes remain at their original
positions.
N050 G49 Cancels tool center point control.
N051 Z300.0 ; Moves the Z-axis to its initial position.