8 Programming: Cycles
166
Example: Drilling cycles
Define the workpiece blank
Define the tool
Call the tool
Retract the tool
Define cycle
Approach hole 1, spindle ON
Call the cycle
Approach hole 2, call cycle
Approach hole 3, call cycle
Approach hole 4, call cycle
Retract in the tool axis, end program
0 BEGIN PGM C200 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-20
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+3
4 TOOL CALL 1 Z S4500
5 L Z+250 R0 F MAX
6 CYCL DEF 200 DRILLING
Q200=2 ;SET-UP CLEARANCE
Q201=-15 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGNG
Q202=5 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME AT TOP
Q203=-10 ;SURFACE COORDINATE
Q204=20 ;2ND SET-UP CLEARANCE
7 L X+10 Y+10 R0 F MAX M3
8 CYCL CALL
9 L Y+90 R0 F MAX M99
10 L X+90 R0 F MAX M99
11 L Y+10 R0 F MAX M99
12 L Z+250 R0 F MAX M2
13 END PGM C200 MM
8.2 Dr
illing Cy
cles
X
Y
20
10
100
100
10
90
90
80
kkap8.pm6
30.06.2006, 07:03
166
www.EngineeringBooksPdf.com
Summary of Contents for TNC 426 B
Page 3: ...BAUSKLA PM6 30 06 2006 07 03 2 www EngineeringBooksPdf com ...
Page 4: ...BAUSKLA PM6 30 06 2006 07 03 3 www EngineeringBooksPdf com ...
Page 6: ...CINHALT PM6 30 06 2006 07 03 2 www EngineeringBooksPdf com ...
Page 16: ...CINHALT PM6 30 06 2006 07 03 12 www EngineeringBooksPdf com ...
Page 17: ...Introduction 1 Dkap1 pm6 30 06 2006 07 03 1 www EngineeringBooksPdf com ...
Page 29: ...Manual Operation and Setup 2 Dkap2_3 pm6 30 06 2006 07 03 13 www EngineeringBooksPdf com ...
Page 83: ...Programming Tools 5 Fkap5 pm6 30 06 2006 07 03 67 www EngineeringBooksPdf com ...
Page 106: ...Fkap5 pm6 30 06 2006 07 03 90 www EngineeringBooksPdf com ...
Page 107: ...Programming Programming Contours 6 Gkap6 pm6 30 06 2006 07 04 91 www EngineeringBooksPdf com ...
Page 165: ...Hkap7 pm6 30 06 2006 07 03 150 www EngineeringBooksPdf com ...
Page 166: ...Programming Cycles 8 kkap8 pm6 30 06 2006 07 03 151 www EngineeringBooksPdf com ...
Page 253: ...kkap8 pm6 30 06 2006 07 04 238 www EngineeringBooksPdf com ...
Page 265: ...LKAP9 PM6 30 06 2006 07 04 250 www EngineeringBooksPdf com ...
Page 266: ...Programming Q Parameters 10 MKAP10 PM6 30 06 2006 07 04 251 www EngineeringBooksPdf com ...
Page 297: ...MKAP10 PM6 30 06 2006 07 04 282 www EngineeringBooksPdf com ...
Page 298: ...Test Run and Program Run 11 NKAP11 PM6 30 06 2006 07 04 283 www EngineeringBooksPdf com ...
Page 312: ...MOD Functions 12 Okap12 pm6 30 06 2006 07 04 297 www EngineeringBooksPdf com ...
Page 332: ...Tables and Overviews 13 Pkap13 pm6 30 06 2006 07 04 317 www EngineeringBooksPdf com ...