Example: Pilot drilling, roughing and finishing overlapping contours with SL Cycles
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
0 BEGIN PGM 2 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 "Drill_D12" Z S2500 | ; Tool call: drill (diameter: 12) | ||
4 L Z+250 R0 FMAX M3 | ; Retract the tool | ||
5 CYCL DEF 14.0 CONTOUR | |||
6 CYCL DEF 14.1 CONTOUR LABEL1 /2 /3 /4 | |||
7 CYCL DEF 20 CONTOUR DATA ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
8 CYCL DEF 21 PILOT DRILLING ~ | |||
| |||
| |||
| |||
9 CYCL CALL | ; Cycle call: pilot drilling | ||
10 L Z+100 R0 FMAX | ; Retract the tool | ||
11 TOOL CALL 6 Z S3000 | ; Tool call: roughing/finishing (D12) | ||
12 CYCL DEF 22 ROUGH-OUT ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
13 CYCL CALL | ; Cycle call: rough-out | ||
14 CYCL DEF 23 FLOOR FINISHING ~ | |||
| |||
| |||
| |||
15 CYCL CALL | ; Cycle call: floor finishing | ||
16 CYCL DEF 24 SIDE FINISHING ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
17 CYCL CALL | ; Cycle call: side finishing | ||
18 L Z+100 R0 FMAX | ; Retract the tool | ||
19 M30 | ; End of program run | ||
20 LBL 1 | ; Contour subprogram 1: left pocket | ||
21 CC X+35 Y+50 | |||
22 L X+10 Y+50 RR | |||
23 C X+10 DR- | |||
24 LBL 0 | |||
25 LBL 2 | ; Contour subprogram 2: right pocket | ||
26 CC X+65 Y+50 | |||
27 L X+90 Y+50 RR | |||
28 C X+90 DR- | |||
29 LBL 0 | |||
30 LBL 3 | ; Contour subprogram 3: left square island | ||
31 L X+27 Y+50 RL | |||
32 L Y+58 | |||
33 L X+43 | |||
34 L Y+42 | |||
35 L X+27 | |||
36 LBL 0 | |||
37 LBL 4 | ; Contour subprogram 4: right triangular island | ||
38 L X+65 Y+42 RL | |||
39 L X+57 | |||
40 L X+65 Y+58 | |||
41 L X+73 Y+42 | |||
42 LBL 0 | |||
43 END PGM 2 MM |