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
2 BLK FORM 0.2 Y+100 Y+100 Z+0
3 TOOL DEF 1 L+0 R+3
4 TOOL CALL 1 Z S3500
5 L Z+250 R0 FMAX M3
6 CYCL DEF 200 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
178
Definition of workpiece blank
Tool definition
Tool call
Retract the tool
Cycle definition: drilling
Fixed Cycles: Pattern Definitions