W1: Tool offset
18.15 Examples
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1595
18.15
Examples
18.15.1
Toolholder with orientation capability
18.15.1.1 Example: Toolholder with orientation capability
Requirement
The following example uses a toolholder, which is described fully by a rotation about the Y axis. It is therefore
sufficient to enter only one value to define the rotary axis (block
N20
).
Blocks
N50
to
N70
describe an end mill with radius 5 mm and length 20 mm.
Block
N90
defines a rotation of 37 degrees about the Y axis.
Block
N120
activates the tool radius compensation and all settings are made to describe the compensation in the
following blocks with a rotation of 37 degrees about the Y axis.
N10
; Definition of toolholder 1
N20 $TC_CARR8[1] = 1
; Component of the first rotary axis in
the Y direction
N30
N40
; Definition of tool-compensation memory
T1/D1
N50 $TC_DP1[1,1] = 120
; End mill
N60 $TC_DP3[1,1] = 20
; Length 1
N70 $TC_DP6[1,1] = 5
; Radius
N80
N90 ROT Y37
; 37-degree rotation about y axis
N100
N110 X0 Y0 Z0 F10000
N120 G42 CUT2DF TCOFR TCARR = 1 T1 D1 X10
N130 X40
N140 Y40
N150 X0
N160 Y0
N170 M30