11.5 Four Axis Programming

Example 1: Drill

Mount the fourth axis as described above. Mount a part 6” wide and 8” long on the face of the rotary table. Shortest Distance is set to off.

Drill (10) ten 0.375” holes 36° apart, 1” deep, 0.75” in from the end of the cylinder. Then, starting at X-2 U0, drill a spiral series of holes 36° and X-0.500” apart each. Set X0 at the right end, Y0 at the cylinder's center line, U0 at a pre-milled keyway on the cylinder. Measure tool offsets from the top of the cylinder, with Y-axis at 0.

*4-AX-DRL

*SET Shortest Distance to "off"

G90 G70 G0 M5

G28 Z0

G53 O1

G0 X0 Y0 U0

T1 *#3 CENTERDRILL

M3 S2400

G81 Z-.22 R.1 F12

M98 P1

T2 * 3/8" DRILL

M3 S1850

G53 O1 *RE-ACTIVATE OFFSET CANCELED IN SUBR #1

G87 Z-1 R.1 F14 I.18 J.012 K.1 U.3334

M98 P1

M2

O1 * ROTARY HOLE LOCATIONS

G0 G90 X-.75 Y0 U0

LOOP 9

G0 G91 U36

END

G0 G90 X-2 U0

LOOP 9

G0 G91 X-.5 U-36

END

G80

M5

G0 G90 G28 Z0 *CANCELS G53 OFFSET

X0 Y0 U0

M99

432

11 G-Code Edit, Help, & Advanced Features

Page 458
Image 458
Acu-Rite CNC 3500i user manual T1 *#3 Centerdrill