Examples for exercise -14, 8 examples for exercise – HEIDENHAIN TNC 360 ISO Programming User Manual

Page 148

Advertising
background image

TNC 360

7-14

7

Programming with Q Parameters

Rectangular pocket with corner rounding and tangential approach

Pocket center coordinates

X = 50 mm (Q1)
Y = 50 mm (Q2)

Pocket length X = 90 mm

(Q3)

Pocket width

Y = 70 mm

(Q4)

Working depth Z = (–) 15 mm

(–Q5)

Corner radius

R = 10 mm

(Q6)

Milling feed

F = 200 mm/min (Q7)

Define and insert the tool

Program start and workpiece blank

Assign the rectangular pocket data to Q parameters

At corners 21 and 31 the workpiece will be
machined slightly differently than shown in
the drawing!

Note:

23

25

27

29

17

28

26

24

22

20

30

31

32

21

7.8 Examples for Exercise

Approach the pocket in a tangential arc

Mill the frame of the rectangular pocket

Depart to pocket center in a tangential arc

Enter half the pocket length and width for the paths of
traverse in blocks N200, N220, N300

Part program

%360077 G71 *

N10 G30 G17 X+0 Y+0 Z–20 *
N20 G31 G90 X+100 Y+100 Z+0 *

N30 D00 Q01 P01 +50 *
N40 D00 Q02 P01 +50 *
N50 D00 Q03 P01 +90 *
N60 D00 Q04 P01 +70 *
N70 D00 Q05 P01 +15 *
N80 D00 Q06 P01 +10 *
N90 D00 Q07 P01 +200 *

N100 G99 T1 L+0 R+5 *
N110 T1 G17 S1000 *
N120 G00 G40 G90 Z+100 M6 *

N130 D04 P01 Q13 P02 +Q03 P03 +2 *
N140 D04 P01 Q14 P02 +Q04 P03 +2 *

N150 D04 P01 Q16 P02 +Q06 P03 +4 * ................... Rounding radius for smooth approach
N160 D04 P01 Q17 P02 +Q07 P03 +2 * ................... Feed rate in corners is half the rate for linear movement
N170 X+Q01 Y+Q02 M03 * ....................................... Pre-position in X and Y (pocket center), spindle ON
N180 Z+2 * ................................................................. Pre-position over workpiece
N190 G01 Z–Q05 FQ07 * ........................................... Move to working depth Q5 (= –15 mm) with feed rate Q7

(= 100)

N200 G41 G91 X+Q13 G90 Y+Q02 *
N210 G26 RQ16 *

N220 G91 Y+Q14 *
N230 G25 RQ6 FQ17 *
N240 X–Q3 *
N250 G25 RQ6 FQ17 *
N260 Y-Q4 *
N270 G25 RQ6 FQ17 *
N280 X+Q3 *
N290 G25 RQ6 FQ17 *
N300 Y+Q14 *

N310 G27 RQ16 *
N320 G00 G40 G90 X+Q1 Y+Q2 *

N330 Z+100 M02 * .................................................... Retract tool
N9999 %360077 G71 *

Advertising
This manual is related to the following products: