You are on page 1of 14

CNC Programming

Lathe Axes Designation

Lathe Axes Designation

Lathe Axes Designation

Lathe

CNC Axes

+Z

+X

Milling Spindle

Milling

CNC Programming
Preparation of CNC programs and proving them is first step to machine the part. CNC programs are also called part programs. There are two types of codes are used in CNC programming:

preparatory codes (G Codes)


miscellaneous codes (M codes)

CNC Programming

Motion Statements G00 G01 G02 G03 Linear Movement (rapid) Linear Movement (feed) Circular Movement (cw feed) Circular Movement (ccw feed)

CNC Programming
G00 Linear Movement (rapid)
Y

55

60

10

24

(0, 0)

G00 X55 Y60

CNC Axes

+Z

+X

Tool at (25, 35)


G00 X0 Z35 G00 X0 Z0

CNC Programming
Initial Diameter = 10 mm Final Diameter = 6 mm Depth of cut = 1 mm Width of cut = 8 mm G00 X4 Z1 G01 Z-8

G00 X5 Z1
G00 X 3 G01 Z-8

G00 X4 Z1

CNC Programming
G02 Circular Movement (Clockwise)
Y

G02 X34 Y0 I0 J-24 G02 X34 Y0 R24

10

24

(0, 0)

You might also like