Read Tool Lengths, Tool Length Components - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Detailed Description
2.10 Working with tool environments
2.10.6

Read tool lengths, tool length components

GETTCOR function
The GETTCOR function is used to read out tool lengths or tool length components.
The parameters can be used to specify, which components are considered, and the
conditions, under which the tool is used.
The GETTCOR function is a predefined subprogram. It must, therefore, be programmed in a
separate block.
Syntax:
Value/parameter:
Status
172
Status = GETTCOR(_LEN, _COMP, _STAT, _T, _D, _DL)
All parameters can be omitted with the exception of the first parameter (_LEN).
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.
Basic logic functions: Tool Offset (W1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents