Example: Contour train

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 3 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 10 Z S2000

; Tool call (diameter: 20)

4 L Z+100 R0 FMAX M3

; Retract the tool

5 CYCL DEF 14.0 CONTOUR

6 CYCL DEF 14.1 CONTOUR LABEL1

7 CYCL DEF 25 CONTOUR TRAIN ~

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 F. ROUGHNG ~

Q15=+1

;CLIMB OR UP-CUT ~

Q18=+0

;COARSE ROUGHING TOOL ~

Q446=+0.01

;RESIDUAL MATERIAL ~

Q447=+10

;CONNECTION DISTANCE ~

Q448=+2

;PATH EXTENSION

8 CYCL CALL

; Cycle call

9 L Z+250 R0 FMAX

; Retract the tool

10 M30

; End of program run

11 LBL 1

; Contour subprogram

12 L X+0 Y+15 RL

13 L X+5 Y+20

13 CT X+5 Y+75

14 CT X+5 Y+75

15 L Y+95

16 RND R7.5

17 L X+50

18 RND R7.5

19 L X+100 Y+80

20 LBL 0

21 END PGM 3 MM