beautypg.com

ACU-RITE CNC 3500i User Manual

Page 444

background image

418

11 G-Code Edit, Help, & Advanced Features

1

1

.4 A

d

v

a

nced Pr

ogr

a

mming

Example:

G90 G70 G0 G17

T0 Z0

X0 Y0

T1 F30

X1.5 Y0 * MOVE TO HOLE CENTER

Z.1

G1 Z-.5 * MOVE Z TO DEPTH

G65 P76 D2.0 S.010 J35 K20

G0 Z.1 * RAISE Z TO CLEARANCE PLANE

TO Z0

X0 Y0

M2

O76 ** HOLE MILLING MACRO.

*

* D#7 = HOLE DIAMETER (+=CCW,-=CW), J#5 = ROUGH
FEEDRATE,

* S#19 = FINISH STOCK AMOUNT, K#6 = FINISH FEEDRATE.

* #1020 = TOOL DIAMETER.

*

[SAVEG90 #99 * SET STRING SAVEG90 TO VAR 99

[SAVEG00 #98 * SET STRING SAVEG00 TO VAR 98

[SAVEFRT #97 * SET STRING SAVEFRT TO VAR 97

[TDIA #96 * SET STRING TDIA TO VAR 96

[EPSI .00001 * SET STRING EPSI TO .00001

SAVEG90 = #1090 * SAVE CURRENT DIM MODE
(ABS=90,INCR=91)