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

HAAS HRT210 Lessons

Programming Example
Programming Example

%

O01310

(HA5C 4TH AXIS PROGRAM MILLING A HEXAGON)

(T01 = 1/2 2 FLUTE END MILL)

T1 M06

G54 G00 G90 X1.000 Y.250 A0.

S3200 M03

G43 H01 Z0.1 M08

M98 P1390  (local sub-programming line)

G55 G00 G90 X1.000 Y.250 A0.

M98 P1390

G54 G00 G90 X1.000 Y.250 A90.0

M98 P1390

G55 G00 G90 X1.000 Y.250 A90.0

M98 P1390

(Complete the rest of the parts at A180. and A270.)

G00 Z1. M09

G28 G91 Z0 Y0

M30

%

Below is the sub program for the drilling operation.

%

O1390

(SUB for Spot Drilling Holes)

G82 Z-0.100 R.050 F12.0 F100.

Y1.00

X3.000

Y.250

G80 G00 Z2.00 M09

M99

%