22.5-AXIS MACHINING FUNCTION
PROGRAMMING
B-63944EN/03
- 812 -
- In the case of a composite type machine
Explanations are given below assuming a composite type machine
configuration that has one table rotation axis (which turns around the
X-axis) and one tool rotation axis (which turns around the Y-axis).
(See Fig. 22.1 (l).)
If linear interpolation is specified for the X-, Y-, and Z-axes on the
programming coordinate system and if the rotary axis that moves the
rotation table and the tool rotation axis are specified (in the case of
type 1) or the tool direction is specified (in the case of type 2), control
is exerted in such a way that the tool center point moves along a
specified straight line with respect to the table (workpiece) as the
rotation table and tool rotate.
Also, speed control is exerted so that the tool center point moves at the
specified speed with respect to the table (workpiece).
Example)
When type 1 is selected and the coordinate system fixed on the table is
used as the programming coordinate system
(Bit 5 (WKP) of parameter No.19696 = 0):
O300 (Sample Program3) ;
N1 G00 G90 A0 B0 ;
N2 G55 ;
Prepares the programming coordinate
system.
N3 G43.4 H01 ;
Starts tool center point control.
H01 is the tool compensation number.
N4 G00 X200.0 Y150.0 Z20.0 ; Moves to the start point.
N5 G01 X5.0 Y5.0 Z5.0 A60.0 B45.0 F500;
Linear
interpolation
N6 G49 ;
Cancels tool center point control.
N7 M30;
When type 1 is selected and the workpiece coordinate system is used
as the programming coordinate system
(Bit 5 (WKP) of parameter No.19696 = 1):
O300 (Sample Program3) ;
N1 G00 G90 A0 B0 ;
N2 G55 ;
Prepares the programming coordinate
system.
N3 G43.4 H01 ;
Starts tool center point control.
H01 is the tool compensation number.
N4 G00 X200.0 Y150.0 Z20.0 ; Moves to the start point.
N5 G01 X5.0 Y48.170 Z-79.772 A60.0 B45.0 F500;
Linear
interpolation
N6 G49 ;
Cancels tool center point control.
N7 M30;