Siemens SINUMERIK 840D sl Programming Manual page 786

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

Advertisement

Work preparation
3.13 Tool offsets
Note
The correction values written with the CORRTC function are not immediately effective in the
tool carrier. The correction values only become active after deselecting the tool carrier,
NEWCONF and selecting the tool carrier.
Syntax
<_Corr_Status> = CORRTC(<_Corr_Vect>, <_Corr_Index>, <_Corr_Mode>,
[ <_No_Alarm>])
Meaning
CORRTC:
<_Corr_Status>:
<_Corr_Vect>:
<_Corr_Index>:
786
Function call
Function return value
Data type:
INT
Values:
0 The function was executed without an error.
1 No tool carrier is active.
2 The active tool carrier was not defined with kinematic chains.
10 The <_Corr_Index> call parameter is negative.
11 The <_Corr_Mode> call parameter is negative.
12 Invalid reference to a section of a subchain (_CORR_INDEX).
13 No correction element has been defined in the section referred to by the
_CORR_INDEX parameter ($TC_CARR_CORR_ELEM).
20 The hundreds position of <_CORR_MODE> is invalid. Only the values 0 and
1 are permissible.
21 The thousands position of <_CORR_MODE> is invalid. Only the values 0
and 1 are permissible.
30 For the correction of an offset vector, the deviation from the current value in
at least one coordinate is greater than the maximum value specified by the
setting data SD41612 $SN_CORR_TRAFO_LIN_MAX.
31 The attempt to write a system variable was rejected because of missing write
rights.
Correction vector
The content of the correction vector is defined by the following parameters <_Corr_Index>
and <_Corr_Mode>.
If <_Corr_Status> = 30, the content of the vector is overwritten (see above).
Data type:
REAL
Designates the section for which the direction vector of the correction element is to be corrected.
Data type:
INT
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents