286 Programming: Subprograms and Program Section Repeats
8.6 Programming Examples
8.6 Programming Examples
Example: Milling a contour in several infeeds
Program sequence
îš„ Pre-position the tool to the workpiece surface
îš„ Enter the infeed depth in incremental values
îš„ Contour milling
îš„ Repeat infeed and contour-milling
0 BEGIN PGM PGMWDH MM
1 BLK FORM 0.1 Z X+0 Y+0 Z-40
2 BLK FORM 0.2 X+100 Y+100 Z+0
3 TOOL CALL 1 Z S500
Tool call
4 L Z+250 R0 FMAX
Retract the tool
5 L X-20 Y+30 R0 FMAX
Pre-position in the working plane
6 L Z+0 R0 FMAX M3
Pre-position to the workpiece surface