beautypg.com

6 programming examples – HEIDENHAIN TNC 426B (280 472) ISO programming User Manual

Page 267

background image

251

HEIDENHAIN TNC 410, TNC 426, TNC 430

N190 G98 L1 *
N200 G00 G40 G90 X+15 Y+10 M3 *
N210 L2.0 *
N220 X+45 Y+60 *
N230 L2.0 *
N240 X+75 Y+10 *
N250 L2.0 *
N260 G98 L0 *

N270 G98 L2 *
N280 Z+2 M99 *
N290 G91 X+20 M99 *
N300 Y+20 M99 *
N310 X-20 G90 M99 *
N320 G98 L0 *
N999999 %UP2 G71 *

Beginning of subprogram 1: Entire hole pattern

Move to starting point for group 1

Call subprogram 2 for the group

Move to starting point for group 2

Call subprogram 2 for the group

Move to starting point for group 3

Call subprogram 2 for the group

End of subprogram 1

Beginning of subprogram 2: Group of holes

1st hole with active fixed cycle

Move to 2nd hole, call cycle

Move to 3rd hole, call cycle

Move to 4th hole, call cycle

End of subprogram 2

9.6 Programming Examples

N190 G98 L1 *
N200 G00 G40 G90 X+15 Y+10 M3 *
N210 L2.0 *
N220 X+45 Y+60 *
N230 L2.0 *
N240 X+75 Y+10 *
N250 L2.0 *
N260 G98 L0 *

N270 G98 L2 *
N280 Z+2 M99 *
N290 G91 X+20 M99 *
N300 Y+20 M99 *
N310 X-20 G90 M99 *
N320 G98 L0 *
N999999 %UP2 G71 *

Beginning of subprogram 1: Entire hole pattern

Move to starting point for group 1

Call subprogram 2 for the group

Move to starting point for group 2

Call subprogram 2 for the group

Move to starting point for group 3

Call subprogram 2 for the group

End of subprogram 1

Beginning of subprogram 2: Group of holes

1st hole with active fixed cycle

Move to 2nd hole, call cycle

Move to 3rd hole, call cycle

Move to 4th hole, call cycle

End of subprogram 2

Lkap9.pm6

29.06.2006, 08:07

251