beautypg.com

Bolt hole circles -27 – HEIDENHAIN TNC 407 (280 580) ISO Programming User Manual

Page 216

background image

7-27

TNC 426/TNC 425/TNC 415 B/TNC 407

7

Programming with Q Parameters

Bolt hole circles

Bore pattern distributed over a full circle:

The entry values are listed in the program
below in blocks N10 to N80.

Movements in the plane are programmed
with polar coordinates.

Bore pattern distributed over a circle
sector:

The entry values are listed below in blocks
N150 to N190; Q5, Q7 and Q8 remain the
same.

X

Y

30

90

1

2

25

35

25

70

90

°

30

°

Part program

% BOLTCIRC G71 * .................................................. Load data for bolt hole circle 1
N10 D00 Q1 P01 +30 * .............................................. Circle center X coordinate
N20 D00 Q2 P01 +70 * .............................................. Circle center Y coordinate
N30 D00 Q3 P01 +11 * .............................................. Number of holes
N40 D00 Q4 P01 +25 * .............................................. Bolt circle radius
N50 D00 Q5 P01 +90 * .............................................. Starting angle
N60 D00 Q6 P01 +0 * ................................................ Hole angle increment (0: distribute holes over 360°)
N70 D00 Q7 P01 +2 * ................................................ Setup clearance
N80 D00 Q8 P01 +15 * .............................................. Total hole depth
N90 G30 G17 X+0 Y+0 Z–20 *
N100 G31 G90 X+100 Y+100 Z+0 *
N110 G99 T1 L+0 R+4 *
N120 T1 G17 S2500 *
N130 G83 P01 +Q7 P02 –Q8 P03 +5
P04 0 P05 250 * ......................................................... Cycle definition: Pecking
N140 L1,0 * ................................................................ Call bolt hole circle 1

Load data for bolt hole circle 2 (only re-enter changed
data)

N150 D00 Q1 P01 +90 * ........................................... New circle center X coordinate
N160 D00 Q2 P01 +25 * ........................................... New circle center Y coordinate
N170 D00 Q3 P01 5 * ................................................ New number of holes
N180 D00 Q4 P01 +35* ............................................ New bolt circle radius
N190 D00 Q6 P01 +30* ............................................ New hole angle increment (not full circle, 5 holes 30° apart)
N200 L1,0 * ............................................................... Call bolt hole circle 2
N210 G00 G40 G90 Z+200 M2 *

7.9

Programming Examples

Continued on next page...