350
9 Programming: Subprograms and Program Section Repeats
9.6 Pr
ogr
amming Examples
8 LBL 1
Set label for program section repeat
9 L IZ-4 R0 F MAX
Infeed depth in incremental values (in the open)
10 APPR CT X+2 Y+30 CCA90 R+5 RL F250
Approach contour
11 FC DR- R18 CLSD+ CCX+20 CCY+30
Contour
12 FLT
13 FCT DR- R15 CCX+50 CCY+75
14 FLT
15 FCT DR- R15 CCX+75 CCY+20
16 FLT
17 FCT DR- R18 CLSD- CCX+20 CCY+30
18 DEP CT CCA90 R+5 F1000
Depart contour
19 L X-20 Y+0 R0 F MAX
Retract tool
20 CALL LBL 1 REP 4/4
Return jump to LBL 1; section is repeated a total of 4 times.
21 L Z+250 R0 F MAX M2
Retract in the tool axis, end program
22 END PGM PGMWDH MM
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: ......