User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
User's Manual ISO TNC 360 (260020xx, 280490xx) - heidenhain
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
7 Programming with Q Parameters<br />
7.8 Examples for Exercise<br />
Bolt hole circles<br />
<strong>TNC</strong> <strong>360</strong><br />
Bore pattern 1 distributed over a full circle:<br />
Entry values are listed below in program blocks<br />
N10 to N80.<br />
Movements in the plane are programmed<br />
with polar coordinates.<br />
Bore pattern 2 distributed over a circle sector:<br />
Entry values are listed below in blocks N150 to<br />
N190; Q5, Q7 and Q8 remain the same.<br />
The holes are executed with cycle G83:<br />
PECKING (see page 8-4)<br />
Part program<br />
70<br />
Y<br />
1<br />
30 90<br />
%<strong>360</strong>0715 G71 * ....................................................... Load data for bolt hole circle 1<br />
N10 D00 Q01 P01 +30 * ............................................ Circle center X coordinate<br />
N20 D00 Q02 P01 +70 * ............................................ Circle center Y coordinate<br />
N30 D00 Q03 P01 +11 * ............................................ Number of holes<br />
N40 D00 Q04 P01 +25 * ............................................ Circle radius<br />
N50 D00 Q05 P01 +90 * ............................................ Starting angle<br />
N60 D00 Q06 P01 +0 * .............................................. Hole angle increment (0: distribute holes over <strong>360</strong>°)<br />
N70 D00 Q07 P01 +2 * .............................................. Setup clearance<br />
N80 D00 Q08 P01 +15 * ............................................ Total hole depth<br />
N90 G30 G17 X+0 Y+0 Z-20 *<br />
N100 G31 G90 X+100 Y+100 Z+0 *<br />
N110 G99 T1 L+0 R+4 *<br />
N120 T1 G17 S2500 *<br />
N130 G83 P01 -Q07 ................................................... Definition of the pecking cycle/setup clearance<br />
P02 -Q08.......................................................... Total hole depth according to the load data<br />
P03 -5 .............................................................. Pecking depth<br />
P04 0 ............................................................... Dwell time<br />
P05 250 * ........................................................ Feed rate for pecking<br />
N140 L1,0 * ................................................................ Call bolt hole circle 1<br />
Load data for bolt hole circle 2 (only re-enter changed data)<br />
N150 D00 Q1 P01 +90 * ............................................ New circle center X coordinate<br />
N160 D00 Q2 P01 +25 * ............................................ New circle center Y coordinate<br />
N170 D00 Q3 P01 +5 * .............................................. New number of holes<br />
N180 D00 Q4 P01 +35 * ............................................ New circle radius<br />
N190 D00 Q6 P01 +30 * ............................................ New hole angle increment (not a full circle, 5 holes at 30°<br />
intervals)<br />
N200 L1,0 * ................................................................ Call bolt hole circle 2<br />
N210 G00 G40 G90 Z+200 M02 * ............................. End of main program<br />
25<br />
90°<br />
35<br />
30°<br />
2<br />
25<br />
X<br />
Continued...<br />
7-15