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.
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 ~ | |||
| |||
| |||
| |||
| |||
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 ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
11 CYCL CALL | ; Cycle call: grinding contour | ||
12 L Z+50 R0 FMAX | |||
13 CYCL DEF 1002 STOP RECIP. STROKE ~ | |||
| |||
| |||
14 L Z+250 R0 FMAX | |||
15 L C+0 R0 FMAX M92 | |||
16 M30 | ; End of program run | ||
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 |