Вы находитесь на странице: 1из 3

Fanuc G68 rotate co-ordinate system for milling

program example
http://www.hdknowledge.com/2018/08/fanuc-g68-rotate-co-ordinate-
system-for-milling-program-example.html
G68 Command is used to project the operation on an angle .
G68 command parameters ,
XY - Center of rotation (co-ordinate used
to measure distance )
R- Angle of rotation (operation projection angle )
In following fig . we project the drill of 20 diameter at 60 degree six time
and depth of drilling is 10.

O1424
N10 M06 T05 ;
N20 G00 G90 G40 G80 G17 G21 ;
N30 M03 S1500 ;
N40 G54 X15 Y0 ;
N50 M08 ;
N60 G43 Z200 H4 ;
N70 G81 Z-10 R5 G98 F300 ;
N80 X15 ;
N90 X30 ;
N100 G68 X0 Y0 R60 ;
N110 X15 ;
N120 X30 ;
N130 G68 X0 Y0 R120 ;
N140 X15 ;
N150 X30 ;
N160 G68 X0 Y0 R180 ;
N170 X15 ;
N180 X30 ;
N190 G68 X0 Y0 R240 ;
N200 X15 ;
N210 X30 ;
N220 G68 X0 Y0 R300 ;
N230 X15 ;
N240 X30 ;
N250 G68 X0 Y0 R360 ;
N260 X15 ;
N270 X30 ;
N280 G80 G69 ;
N290 G00 Z200 ;
N300 M05 M09 M30 ;
More examples..........!!!!
DESCRIPTION OF PROGRAM :_

O1424- Name of main program


N10- Tool change command , select tool no 5 ,
N20- Rapid command , program in absolute co-
ordinate ,tool radius compensation cancle , canned cycle command (if we
used) , XY plane selection command , metric input ( all dimension in mm)
N30- Spindle ON clockwise , speed is 1500 rpm .
N40- Work co-ordinate system command ( set XY value of co-ordinate) ,
where X15 and Y0
N50- Coolant is ON
N60- Tool height offset compensation Z200 and H1(we set tool height of z
axis )
N70- Simple drilling cycle command , drilling depth is -10 , R5 is reference
leave (it means tool up 5mm and then it convert into feed for start next
drilling ) , feed rate per minute is F300 .
N80- Drill distance 15 .
N90- Drill distance 30 .
N100- Rotate co-ordinate system command , where X0, Y0 at an angle
60 degree (1st angle drill).
N110- Drill distance 15 .
N120- Drill distance 30
N130- Rotate co-ordinate system command , where X0, Y0 at an angle
120 degree (2nd
angle drill)
N140-Drill distance 15 .
N150- Drill distance 30 .
N160- Rotate co-ordinate system command , where X0, Y0 at an angle
180 degree (3rd angle drill)
N170- Drill distance 15 .
N180- Drill distance 30 .
N190- Rotate co-ordinate system command , where X0, Y0 at an angle
240 degree (3rd angle drill)
N200- Drill distance 15 .
N210- Drill distance 30.
N220- Rotate co-ordinate system command , where X0, Y0 at an angle
300 degree (4th angle drill)
N230- Drill distance 15 .
N240- Drill distance 30.
N250- Rotate co-ordinate system command , where X0, Y0 at an angle
360 degree (5th angle drill)
N260- Drill distance 15 .
N270- Drill distance 30.
N280- Cancel canned cycle command , cancel co-ordinate system rotation
command .
N290- Rapid action , tool goes above 200.
N300- Spindle off , coolant off , main program end .

Вам также может понравиться