W1: Tool offset
18.15 Examples
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1599
In
N70
, the tool is activated and the zero position is approached. As a result of the tool length the machine
positions
X0 Y0 Z10
are thus obtained in this block.
In
N80
an incremental traversing motion is performed from 10 into tool direction. The resulting axis positions are
thus
X7.071 Y0 Z17.071
.
18.15.1.4 Calculation of compensation values on a location-specific and workpiece-specific basis
Tool with adapter
A tool with adapter and toolholder with orientation capability is defined in the following program example. In order
to simplify the overview, only length
L1
is different to zero for the additive and insert offsets and for the adapter in
case of the tool itself. The offset vectors of the toolholder with orientation capability are all zero.
N10
$TC_TP2[1] = "MillingTool"
; Name of identifier
N20
$TC_TP7[1]=9
; Location types
N30
$TC_TP8[1]=2
; Status: enabled and not blocked
; D corr. D=1
N40
$TC_DP1[1,1]=120
; Tool type - milling
N50
$TC_DP3[1,1]=; tool length compensation
vector
N60
$TC_DP12[1,1]= ; wear
N70
$TC_SCP13[1,1]=0.1
; Sum offset DL=1
N80
$TC_ECP13[1,1]=0.01
; Insert offset DL=1
N90
$TC_ADPTT[1]=5
; Adapter transformation
N100
$TC_ADPT1[1]=0.001
; Adapter dimension
; Magazine data
N110
$TC_MAP1[1]=3
; Magazine type: Revolver
N120
$TC_MAP2[1]="Revolver"
; Magazine identifier
N130
$TC_MAP3[1]=17
; Status of magazine
N140
$TC_MAP6[1]=1
; Dimension - line
N150
$TC_MAP7[1]=2
; Dimension - column -> 2 positions
N160
$TC_MPP1[1,1]=1
; Location type
N170
$TC_MPP2[1,1]=9
; Location types
N180
$TC_MPP4[1,1]=2
; Location state
N190
$TC_MPP7[1,1]=1
; Bring adapter into position
N200
$TC_MPP6[1,1]=1
; T number "MillingTool"
N210
$TC_MAP1[9999]=7
; Magazine type: buffer
N220
$TC_MAP2[9999]="buffer"
; Magazine identifier
N230
$TC_MAP3[9999]=17
; Status of magazine
N240
$TC_MAP6[9999]=1
; Dimension - line
N250
$TC_MAP7[9999]=1
; Dimension - column -> 1 position
N260
$TC_MPP1[9999.1]=2
; Location type