
A-79348E
Title
Draw
No.
44/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 linear interpolation is performed during tool center point control
Examples are given below in which each 100-mm-long side of an equilateral
triangle is cut at B-axis angles of 0, 30 to 60, and 60 degrees, respectively.
Example)
When type 1 is selected and the table-fixed coordinate system is used as the
programming coordinate system:
O400 (Sample Program4) ;
N10 G55 ; Prepares the programming
coordinate system.
N20 G90 X50.0 Y-70.0 Z300.0 B0 C0 ; Moves to the initial position.
N30 G01 G43.4 H01 Z20.0 F500. ; Starts tool center point control.
Moves to the approaching
position.
H01 is the tool compensation
number.
N40 X28.868 Y-50.0 Z10.0 B30.0 ; The Z-axis height on the
machining plane is 10.0.
N50 Y50.0 ;
N60 B45.0 C120.0 ;
N70 X-57.735 Y0 B60.0 C180.0 ; Moves X and Y while
operating both B- and C-axes.
N80 C240.0 ;
N90 X28.868 Y-50.0 ;
N100 X50.0 Y-70.0 Z20.0 B0 C360.0 ; X, Y, and Z are approaching
positions.
The rotary axes remain at their
original positions.
N110 G49 Z300.0 ; Cancels tool center point
control.
Moves the Z-axis to its initial
position.
N120 M30;