W1: Tool offset
18.15 Examples
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1603
The total wear including _CORVAL is mapped onto the X' direction in the WCS. This produces point P2. The
coordinates of this point (measured in X/Y coordinates) are entered in the geometry component of the tool. The
difference vector P
2
- P
1
remains in the wear. The wear thus no longer has a component in the direction of
_CORVAL.
Figure 18-54 Tool length compensation, example 6
If the sample program is continued after
N110
with the following instructions:
The remaining wear is included completely in the geometry because the compensation is now effective in the Z'
axis (parameter _GEOAX is 0). Since the new compensation value is 0, the total tool length and thus the position
approached in
N140
may not change. If _CORVAL were not equal to 0 in N120, a new total tool length and thus
a new position in
N140
would result, however, the wear component of the tool length would always be zero, i.e.,
the total tool length is subsequently always contained in the geometry component of the tool.
The same result as that achieved by calling the SETTCOR function with the _CORCOMP = 0 parameter twice
can also be reached by calling _CORRCOMP = 1 (vectorial compensation) just once:
$TC_DP3[1,1]
: 21.830
; Geometry L1
$TC_DP4[1,1]
: 21.830
; Geometry L2
$TC_DP12[1,1]
: 2.500
; Wear L1
$TC_DP13[1,1]
: -4.330
; Wear L2
N120
_CORVAL[0] = 0.0
N130
r1 = settcor(_CORVAL, "GW", 0, 3, 0)
N140
t1 d1 x0 y0 z0
; ==> MCS position X24.330 Y0.000
Z17.500
N10
def real _CORVAL[3]
N20
$TC_DP1[1,1] = 500
; Turning tool
B&259$/ HIIHFWLYHLQ;GLUHFWLRQ
:HDU/ /
*HRPHWU\/ /
2ULJLQDOWRROOHQJWK
;
=
;
=
3
3
3