397
1
0
.1
1 Pr
ogr
amming Examples
40 LBL 2
41 LP PR+Q6 PA+Q24 R0 FQ12
Move upward in an approximated “arc”
42 FN 2: Q24 = +Q24 - + Q14
Update solid angle
43 FN 11: IF +Q24 GT +Q5 GOTO LBL 2
Inquire whether an arc is finished. If not finished, return to LBL 2.
44 LP PR+Q6 PA+Q5
Move to the end angle in space
45 L Z+Q23 R0 F1000
Retract in the tool axis
46 L X+Q26 R0 F MAX
Pre-position for next arc
47 FN 1: Q28 = +Q28 + +Q18
Update rotational position in the plane
48 FN 0: Q24 = +Q4
Reset solid angle
49 CYCL DEF 10.0 DREHUNG
Activate new rotational position
50 CYCL DEF 10.1 ROT+Q28
51 FN 12: IF +Q28 LT +Q9 GOTO LBL 1
52 FN 9: IF +Q28 EQU +Q9 GOTO LBL 1
Unfinished? If not finished, return to label 1
53 CYCL DEF 10.0 DREHUNG
Reset the rotation
54 CYCL DEF 10.1 ROT+0
55 CYCL DEF 7.0 DATUM SHIFT
Reset the datum shift
56 CYCL DEF 7.1 X+0
57 CYCL DEF 7.2 Y+0
58 CYCL DEF 7.3 Z+0
59 LBL 0
End of subprogram
60 END PGM BALL MM
Содержание TNC 426
Страница 3: ......
Страница 4: ......
Страница 8: ...IV...
Страница 10: ...VI...
Страница 26: ......
Страница 27: ...1 Introduction...
Страница 41: ...2 Manual Operation and Setup...
Страница 54: ......
Страница 55: ...3 Positioning with Manual Data Input MDI...
Страница 59: ...4 Programming Fundamentals of NC File Management Programming Aids Pallet Management...
Страница 122: ......
Страница 123: ...5 Programming Tools...
Страница 153: ...6 Programming Programming Contours...
Страница 201: ...7 Programming Miscellaneous functions...
Страница 226: ......
Страница 227: ...8 Programming Cycles...
Страница 366: ......
Страница 367: ...9 Programming Subprograms and Program Section Repeats...
Страница 381: ...10 Programming Q Parameters...
Страница 424: ......
Страница 425: ...11 Test run and Program Run...
Страница 443: ...12 MOD Functions...
Страница 472: ......
Страница 473: ...13 Tables and Overviews...
Страница 496: ......