HEIDENHAIN iTNC 530 (340 49x-04) ISO programming User Manual

Page 356

Advertising
background image

356

8 Programming: Cycles

8.3 Cy

cles f

o

r Dr

illing, T

a

pping and Thr

ead Milling

N120 G98 L1 *

Subprogram 1: Thread cutting

N130 G36 S0 *

Define angle of spindle orientation

N140 M19 *

Orient spindle (makes it possible to cut repeatedly)

N150 G01 G91 X-2 F1000 *

Tool offset to prevent collision during tool infeed (depends

on core diameter and tool)

N160 G90 Z-30 *

Move to starting depth

N170 G91 X+2 *

Reset the tool to hole center

N180 G79 *

Call Cycle 18

N190 G90 Z+5 *

Retract tool

N200 G98 L0 *

End of subprogram 1

N99999999 %C18 G71 *

Advertising