Examples
4.1 Toolholder with orientation capability
Basic logic functions: Tool Offset (W1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
187
N200 $TC_CARR18[1] = 0
; X component of 4th offset vector
N210 $TC_CARR19[1] = 0
; Y component of 4th offset vector
N220 $TC_CARR20[1] = 15
; Z component of 4th offset vector
N230 $TC_CARR21[1] = A
; Reference for 1st axis
N240 $TC_CARR22[1] = B
; Reference for 2nd axis
N250 $TC_CARR23[1] = "P"
; Toolholder type
N260 X0 Y0 Z0 A0 B45 F2000
N270 TCARR=1 X0 Y10 Z0 T1 TCOABS
N280 PAROT
N290 X0 Y0 Z0
N300 G18 MOVT=AC(20)
N310 G17 X10 Y0 Z0
N320 MOVT=-10
N330 PAROTOF
N340 TCOFR
N350 X10 Y10 Z-13 A0 B0
N360 ROTS X-45 Y45
N370 X20 Y0 Z0 D0
N380 Y20
N390 X0 Y0 Z20
N400 M30
The definition of the toolholder with orientation capability is given in full. The components
which contain the value 0 need not actually be given, as they are preset to zero in any case.
The toolholder is activated in
N270
.
As
$TC_CARR21 and $TC_CARR22 refer to the machine axes
A
and
B
and
TCOABS
is
active, the values in
$TC_CARR13 and $TC_CARR14 are ignored, i.e., the axis position
A0
B45
is used for the rotation.
The rotation of the 4th offset vector (length 15 mm in Z direction) around the B axis causes
an offsetting of the zero point by X10.607 [= 15 * sin(45)] and Z-4.393 [= -15 * (1. This zero
offset is taken into account by an automatically written basic or system frame so that the
position X10.607 Y10.000 Z8.607 is approached. In the Z direction the tool selection leads to
an additional offset of 13 mm; the Y component is not affected by the table rotation.
N280
defines a rotation in accordance with the rotation of the table of the toolholder with
orientation capability. The new X direction thus points in the direction of the bisecting line in
the 4th quadrant, the new Z axis in the direction of the bisecting line in the 1st quadrant.
The zero point is approached in
N290
, i.e., the machine position X10.607 Y0 Z-4.393, since
the position of the zero point is not changed by the rotation.
N300
traverses in Y to the position Y33.000, since
G18
is active and the Y component is not
affected by the active frame. The X and Z positions remain unchanged.
The position X17.678 Y0 Z1.536 is approached in
N310
.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...