Analysis of manual programming examples of CNC milling machine

The blank is 120mm × 60mm × 10mm sheet, the outer contour of 5mm deep has been rough-processed, leaving a margin of 2mm in the periphery, and it is required to machine the outer contour as shown in the figure below and the hole of φ20mm. The workpiece material is aluminum.
1. According to the requirements of the drawings, determine the process plan and the processing route. 1) With the bottom surface as the positioning reference, the two sides are pressed by the pressure plate and fixed on the milling machine table. 2) Step 1 drilling φ20mm.
2 Press the O'ABCDEFG line to mill the contour.
2. Choose economical CNC milling machine.
3. The tool is now selected to drill a φ20mm hole with a φ20mm drill bit; a φ4mm flat-bottom end mill is used for the milling of the contour and the diameter of the tool is entered into the tool parameter table.
Since the economical CNC milling machine does not have an automatic tool change function, after the drilling is completed, the tool is directly changed by hand.
4. Determining the amount of cutting The specific value of the cutting amount should be determined according to the performance of the machine, the relevant manual and the actual experience, see the machining procedure.
5. Make sure that the workpiece coordinate system and the tool point are determined in the XOY plane with 0 point as the workpiece origin, and the Z direction is the workpiece surface as the workpiece origin, and the workpiece coordinate system is established, as shown in the figure above.
Using the manual tool setting method, point 0 is used as the tool point.
6. The program is programmed into a program list according to the instruction code and block format specified by the machine. The machining procedure of the workpiece is as follows:
1) Processing φ20mm hole program (manually installed φ20mm drill bit)
%7528
G54 G91 M03; relative coordinate programming G00 X40 Y30; machining G98 G81 X40 Y30 Z-5 R15 F120 in XOY plane; drilling cycle G00 X5 Y5 Z50
M05
M02

2) Milling contour program (manually installed Ñ„4mm end mill)
%7529
G54 G90 G41 G00 X-20 Y-10 Z-5 D01
G01 X5 Y-10 F150
G01 Y35
G91 G01 X10 Y10
G01 X11.8 Y0
G02 X30.5 Y-5 R20
G03 X17.3 Y-10 R20
G01 X10.4 Y0
G01 X0 Y-25
G01 X-100 Y0
G90 G40 G00 X0 Y0 Z100
M05
M02

Door & Window Hardware

We specialize in the production of bathroom hardware such as Door Hinge , Door Knocker, Door Lock , Door Stopper, Door Strike Plate & Reinforcer, Handrial Bracket, Kick Plates & Pull Plates, Mailbox Slot, Window Hardware, OEM and ODM are available. If you need customization, just tell us your idea and we can provide drawing and prepare sample quickly.

Window And Door Hardware,Door And Window Accessories,Window And Door Parts,Door Window Accessories

Foshan Nanhai Xin Jianwei Hardware Factory , https://www.aaghardware.com