Example of grinding cycles

This programming example illustrates how to machine with a grinding tool.

The NC program uses the following grinding cycles:

  • Cycle 1000 DEFINE RECIP. STROKE
  • Cycle 1002 STOP RECIP. STROKE
  • Cycle 1025 GRINDING CONTOUR
  • Program sequence
  • Start milling mode
  • Tool call: Grinding pin
  • Define Cycle 1000 DEFINE RECIP. STROKE
  • Define Cycle 14 CONTOUR
  • Define Cycle 1025 GRINDING CONTOUR
  • Define Cycle 1002 STOP RECIP. STROKE

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 GRINDING_CYCLE MM

1 BLK FORM 0.1 Z X-9.6 Y-25.1 Z-33

2 BLK FORM 0.2 X+9.6 Y+25.1 Z+1

3 FUNCTION MODE MILL

4 TOOL CALL 501 Z S20000

; Tool call: grinding tool

5 L Z+30 R0 FMAX M3

6 CYCL DEF 1000 DEFINE RECIP. STROKE ~

Q1000=+13

;RECIPROCATING STROKE ~

Q1001=+25000

;RECIP. FEED RATE ~

Q1002=+1

;RECIPROCATION TYPE ~

Q1004=+1

;START RECIP. STROKE

7 CYCL DEF 14.0 CONTOUR

8 CYCL DEF 14.1 CONTOUR LABEL1 /2

9 CYCL DEF 14.2

10 CYCL DEF 1025 GRINDING CONTOUR ~

Q203=+0

;SURFACE COORDINATE ~

Q201=-12

;DEPTH ~

Q14=+0

;ALLOWANCE FOR SIDE ~

Q368=+0.2

;OVERSIZE AT START ~

Q534=+0.05

;LATERAL INFEED ~

Q456=+2

;IDLE RUNS, CONTOUR ~

Q457=+3

;IDLE RUNS, CONT. END ~

Q207=+200

;GRINDING FEED RATE ~

Q253=+750

;F PRE-POSITIONING ~

Q15=+1

;TYPE OF GRINDING ~

Q260=+100

;CLEARANCE HEIGHT ~

Q200=+2

;SET-UP CLEARANCE

11 CYCL CALL

; Cycle call: grinding contour

12 L Z+50 R0 FMAX

13 CYCL DEF 1002 STOP RECIP. STROKE ~

Q1005=+1

;CLEAR RECIP. STROKE ~

Q1010=+0

;RECIP.STROKE STOPPOS

14 L Z+250 R0 FMAX

15 L C+0 R0 FMAX M92

16 M30

; End of program

17 LBL 1

; Contour subprogram 1

18 L X+3 Y-23 RL

19 L X-3

20 CT X-9 Y-16

21 CT X-7 Y-10

22 CT X-7 Y+10

23 CT X-9 Y+16

24 CT X-3 Y+23

25 L X+3

26 CT X+9 Y+16

27 CT X+7 Y+10

28 CT X+7 Y-10

29 CT X+9 Y-16

30 CT X+3 Y-23

31 LBL 0

32 LBL 2

; Contour subprogram 2

33 L X-25 Y-40 RR

34 L Y+40

35 L X+25

36 L Y-40

37 L X-25

38 LBL 0

39 END PGM GRINDING_CYCLE MM