10 Programming: Q Parameters
1
0
.1
1 Pr
ogr
amming Examples
18 CALL LBL 10
Call machining operation
19 FN 0: Q10 = +0
Reset allowance
20 FN 0: Q18 = +5
Angle increment in the X/Y plane for finishing
21 CALL LBL 10
Call machining operation
22 L Z+100 R0 F MAX M2
Retract in the tool axis, end program
23 LBL 10
Subprogram 10: Machining operation
24 FN 1: Q23 = +Q11 + +Q6
Calculate Z coordinate for pre-positioning
25 FN 0: Q24 = +Q4
Copy starting angle in space (Z/X plane)
26 FN 1: Q26 = +Q6 + +Q108
Compensate sphere radius for pre-positioning
27 FN 0: Q28 = +Q8
Copy rotational position in the plane
28 FN 1: Q16 = +Q6 + -Q10
Account for allowance in the sphere radius
29 CYCL DEF 7.0 DATUM SHIFT
Shift datum to center of sphere
30 CYCL DEF 7.1 X+Q1
31 CYCL DEF 7.2 Y+Q2
32 CYCL DEF 7.3 Z-Q16
33 CYCL DEF 10.0 DREHUNG
Account for starting angle of rotational position in the plane
34 CYCL DEF 10.1 ROT+Q8
35 CC X+0 Y+0
Set pole in the X/Y plane for pre-positioning
36 LP PR+Q26 PA+Q8 R0 FQ12
Pre-position in the plane
37 LBL 1
Pre-position in the tool axis
38 CC Z+0 X+Q108
Set pole in the Z/X plane, offset by the tool radius
39 L Y+0 Z+0 FQ12
Move to working depth
Summary of Contents for TNC 426
Page 3: ......
Page 4: ......
Page 8: ...IV...
Page 10: ...VI...
Page 26: ......
Page 27: ...1 Introduction...
Page 41: ...2 Manual Operation and Setup...
Page 54: ......
Page 55: ...3 Positioning with Manual Data Input MDI...
Page 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Page 122: ......
Page 123: ...5 Programming Tools...
Page 153: ...6 Programming Programming Contours...
Page 201: ...7 Programming Miscellaneous functions...
Page 226: ......
Page 227: ...8 Programming Cycles...
Page 366: ......
Page 367: ...9 Programming Subprograms and Program Section Repeats...
Page 381: ...10 Programming Q Parameters...
Page 424: ......
Page 425: ...11 Test run and Program Run...
Page 443: ...12 MOD Functions...
Page 472: ......
Page 473: ...13 Tables and Overviews...
Page 496: ......