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

HAAS ST20Y Lessons

Programming Example - Machining the Keyways
Programming Example - Machining the Keyways

%

O1330

G28 U0

G28 W0

T505

G54 G00 X1.6 Y0 Z0.2

G19

M154

G00 G98 Z0.1

G00 X1.5

Z-1.5

G97 P1900 M133

M19 P0

M14

G00 X1.315

G01 Z-2.6 F10.

G00 X1.5

G00 Z-1.5

G00 X1.255

G01 Z-2.6

G00 X1.5

G00 Z-1.5

M15

M19 P90.

M14

G00 X1.315

G01 Z-2.6 F10.

G00 X1.5

G00 Z-1.5

G00 X1.255

G01 Z-2.6

G00 X1.5

G00 Z-1.5

M15

M19 P180.

M14

G00 X1.315

G01 Z-2.6 F10.

G00 X1.5

G00 Z-1.5

G00 X1.255

G01 Z-2.6

G00 X1.5

G00 Z-1.5

M15

M19 P270.

M14

G00 X1.315

G01 Z-2.6 F10.

G00 X1.5

G00 Z-1.5

G00 X1.255

G01 Z-2.6

G00 X1.5

G00 Z0.1

G113

G18

M155

M135

G28 U0

G28 W0

M01

T1212

G97 S500 M03

G54 G00 X1.6 Z0.2

G96 S200

G99

Z-2.98

G01 X-0.05 F0.002

G00 X1.6

G00 Z0.2

G28 U0

G28 W0

M30

%