
A-79348E
Title
Draw
No.
46/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 type 2 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.5 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 I1.0 K1.732 ; The Z-axis height on the
machining plane is 10.0.
N50 Y50.0 ;
N60 I-0.5 J0.866 K1.0 ;
N70 X-57.735 Y0 I-1.732 K1.0 ; Moves X and Y while
operating both B- and C-axes.
N80 I-0.866 J1.5 K1.0 ;
N90 X28.868 Y-50.0 ;
N100 X50.0 Y-70.0 Z20.0 K1.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;
C
G55 workpiece coordinate system
Center of the B-axis
rotation
X
Z
Y
B
Center of the
C-axis rotation
• Mixed type machine (tool rotation axis = B-axis; table rotation axis
= C-axis; tool axis = Z direction)
Machine configuration for the example