© Siemens AG All rights reserved. SINUMERIK, Manual, 5-axis machining
Driving gear and turbine components
5.2
89
Example finishing
subprogram: FINISH_04
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 cherry D8 ; Dimensions of the cherry tool 8 mm
N115 ; Tolerance=0.01 ; Tolerance specification in the form of a comment
N120 G40 G17 G710 G94 G90 ;
;
Tool radius compensation, working plane, metric sys-
tem, feedrate in mm/min in relation to spindle, absolute
dimension specification
N125 TRAFOOF ; Deactivate all active transformations and frames
N130 CYCLE800(1,"K2X10F",0,57,0,0,0,0,0,0,0,0,0,-1,)
N135 ; 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 G54 ; Work offset
N190 ORIWKS ; Workpiece coordinate system is valid
N200 ORIAXES ; Axis interpolation
N210 S10000 M3 M8 ; Spindle speed, clockwise rotation, cooling on
N215 CYCLE800(1,"K2X10F",100000,39,0,0,0,90,60,0,0,0,0,-1,)
N220 ;
;
;
;
;
;
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.
N225 G0 X0 Y0
N230 G0 Z100
N235 CYCLE832(0.01,112001)
N240 ;
;
;
Define high speed settings, 0.01 tolerance. From right to
left: 1 finishing activated, 0 not assigned, 0 TRAORI
deactivated, 2 G642, 1 FFWON SOFT, 1 COMPCAD.
N245 TRAORI ; Activate TRAORI
N250 G54 ; Reactivate work offset after TRAORI
N260 G0 X46.84229 Y48.25858 Z30.5 A3=.89140864 B3=.45320044 C3=0.0 S25000 M3
N270 ;
;
Rapid traverse to position, define spindle speed and
direction of rotation
N275 G1 X21.95965 Y29.38587 A3=.89140864 B3=.45320044 C3=0.0 M8 F6000
N280 ; Approach first position with feedrate, coolant on
N290 ... ; NC blocks for geometry
... ...
N4580 G0 Z150 ; Retraction in Z
N4590 TRAFOOF ; Deactivate transformation
N4600 CYCLE832(0.02,10000) ; Set CYCLE832 to default values
N4610 CYCLE800() ; Resetting of the swiveled planes
N4620 M5 ; Spindle stop
N4630 M17 ; End of subprogram