W1: Tool offset
18.13 Tool lengths L1, L2, L3 assignment: LENTOAX
Basic Functions
1592
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Further explanations
If the tool length components are parallel to the geometry axes, the axis indices assigned to length components
L1
to
L3
are returned in the _AXIND array.
If a tool length component points in the negative axis direction, the associated axis index contains a minus sign.
In this case, the return value (status) is 0. If an axis does not exist, the associated return value is 0. The
assignment can also be read from the _MATRIX parameter. Six of the nine matrix elements are then zero, and
three elements contain the value +1 or -1.
If not all length components are parallel or antiparallel to the geometry axes, the index of the axis, which contains
the largest part of a tool length component, is returned in _AXIND. In this case (if the function does not return an
error for a different reason), the return value is 1. The mapping of tool length components
L1
to
L3
onto geometry
axes 1 to 3 is then described completely by the contents of the 3rd parameter _MATRIX.
The _COORD parameter can be used to specify, which coordinate system is to be used for the geometry axes. If
the _COORD parameter is not specified (notation LENTOAX(_AXIND, _MATRIX)), the WCS is used (default).
Example:
Standard situation: milling tool with
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 contains the values:
_AXIND[0] = 3
_AXIND[1] = 2
_AXIND[2] = 1
_COORD
STRING
Specifies the coordinate system used for the assignment.
MCS or M:
The tool length is represented in the machine coordinate system.
BCS or B:
The tool length is represented in the basic coordinate system.
WCS or W:
The tool length is represented in the workpiece coordinate system
(default).
KCS or K:
The tool length is represented in the tool coordinate system of the
kinematic transformation.
TCS or T:
The tool length is represented in the tool coordinate system.
The notation of the characters in the string (upper or lower case) is arbitrary.
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)
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...