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.

 
Tip

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 ~

Q1=-20

;MILLING DEPTH ~

Q2=+1

;TOOL PATH OVERLAP ~

Q3=+0.5

;ALLOWANCE FOR SIDE ~

Q4=+0.5

;ALLOWANCE FOR FLOOR ~

Q5=+0

;SURFACE COORDINATE ~

Q6=+2

;SET-UP CLEARANCE ~

Q7=+100

;CLEARANCE HEIGHT ~

Q8=+0.1

;ROUNDING RADIUS ~

Q9=-1

;ROTATIONAL DIRECTION

8 CYCL DEF 21 PILOT DRILLING ~

Q10=-5

;PLUNGING DEPTH ~

Q11=+150

;FEED RATE FOR PLNGNG ~

Q13=+0

;ROUGH-OUT TOOL

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 ~

Q10=-5

;PLUNGING DEPTH ~

Q11=+100

;FEED RATE FOR PLNGNG ~

Q12=+350

;FEED RATE F. ROUGHNG ~

Q18=+0

;COARSE ROUGHING TOOL ~

Q19=+150

;FEED RATE FOR RECIP. ~

Q208=+99999

;RETRACTION FEED RATE ~

Q401=+100

;FEED RATE FACTOR ~

Q404=+0

;FINE ROUGH STRATEGY

13 CYCL CALL

; Cycle call: rough-out

14 CYCL DEF 23 FLOOR FINISHING ~

Q11=+100

;FEED RATE FOR PLNGNG ~

Q12=+200

;FEED RATE F. ROUGHNG ~

Q208=+99999

;RETRACTION FEED RATE

15 CYCL CALL

; Cycle call: floor finishing

16 CYCL DEF 24 SIDE FINISHING ~

Q9=+1

;ROTATIONAL DIRECTION ~

Q10=-5

;PLUNGING DEPTH ~

Q11=+100

;FEED RATE FOR PLNGNG ~

Q12=+400

;FEED RATE F. ROUGHNG ~

Q14=+0

;ALLOWANCE FOR SIDE ~

Q438=-1

;ROUGH-OUT TOOL

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