W1: Tool offset
18.13 Tool lengths L1, L2, L3 assignment: LENTOAX
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1591
18.13
Tool lengths L1, L2, L3 assignment: LENTOAX
LENTOAX function
The "LENTOAX" function provides information about the assignment of tool lengths
L1, L2
and
L3
of the active
tool to the abscissa, ordinate and applicate. The assignment of abscissa, ordinate and applicate to the geometry
axes is affected by frames and the active plane (
G17
-
G19
).
Only the geometry component of a tool ($TC_DP3[x,y] to $TC_DP5[x,y]) is considered, i.e., a different axis
assignment for other components (e.g., wear) has no effect on the result.
The "LENTOAX" function is a predefined subprogram. It must, therefore, be programmed in a separate block.
Syntax:
Status = LENTOAX(_AXIND, _MATRIX, _COORD)
The first two parameters must always be programmed; the last parameter can be
omitted.
Value/parameter:
Status
INT
0:
Function OK, information in _AXIND sufficient for description (all tool length
components are parallel to the geometry axes).
1:
Function is OK, however, the content of _MATRIX must be evaluated for a correct
description (the tool length components are not parallel to the geometry axes).
-1:
Invalid string in parameter _COORD.
-2:
No tool active.
_AXIND[3]
INT
array
Indices 0 to 2 are assigned to the abscissa (0), ordinate (1) and applicate (2) (e.g.,
_AXIND[0] contains the number of the tool length components, which are effective in the
direction of the abscissa).
The content has the following significance:
0:
Assignment exists (axis does not exist)
1 to 3:
or
-1 to -3:
Number of the length effective in the corresponding coordinate axis. The
sign is negative if the tool length component is pointing in the negative
coordinate direction.
_MATRIX[3][3]
REAL
array
Matrix, which represents the vector of the tool lengths (
L1=1, L2=1, L3=1
) to the
vector of the coordinate axes (abscissa, ordinate, applicate), i.e., the tool length
components are assigned to the columns in the order
L1, L2, L3
and the axes are
assigned to the lines in the order abscissa, ordinate, applicate.
All elements are always valid in the matrix, even if the geometry axis belonging to the
coordinate axis is not available, i.e., if the corresponding entry in _AXIND is 0.
Содержание 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 ...