MAIN PROG.
N10 G90 G17 G00 X175 Y175 Z100 ; [P0]
N20 G72.1 P5100 X100 Y100 L8 R45 ;
N30 G80 ;
N40 G00 X175 Y175 Z100 ; [P0]
N50 M30 ;
SUB PROG. FOR G72.1[Rotational copy]
O5100 N100 G72.2 P5200 I0 J20 L2 ;
N200 M99 ;
SUB PROG. FOR G72.2 [ Linear copy ]
O5200 N110 G90 G81 X100 Y150 R50 F300 ; [P1]
N210 M99 ;
More examples..........!!!!
DESCRIPTION OF PROGRAM :-
MAIN PROG.
O5000- Name of main program .
N10- Absolute co-ordinate command , XY plane selection command , rapid action command where tool is X175 , Y175 and Z 100 . [Starting position P0 ]
N20- Rotational copy command , call sub program O5100 , center rotation where X100 and Y100 , number of times the operation repeated L8 ( 8 position operation perform), next operation angle 45
N30- Cancel canned cycle (cancel simple drilling cycle)
N40- Rapid action command , where tool is return at X175 ,Y175 and Z100 .
N50- Main program end .
SUB PROG. FOR G72.1[Rotational copy]
[note:- In these program sub program name and other first command written in same row liken;O5100 N100 G72.2 P5200 I0 J20 L2 ; ]
Name of sub program , N100 , Linear copy command , call subprogram 5200 , tool shift along X axisn is 0 , tool shift along Y axis is 20 .no of drilling operation repeated is 2 times .
N200- Sub program end .
SUB PROG. FOR G72.2 [ Linear copy ]
[note:- In these program sub program name and other first command written in same row liken;O5200 N110 G90 G81 X100 Y150 R50 F300 ; ]
Name of sub program , N110 - Absolute co-ordinate command , simple drilling cycle command , where drill position at X100 , Y150 and retraction plane is 50 ( tool return height after drill ) , feed rate per minute is 300.
N210- Sub program end .
Fanuc program with combine G72.1(Rotational copy) and G72.2 (Linear copy)
Reviewed by harshal
on
August 12, 2018
Rating: