W1: Tool offset
18.15 Examples
Basic Functions
1600
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Explanations regarding the example above
Starting at block
N390
, various methods are used to approach position
X0 Y0 Z0
. The machine positions
reached are specified in the blocks in comments. After the program a description is given of how the positions
were reached.
N390
: The adapter transformation 5 (block
N90
) transforms length
L1
into length
L2
. Only the actual adapter
dimension is not subject to this transformation. The Y value (
L2
with
G17
) results from the sum of the tool length
(10), tool wear (1), sum offset (0.1), and insert offset (0.01). The adapter dimension (0.001) is in Z (
L1
).
N400
: In block
N350
, bits 0 and 2 are enabled in setting data:
SD42935 $SC_WEAR_TRANSFORM (transformations for tool components)
This means that the tool wear and the insert offset are not subject to the adapter transformation because of
TOWMCS
in block
N400
. The sum of these two compensations is 1.01. The Z position is, therefore, increased by
this amount and the Y position is reduced by this amount compared with block
N390
.
TOWWCS
is active in
N410
. The sum of the tool wear and the insert offset is thus effective in the active workpiece
coordinate system. In block
N370
, a rotation through 30 degrees is activated about the X axis. The original
compensation value of 1.01 in the Z direction thus yields a new Z component of 0.875 ( = 1.01 * cos(30)) and a
new Y component of -0.505 ( = 1.01 * sin(30)). This yields the dimension specified in the program comment when
added to the sum of the tool length, sum offset and adapter dimension produced in block
N390
.
In addition, a toolholder with orientation capability is activated in block
N420
. This executes a rotation through 45
degrees about the X axis (see
N310
-
N330
). Since all offset vectors of the toolholder are zero, there is no
additional zero offset. The toolholder with orientation capability acts on the sum of the tool length, sum offset and
N270
$TC_MPP2[9999.1]=9
; Location types
N280
$TC_MPP4[9999.1]=2
; Location state
N290
$TC_MPP5[9999,1]=1
; Spindle no. 1
N300
$TC_MDP2[1,1]=0
; Distance from spindle to mag. 1
; Definition of toolholder 1
N310
$TC_CARR10[1] = 1
; Component of 2nd rotary axis in X
direction
N320
$TC_CARR14[1] = 45
; Angle of rotation of 2nd axis
N330
$TC_CARR23[1] = "T"
; Tool mode
N340
Stopre
N350
$SC_WEAR_TRANSFORM = 'B101'
N360
T0 D0 DL=0
N370
ROT X30
N380
G90 G1 G17 F10000 X0 Y0 Z0
N390
T="MillingTool" X0 Y0 Z0 TOWSTD
; X 0.000 Y11.110 Z 0.001
N400
T="MillingTool" X0 Y0 Z0 TOWMCS
; X 0.000 Y10.100 Z 1.011
N410
T="MillingTool" X0 Y0 Z0 TOWWCS
; X 0.000 Y 9.595 Z 0.876
N420
TCARR=1 X0 Y0 Z0
; X 0.000 Y 6.636 Z 8.017
N430
G18 X0 Y0 Z0
; X10.100 Y-0.504 Z 0.876
N440
m30