Milling Along X and Y-axes: A work piece of 100mm x 50mm has to be machined on all edges with a cutter of 20 mm diameter. Since the work thickness is 15mm, a cutter of 20mm width is chosen. First the tool and work piece are set on the milling machine. Let the set position A of the tool be (0,0,0). The work piece is set on the machine bed and its top surface is 25mm above the bed. Before actual machining starts, the table travels in X and Y direction till the cutter reaches the corner (nearest) of work piece. It is rapidly moved down up to 2mm above the work piece. Then it moves with a feed up to z= -52mm. Then table feed is given in X direction till the cutter reaches another corner. Similar process is repeated till entire perimeter of the work piece is milled
The
program will be as follows:
N001 G92 X0 Y0 Z0
N002 G90
N003 G01 G78 X40000 Y30000 Z-52000 R-33000 F100 M03
N004 G79 X16000
N005 Y105000
N006 X40000
N007 Y30000
N008 G80 Z0 F0 M05
N009 X0 Y0 F0
N010 M02