© Siemens AG All rights reserved. SINUMERIK, Manual, 5-axis machining
Aerospace, structural parts
4.2
81
4.2 Programming example for the pocket on a structur-
al part
Inclined inner and outer walls are a typical feature of structural parts. The most effective way to
create these is to use the circumferential milling technique. The following programming example
relates to the milling of a pocket with inclined walls. It illustrates the functions required to achieve
this, such as orientation interpolation and tool radius compensation, by showing what actually
happens in practice.
N110 TRAORI ; Activate TRAFO
N120 G54 ; Select tool zero
N130 TRANS X80 Y80 ; Shift tool zero to center of pocket!
N140 AROT Z ; (Rotate pocket if required)
N150 ORIWKS ; Tool orientation in WCS
N160 ORIVECT ; Large circle interpolation of orientation
N170 CUT3DC ; 3D tool radius compensation (TRC)
N180 ISD=0 ; Insertion depth of tool = 0
; The contour has been programmed on the pocket floor,
; not on the workpiece surface
; (in this case, ISD = 41.231)
; (see also note at the end of the program)
N190 G0 X0 Y-40 Z-39 ; Approach path
N200 G1 G41 X0 Y-50 Z-40 A3=0 B3= - 10 C3=40
1
2
3
4
5
6
7
8