Siemens SINUMERIK 840Di Function Manual page 1841

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

N360
N370
N380
N390
N400
N410
N420
N430
N440
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: 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.
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 adapter dimension. The
resulting vector component is X0 Y7.141 Z7.142. The sum of the tool wear and insert offset
evaluated in the WCS is then added as in block N410.
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 is X10.100 Y0.0071 Z0.0071. The vector generated from the tool wear
and insert offset (X0 Y–0.505 Z0.875) is not affected by the plane change. The sum of the
two vectors yields the dimension specified in the comment in N430.
Tool Compensation (W1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
T0 D0 DL=0
ROT X30
G90 G1 G17 F10000 X0 Y0 Z0
T="MillingTool" X0 Y0 Z0 TOWSTD
T="MillingTool" X0 Y0 Z0 TOWMCS
T="MillingTool" X0 Y0 Z0 TOWWCS
TCARR=1 X0 Y0 Z0
G18 X0 Y0 Z0
m30
4.1 Toolholder with orientation capability
; X 0.000 Y11.110 Z 0.001
; X 0.000 Y10.100 Z 1.011
; X 0.000 Y 9.595 Z 0.876
; X 0.000 Y 6.636 Z 8.017
; X10.100 Y-0.504 Z 0.876
Examples
4-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents