Example: Shoulder with recess
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 9 MM | |||
1 BLK FORM CYLINDER Z R80 L60 | |||
2 TOOL CALL 301 | ; Tool call | ||
3 M140 MB MAX | ; Retract the tool | ||
4 FUNCTION MODE TURN | ; Activate turning mode | ||
5 FUNCTION TURNDATA SPIN VCONST:ON VC:150 | ; Constant cutting speed | ||
6 CYCL DEF 800 ADJUST XZ SYSTEM ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
7 M136 | ; Feed rate in mm/rev. | ||
8 L X+165 Y+0 R0 FMAX | ; Approach starting point in the plane | ||
9 L Z+2 R0 FMAX M304 | ; Safety clearance, turning spindle on | ||
10 CYCL DEF 812 SHOULDER, LONG. EXT. ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
11 CYCL CALL | ; Cycle call | ||
12 M305 | ; Turning spindle off | ||
13 TOOL CALL 307 | ; Tool call | ||
14 M140 MB MAX | ; Retract the tool | ||
15 FUNCTION TURNDATA SPIN VCONST:ON VC:100 | ; Constant cutting speed | ||
16 CYCL DEF 800 ADJUST XZ SYSTEM ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
17 L X+165 Y+0 R0 FMAX | ; Approach starting point in the plane | ||
18 L Z+2 R0 FMAX M304 | ; Safety clearance, turning spindle on | ||
19 CYCL DEF 862 EXPND. RECESS, RADL. ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
20 CYCL CALL M8 | ; Cycle call | ||
21 M305 | ; Turning spindle off | ||
22 M137 | ; Feed rate in mm/minute | ||
23 M140 MB MAX | ; Retract the tool | ||
24 FUNCTION MODE MILL | ; Activate milling mode | ||
25 M30 | ; End of program run | ||
26 END PGM 9 MM |