
B-63944EN/02 PROGRAMMING 21.5-AXIS MACHINING FUNCTION
- 693 -
When type 1 is selected and the workpiece coordinate system is used
as the programming coordinate system
(Note that the values of N60 to N90 are different from those specified
in the preceding example.):
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 Y-50.0 B45.0 C120.0 ;
N70 X57.735 Y0 B60.0 C180.0 ; Moves X and Y while operating
both B- and C-axes.
N80 X28.868 Y-50.0 C240.0 ;
N90 Y50.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;