Example
The toolholder used in the following example can be fully described by a rotation around the Y
axis.
Program code
N10 $TC_CARR8[1]=1
N20 $TC_DP1[1,1] = 120
N30 $TC_DP3[1,1]=20
N40 $TC_DP6[1,1]=5
N50 ROT Y37
N60 X0 Y0 Z0 F10000
N70 G42 CUT2DF TCOFR TCARR=1 T1 D1 X10
N80 X40
N90 Y40
N100 X0
N110 Y0
N120 M30
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
z
Y
Z
X
Y
X
z
Y
Z
X
X
Comment
; Definition of the Y component of
the first rotary axis of toolholder
1.
; Definition of a shaft miller.
; Definition of a shaft miller, 20
mm long.
; Definition of a shaft miller with
5 mm radius.
; Frame definition with 37° rota-
tion around the Y axis.
; Approach start position.
Set radius compensation, tool
length compensation in rotated
frame, select toolholder 1, tool 1.
; Perform machining under a rota-
tion of 37°.
Work preparation
3.13 Tool offsets
781