11.4 Advanced Programming

#34 = (#33/2); * INTERMEDIATE RADIUS.

#35 = (ABS(#7)/2- TDIA /2); * FINISH PASS RADIUS. #36 = (#35/2); * INTERMEDIATE RADIUS.

G64; * CONTOURING MODE.

IF(#7>0) THEN * COUNTER-CLOCKWISE.

G91 F#5

G01 X#34 Y#34

G03 X(-#34) Y#34 I(-#34) J0

G03 X0 Y0 I0 J(-#33)

G03 X(-#34) Y(-#34) I0 J(-#34)

G01 X#34 Y(-#34)

IF((#19> EPSI ) & (#6> EPSI )) THEN * IF FINISH PASS. G91 F#6

G01 X#36 Y#36

G03 X(-#36) Y#36 I(-#36) J0

G03 X0 Y0 I0 J(-#35)

G03 X(-#36) Y(-#36) I0 J(-#36)

G01 X#36 Y(-#36)

ENDIF

ELSE * CLOCKWISE.

G91 F#5

G01 X(-#34) Y#34

G02 X#34 Y#34 I#34 J0

G02 X0 Y0 I0 J(-#33)

G02 X#34 Y(-#34) I0 J(-#34)

G01 X(-#34) Y(-#34)

IF((#19> EPSI ) & (#6> EPSI )) THEN * IF FINISH PASS.

418

11 G-Code Edit, Help, & Advanced Features

Page 444
Image 444
Acu-Rite CNC 3500i user manual G64 * Contouring Mode IF#70 then * COUNTER-CLOCKWISE