W1: Tool offset
18.15 Examples
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1601
adapter dimension. The resulting vector component is X0 Y7.141 Z7.142. To this, as in block N410, the sum
of tool wear and insert offset evaluated in WCS is added.
G18 is activated in N430. The components of the sum of the tool length, sum offset and adapter dimension are
interchanged accordingly. The toolholder with orientation capability continues to act on this new vector (rotation
through 45 degrees about X axis). The resulting vector component thereby is X10.100 Y0.0071 Z0.0071.
The vector formed from tool wear and insert offset (X0 Y-0.505 Z0.875) is not affected by the change of
plane. The sum of the two vectors yields the dimension specified in the comment in N430.
18.15.2 Examples 3-6: SETTCOR function for tool environments
Example 3
_CORCOMP is 2, therefore, the compensation effective in the Z direction is entered in the geometry component
(the old value is overwritten) and the wear value is deleted. The resulting total tool length is thus:
L1 = 0.333 + 0.0 = 0.333.
Example 4
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, "GW", 0, 2, 2)
N80 t1 d1 x0 y0 z0 ; ==> MCS position X0.000 Y0.000
Z0.333
N90 M30
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, "GW", 0, 3, 2)
N80 t1 d1 x0 y0 z0 ;==> MCS position X0.000 Y0.000
Z11.333
N90 M30