Example: Tool Carrier With Orientation Capability Via Kinematic Chain - Siemens SINUMERIK 840D sl Function Manual

Tools
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

W1: Tool offset
2.8 Tool carriers with orientation capability
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
around 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 tool carrier 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
tool carrier are zero, there is no additional work offset. The tool carrier 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. To this, as in block N410, the sum of tool wear and insert
offset evaluated in WCS is added.
G18 is activated in N430. The components of the tool length sum, sum offset and adapter
dimension are interchanged accordingly. The tool carrier with orientation capability continues
to act on this new vector (rotation through 45 degrees about X axis). The resulting vector
component thereby is X10.100 Y0.0071 Z0.0071. The vector formed from tool wear and
insert offset (X0 Y-0.505 Z0.875) is not affected by the change of plane. The sum of the two
vectors yields the dimension specified in the comment in N430.
2.8.10.4

Example: Tool carrier with orientation capability via kinematic chain

Example of a tool carrier with mixed kinematics (rotatable tool and table)
The example shows a tool carrier that is defined via a kinematic chain. The chain is
automatically closed at the endpoints of the two separate chains (tool and table).
Program code
N1070 _MIXED_1_S:
N1080 IF (DELOBJ("KIN_CHAIN_ELEM") <> 0)
N1080 IF (DELOBJ("KIN_CHAIN_ELEM") <> 0)
N1090 SETAL(62000)
N1100 ENDIF
N1110 _KIE_CNT = 0
N1120 _CARR_CNT = 1
N1130 TCARR=0
N1140 $TC_CARR1[0] = 0
N1150 $TC_CARR_KIN_CNTRL[_CARR_CNT]=7
N1160 $TC_CARR_KIN_TOOL_START[_CARR_CNT]="Y_AXIS"
N1170 $TC_CARR_KIN_TOOL_END[_CARR_CNT]="B_OFFSET_CORR"
138
Comment
; Definition tool carrier 1
; Deactivate current tool carrier.
; Delete all tool carrier data.
; Tool carrier via kinematic chain
; + Close tool and part chain.
; Start element of the tool chain.
; End element of the tool chain.
Function Manual, 06/2019, A5E47435126B AA
Tools

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents