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

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
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
2-144
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 location reserved for tool environments
(MD18116 $MN_MM_NUM_TOOL_ENV = 0),
i.e., the "Tool environments" functionality if 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.
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Tool Compensation (W1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents