Siemens SINUMERIK 840D sl Function Manual page 231

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

Advertisement

2.17 Read the assignment of the tool lengths L1, L2, L3 to the coordinate axes (LENTOAX)
3
Note
In the TCS, all tool length components are always parallel or antiparallel to the axes.
The components can only be antiparallel when mirroring is active and the following setting data
is activated:
SD42900 $SC_MIRROR_TOOL_LENGTH (sign change tool length when mirroring)
Example
Standard application, milling tool for G17.
L1 applies in Z (applicate), L2 applies in Y (ordinate), L3 applies in X (abscissa).
Function call in the form:
<Status>=LENTOAX(<AxInd>,<Matrix>,"WCS")
The result parameter <AxInd> then contains the values:
<AxInd>[0] = 3
<AxInd>[1] = 2
<AxInd>[2] = 1
Or, in short: (3, 2, 1)
In this case, the associated matrix (<Matrix>) is:
A change from G17 to G18 or G19 does not alter the result, because the assignment of the
length components to the geometry axes changes in the same way as the assignment of the
abscissa, ordinate and applicate.
A frame rotation of Z through 60 degrees is now programmed with G17 active, e.g.
Tools
Function Manual, 06/2019, A5E47435126B AA
coordinate system applicable for the assignment (optional)
<Coord>:
Data type:
Charac‐
ters:
The notation of the characters in the string (upper or lower case) is arbitrary.
If the parameter <Coord> is not specified, then WCS is used (default setting).
STRING
MCS
The tool length is represented in the machine coordinate
system.
M
BCS
The tool length is represented in the basic coordinate system.
B
WCS
The tool length is represented in the workpiece coordinate
system (default setting).
W
KCS
The tool length is represented in the tool coordinate system
of the kinematic transformation.
K
TCS
The tool length is represented in the tool coordinate system.
T
W1: Tool offset
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents