W1: Tool offset
18.12 Working with tool environments
Basic Functions
1590
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
_CORCOMP is 0, therefore, the coordinate value of the geometry component acting in the Z direction must be
replaced by the offset value 0.333. The resulting total tool length is thus L1 = 0.333 + 1.000 = 1.333
Example 2
_CORCOMP is 1, therefore, an offset value of 0.333 acting in the Z direction is added to the wear value of 1.0.
Therefore, the resulting total tool length is L1 = 10.0 + 1.333 = 11.333.
N10
def real _CORVAL[3]
N20
$TC_DP1[1,1] =
120
;
Milling tool
N30
$TC_DP3[1.1] =
10.0
;
Geometry L1
N40
$TC_DP12[1,1]=
1.0
;
Wear L1
N50
_CORVAL[0] =
0.333
N60
t1 d1 g17 g0
N70
r1 = settcor(_CORVAL, "W", 0, 1, 2)
N80
t1 d1 x0 y0 z0
;
==>
MCS position X0.000 Y0.000
Z11.333
N90
M30