216 Fixed Cycles: Contour Pocket, Contour Trains
7.12 Programming Examples
Example: Contour train
0 BEGIN PGM C25 MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
Definition of workpiece blank
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL CALL 1 Z S2000
Tool call: Diameter 20
4 L Z+250 R0 FMAX
Retract the tool
5 CYCL DEF 14.0 CONTOUR GEOMETRY
Define contour subprogram
6 CYCL DEF 14.1 CONTOUR LABEL 1
7 CYCL DEF 25 CONTOUR TRAIN
Define machining parameters
Q1=-20 ;MILLING DEPTH
Q3=+0 ;ALLOWANCE FOR SIDE
Q5=+0 ;SURFACE COORDINATE
Q7=+250 ;CLEARANCE HEIGHT
Q10=5 ;PLUNGING DEPTH
Q11=100 ;FEED RATE FOR PLNGNG
Q12=200 ;FEED RATE FOR MILLING
Q15=+1 ;CLIMB OR UP-CUT
8 CYCL CALL M3
Cycle call
9 L Z+250 R0 FMAX M2
Retract in the tool axis, end program