W1: Tool offset
18.12 Working with tool environments
Basic Functions
1580
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Value/parameter:
Status
INT
0:
Function OK
-1:
No memory reserved for tool environments:
MD18116 $MN_MM_NUM_TOOL_ENV = 0 (number of tool environments in TO
area).
i.e. the "tool environments" functionality is not available.
-2:
A tool environment with the name specified in _STAT does not exist.
-3:
Invalid string in parameter _COMP.
Causes of this error can be invalid characters or characters programmed twice.
-4:
Invalid T number
-5:
Invalid D number
-6:
Invalid DL number
-7:
Attempt to access non-existent memory module
-8:
Attempt to access a non-existent option (programmable tool orientation, tool
management).
-9:
The _COMP string contains a colon (identifier for the specification of a coordinate
system), but it is not followed by a valid character denoting the coordinate system.
_LEN[11]
REAL
Result vector
The vector components are arranged in the following order:
Tool type
(LEN[0])
Length of cutting
edge
(LEN[1])
Abscissa
(LEN[2])
Ordinate
(LEN[3])
Applicate
(LEN[4])
Tool radius
(LEN[5])
The coordinate system defined in _COMP and _STAT is used as the reference
coordinate system for the length components. If no coordinate system is defined in
_COMP, the tool lengths are represented in the machine coordinate system.
The assignment of the abscissa, ordinate and applicate to the geometry axes depends
on the active plane in the tool environment, i.e. with
G17
, the abscissa is parallel to X,
with
G18
it is parallel to Z, etc.
Components LEN[6] to LEN[10] contain the additional parameters, which can be used to
specify the geometry description of a tool (e.g. $TC_DP7 to $TC_DP11 for the geometry
and the corresponding components for wear or sum and setup offsets).
These 5 additional elements and the tool radius are only defined for components E, G,
S, and W. Their evaluation does not depend on _STAT. The corresponding values in
LEN[5] to LEN[10] can thus only be not equal to zero if at least one of the four specified
components is involved in the tool length calculation. The remaining components do not
influence the result. The dimensions refer to the control's basic system (inch or metric).
Содержание 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 ...