Siemens SINUMERIK 840D sl Function Manual page 31

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

Advertisement

The D number of cutting edge CE = 3 is to be renamed from 2 to 17. The following specifications
apply:
● $TC_DPx[ <tool Tn>, <cutting edge Dm> ]
● Internal T number Tn = 1
● D number Dm = 2
● Tool with one cutting edge with:
● MD18105 $MN_MM_MAX_CUTTING_EDGE_NO = 20 (max. value of the D numbers)
Within the part program, this compensation is programmed as standard with T1, ....D2.
You assign the current D number of cutting edge 3 to a variable (DNoOld) and define the
variable DNoNew for the new D number:
Program code
def int DNoOld, DNoNew = 17
DNoOld = GETDNO( 1, 3 )
SETDNO( 1, 3, DNoNew )
The new D value 17 is then assigned to cutting edge CE=3.
Now the data for the cutting edge are addressed via D number 17, both via the system variable
and in programming with the NC address D.
This compensation is now programmed in the part program with T1, ....D17 and the data
is addressed as follows:
Program code
$TC_DP2[ 1, 17 ] = 120
$TC_DP3[ 1, 17 ] = 5.5
$TC_DPCE[ 1, 17 ] = 3
Note
If the tool has defined a further cutting edge, e.g. $TC_DPCE[ 1, 2 ] = 1 ; = CE, D number 2 of
cutting edge 1 cannot have the same name as the D number of the cutting edge 3,
i.e.: SETDNO( 1, 1, 17) returns the status = FALSE as return value.
DZERO - Invalidate D numbers
The activation of this command invalidates all D numbers of the tools in the TO unit. It is no
longer possible to activate a compensation until valid D numbers are again available in the NC.
The D numbers must be reassigned using the SETDNO command.
Tools
Function Manual, 06/2019, A5E47435126B AA
Program code
$TC_DP2[ 1, 2 ] = 120
$TC_DP3[ 1, 2 ] = 5.5
$TC_DPCE[ 1, 2 ] = 3
Comment
Tool length = 120
Tool radius = 5.5
Cutting edge number CE = 3
Comment
; Cutting edge number CE
W1: Tool offset
2.3 Tool offset memory
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents