CNC Milling | Pocket Machining Program Example


Technical Drawing

CNC Program

Main Program

(Cutting Diameter = 10mm.)
N05 G55
N10 M6 T4 H4 G43 M3
N15 S1500 F120
N20 G0 X9 Y9 Z1
N25 G1 Z0
N30 M98 P030050
N35 G0 Z1 G90
N40 X42 Y38
N45 G1 Z-2 F30
N50 X47 F300
N55 G3 X47 Y38 I-5 J0
N60 G0 Z100
N65 G49
N70 M30


N05 G1 Z-2 G91 F50
N10 X10 F100
N15 Y36
N20 X-10
N25 Y-36
N30 M99

G Codes Explanation

G00 Rapid traverse
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW
G43 Tool Length Offset
G54 Work Offset
G90 Absolute System
M98 and M99 Subprogram call and end

Need to More?

Our volunteers have worked together and carefully prepared the articles published here in their native language without using machine translation. You can search the entire site for more information on the subject. You can start a discussion on forums and join us to get support, ask questions, improve a published article or give your opinion.

Previous articleCNC Milling | G91 Incremental Movement Program Example
Next articleMitsubishi CNC | M70-M80 Series | Drive System and Axis Removal