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

HAAS HRT210 Lessons

Program Example
Program Example

Remember that you need to download each program in the HAAS control when using a G98 Sub-Programming cycle.

Start with all the Sub-Programs and download the main program last.

Main Program

%

O00100

(HRT210 PART DEMO)

T1 M06 (SPOT DRILL)

G54 G00 G90 X-1. Y2. A0.

S2500 M03

G43 H01 Z0.1 M08

M98 P101

G55 G00 G90 X-1. Y2. A0.

M98 P101

G54 G00 G90 X-1. Y2. A90.

M98 P101

G55 G00 G90 X-1. Y2. A90.

M98 P101

G54 G00 G90 X-1. Y2. A180.

M98 P101

G55 G00 G90 X-1. Y2. A180.

M98 P101

G54 G00 G90 X-1. Y2. A270.

M98 P101

G55 G00 G90 X-1. Y2. A270.

M98 P101

G28 G91 Z0.

G54 G00 G90 X-8. Y6.

M01

T2 M06 (3/16 DRILL)

G54 G00 G90 X-1. Y2. A0.

S2500 M03

G43 H02 Z0.1 M08

M98 P102

G55 G00 G90 X-1. Y2. A0.

M98 P102

G54 G00 G90 X-1. Y2. A90.

M98 P102

G55 G00 G90 X-1. Y2. A90.

M98 P102

G54 G00 G90 X-1. Y2. A180.

M98 P102

G55 G00 G90 X-1. Y2. A180.

M98 P102

G54 G00 G90 X-1. Y2. A270.

M98 P102

G55 G00 G90 X-1. Y2. A270.

M98 P102

G28 G91 Z0.

G54 G00 G90 X-8. Y6.

M01

T3 M06 (1/2 2 FLUTE END MILL)

G54 G00 G90 X-1. Y2. A0.

S5000 M03

G43 H03 Z0.1 M08

M98 P103

M98 P104

G55 G00 G90 X-1. Y2. A0.

M98 P103

M98 P104

G54 G00 G90 X-1. Y2. A90.

M98 P103

M98 P104

G55 G00 G90 X-1. Y2. A90.

M98 P103

M98 P104

G54 G00 G90 X-1. Y2. A180.

M98 P103

M98 P104

G55 G00 G90 X-1. Y2. A180.

M98 P103

M98 P104

G54 G00 G90 X-1. Y2. A270.

M98 P103

M98 P104

G55 G00 G90 X-1. Y2. A270.

M98 P103

M98 P104

M01

G56 G00 G90 X0.7 Y0.375 A0.

M98 P105

G57 G00 G90 X0.7 Y0.375 A0.

M98 P105

G58 G00 G90 X0.7 Y0.375 A0.

M98 P105

G59 G00 G90 X0.7 Y0.375 A0.

M98 P105

G56 G00 G90 X0.7 Y0.375 A90.

M98 P105

G57 G00 G90 X0.7 Y0.375 A90.

M98 P105

G58 G00 G90 X0.7 Y0.375 A90.

M98 P105

G59 G00 G90 X0.7 Y0.375 A90.

M98 P105

G56 G00 G90 X0.7 Y0.375 A180.

M98 P105

G57 G00 G90 X0.7 Y0.375 A180.

M98 P105

G58 G00 G90 X0.7 Y0.375 A180.

M98 P105

G59 G00 G90 X0.7 Y0.375 A180.

M98 P105

G56 G00 G90 X0.7 Y0.375 A270.

M98 P105

G57 G00 G90 X0.7 Y0.375 A270.

M98 P105

G58 G00 G90 X0.7 Y0.375 A270.

M98 P105

G59 G00 G90 X0.7 Y0.375 A270.

M98 P105

G28 G91 Z0 Y0

M30

%