Detailed Description
2.10 Working with tool environments
Basic logic functions: Tool Offset (W1)
176 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
MD20360 $MC_TOOL_PARAMETER_DEF_MASK
The two least significant bits of this machine data specify how the wear (bit 0) and tool length
(bit 1) are to be evaluated if a diameter axis is used for turning and grinding tools.
If the bits are set, the associated entry is weighted with the factor 0.5. This weighting is
reflected in the tool length returned by GETTCOR.
Example:
MD20360 $MC_TOOL_PARAMETER_DEF_MASK = 3 (definition of tool parameters).
MD20100 $MC_DIAMETER_AX_DEF="X" (Geometry axis with face axis funtion)
X is diameter axis (standard turning machine configuration):
N30
$TC_DP1[1.1] = 500
N40
$TC_DP2[1.1] = 2
N50
$TC_DP3[1.1] = 3.0 ; Geometry L1
N60
$TC_DP4[1,1]= 4.0
N70
$TC_DP5[1,1]= 5.0
N80
$TC_DP12[1,1]= 12.0 ; Wear L1
N90
$TC_DP13[1,1]= 13.0
N100
$TC_DP14[1,1]= 14.0
N110
t1 d1 g18
N120
r1 = GETTCOR(_LEN, "GW")
N130
r3 = _LEN[2]
; 17.0 (= 4.0 + 13.0)
N140
r4 = _LEN[3]
; 7.5 (= 0.5 * 3.0 + 0.5 * 12.0)
N150
r5 = _LEN[4]
; 19.0 (= 5.0 + 14.0)
N160
m30