© Siemens AG All rights reserved. SINUMERIK, Manual, 5-axis machining
Complex free-form surfaces
6.2
95
Example roughing
subprogram:
ROUGH_01
The subprogram contains the NC blocks for the geometry and all the data required for produc-
tion. Assuming that your post processor has been optimized, all this data should be listed in the
subprogram. All subprograms are structured in a similar fashion. They only differ in terms of the
tool data, technology data, CYCLE832 parameters, and of course the NC blocks.
N100 ; TOOL ; Tool specification in the form of a comment
N110 ; T1 radius milling tool D32
R2
; Tool dimensions
N120 G90 G17 G54 ;
;
Absolute dimension specification, select working plane
and work offset
N130 TRAFOOF ; Deactivate all active transformations and frames
N140 CYCLE800(1,"K2X10F",0,57,0,0,0,0,0,0,0,0,0,-1,)
N145 ; Swivel all axes to the normal position
N150 CYCLE800() ;
;
Resetting of the swiveled planes for defined original
position
N160 T1 ; Call tool T1
N170 M6 ; Change tool in spindle
N180 R2=10000 ;
;
;
;
R2 as parameter for feedrate in XY plane.
Feedrate is programmed in NC block as R2. In this way,
the feedrate value can be modified quickly for the test
phase.
N190 R1=10000 ; R1 as feedrate in Z direction
N200 R3=4500 ; Reduced feedrate
N210 S10000 M3 M8 ; Spindle speed, clockwise rotation, cooling on
N220 CYCLE800(0,"K2X10F",0,57,-36,0,-105,0,0,0,0,0,0,-1)
N225 ;
;
;
;
;
;
;
Pre-positioning of the tool in relation to the workpiece. In
each subprogram, a fixed position should first be
approached/swiveled into so that there is a defined orig-
inal position at the start of machining. This means that if
TRAORI is active, the way the workpiece is approached
may vary under certain circumstances. Pre-positioning
without TRAORI.
N230 CYCLE832(0.13,112003) ;
;
;
;
Define high speed settings with 0.13 tolerance for
roughing. From right to left: 3 roughing, 0 not assigned,
0 no TRAORI, as only 3-axis roughing, 2 G642, 1
FFWON SOFT, 1 COMPCAD.
N240 G0 X133.1221 Y1.2413 ;
N250 G0 Z125 ;
N260 G0 Z108.1501 ;
N270 G1 Z103.1501 F=R1 ; The programmed feedrate R1 is used here.
N280 X126.5626 Y1.1611 F=R2 ; The programmed feedrate R2 is used here.
N290 ... ; NC blocks for geometry
... ...
N4580 G0 Z150 ; Retraction in Z
N4590 CYCLE800(1,"K2X10F",0,57,0,0,0,0,0,0,0,0,0,-1,)
N4595 ; Swivel to original position
N4600 CYCLE832(0.02,10000) ; Set CYCLE832 to default values
N4610 CYCLE800() ; Resetting of the swiveled planes
N4620 M17 ; End of subprogram