Course: PMT 250 Multi-Axis CNC Programming (Section 060)

HAAS ST20Y Lessons

Programming Example - Machining the Hexagon
Programming Example - Machining the Hexagon

%

O1329

G28 U0

G28 W0

T1111 (SET x DIAMETER NORMAL ON EDGE OF END MILL)

G54

G17

M154

G00 G98 Z0.1

G00 Z-0.7

G00 X0.875 Y-1.

G97 P1900 M133

M19 P0

M14

G01 Y1. F10.

G00 X1.5

G00 Y-1.

M15

M19 P60.

M14

G00 X0.875

G01 Y1.

G00 X1.5

G00 Y-1.

M15

M19 P120.

M14

G00 X0.875

G01 Y1.

G00 X1.5

Y-1.

M15

M19 P180.

M14

G00 X0.875

G01 Y1.

G00 X1.5

Y-1.

M15

M19 P240.

M14

G00 X0.875

G01 Y1.

G00 X1.5

Y-1.

M15

M19 P300.

M14

G00 X0.875

G01 Y1.

G00 X1.5

Y-1.

G00 Z1.

G113

M155

M135

G28 U0

G28 W0

M30

%