178 Fixed Cycles: Pattern Definitions
6.4 Programming Examples
6.4 Programming Examples
Example: Circular hole patterns
0 BEGIN PGM PATTERN MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
Definition of workpiece blank
2 BLK FORM 0.2 Y+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+3
Tool definition
4 TOOL CALL 1 Z S3500
Tool call
5 L Z+250 R0 FMAX M3
Retract the tool
6 CYCL DEF 200 DRILLING
Cycle definition: drilling
Q200=2 ;SETUP CLEARANCE
Q201=-15 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGN
Q202=4 ;PLUNGING DEPTH
Q210=0 ;DWELL TIME
Q203=+0 ;SURFACE COORDINATE
Q204=0 ;2ND SET-UP CLEARANCE
Q211=0.25 ;DWELL TIME AT DEPTH