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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
7 Programming with Q Parameters<br />
7.8 Examples for Exercise<br />
Rectangular pocket with corner rounding and tangential approach<br />
7-14<br />
Pocket center coordinates<br />
X = 50 mm (Q1)<br />
Y = 50 mm (Q2)<br />
Pocket length X = 90 mm (Q3)<br />
Pocket width Y = 70 mm (Q4)<br />
Working depth Z = (–) 15 mm (–Q5)<br />
Corner radius R = 10 mm (Q6)<br />
Milling feed F = 200 mm/min (Q7)<br />
Note:<br />
At corners 21 and 31 the workpiece will be<br />
machined slightly differently than shown in<br />
the drawing!<br />
Part program<br />
%<strong>360</strong>077 G71 *<br />
N10 G30 G17 X+0 Y+0 Z–20 *<br />
Program start and workpiece blank<br />
N20 G31 G90 X+100 Y+100 Z+0 *<br />
N30 D00 Q01 P01 +50 *<br />
N40 D00 Q02 P01 +50 *<br />
N50 D00 Q03 P01 +90 *<br />
N60 D00 Q04 P01 +70 *<br />
Assign the rectangular pocket data to Q parameters<br />
N70 D00 Q05 P01 +15 *<br />
N80 D00 Q06 P01 +10 *<br />
N90 D00 Q07 P01 +200 *<br />
N100 G99 T1 L+0 R+5 *<br />
N110 T1 G17 S1000 *<br />
Define and insert the tool<br />
N120 G00 G40 G90 Z+100 M6 *<br />
N130 D04 P01 Q13 P02 +Q03 P03 +2 *<br />
Enter half the pocket length and width for the paths of<br />
N140 D04 P01 Q14 P02 +Q04 P03 +2 *<br />
traverse in blocks N200, N220, N300<br />
N150 D04 P01 Q16 P02 +Q06 P03 +4 * ................... Rounding radius for smooth approach<br />
N160 D04 P01 Q17 P02 +Q07 P03 +2 * ................... Feed rate in corners is half the rate for linear movement<br />
N170 X+Q01 Y+Q02 M03 * ....................................... Pre-position in X and Y (pocket center), spindle ON<br />
N180 Z+2 * ................................................................. Pre-position over workpiece<br />
N190 G01 Z–Q05 FQ07 * ........................................... Move to working depth Q5 (= –15 mm) with feed rate Q7<br />
(= 100)<br />
N200 G41 G91 X+Q13 G90 Y+Q02 *<br />
N210 G26 RQ16 *<br />
Approach the pocket in a tangential arc<br />
N220 G91 Y+Q14 *<br />
N230 G25 RQ6 FQ17 *<br />
N240 X–Q3 *<br />
N250 G25 RQ6 FQ17 *<br />
N260 Y-Q4 *<br />
Mill the frame of the rectangular pocket<br />
N270 G25 RQ6 FQ17 *<br />
N280 X+Q3 *<br />
N290 G25 RQ6 FQ17 *<br />
N300 Y+Q14 *<br />
N310 G27 RQ16 *<br />
Depart to pocket center in a tangential arc<br />
N320 G00 G40 G90 X+Q1 Y+Q2 *<br />
N330 Z+100 M02 * .................................................... Retract tool<br />
N9999 %<strong>360</strong>077 G71 *<br />
26<br />
27<br />
28<br />
29<br />
32<br />
31<br />
17<br />
25<br />
24<br />
20<br />
30<br />
21<br />
23<br />
22<br />
<strong>TNC</strong> <strong>360</strong>