Sinumerik 840D Tool Data System Variable $TC_DP

Sinumerik 840D Tool Data

Sinumerik 840D Tool Data

This post is about Siemens Sinumerik 840D Tool Data System Variable $TC_DP1, $TC_DP2 … $TC_DP22.

Tool Data $TC_DPx system variables for Sinumerik 840D

The Tool Data system variable for Sinumerik 840D gives lot of power and flexibility to the CNC programmer, Tool Data system variables can be used in variety of ways on Sinumerik 840D CNC Control, some are listed below

  • Tool Data Retrieval (Tool Data can be accessed)
  • Tool Data Update (Tool Data can be updated)

What is Sinumerik 840D Tool Data?

All the data which is about tool (like Tool Length, Tool Nose Radius etc.) is called Tool Data. Or you simply can say that Tool Dimensions or Tool Geometry or Tool Offset is called Tool Data on Sinumerik 840D CNC control.

Sinumerik 840D Tool Data

Sinumerik 840D Tool Data

Here some of the Sinumerik 840D Tool Data System Variables are Explained,

$TC_DP1 : Tool Type.

$TC_DP2 : Tool Nose Position 1…9

$TC_DP3 : Tool Length1, Tool Height(X).

$TC_DP4 : Tool Length2, Tool Width (Z).

$TC_DP6 : Tool Nose Radius.

$TC_DP12 : Wear Length1.

$TC_DP13 : Wear Length2.

Sinumerik 840D Tool Data $TC_DP System Variable Usage

You want to change some data for a specific tool, then you must have to give values to this system variable so that it can retrieve or update the correct tool data.

The requirements are as under

T Number Tool Number (this is the tool station number)

D Number Tool Cutting Edge Number or Offset Number.

$TC_DP1[ T , D ]

Sinumerik 840D Tool Data $TC_DP System Variable Usage in CNC Programming Example

N10 $TC_DP3[5, 1] = 90

In the above cnc programming example we are setting the tool Length1 for the Tool which is at Tool Station number 5 and its tool D number is 1.

Now the tool number 5 with D number 1 has its Tool Length1 set to 90.

Sinumerik 840D Tool Data $TC_DP System Variable Usage in CNC Programming Example with R Parameters

N10 $TC_DP1[R40, R41] = R30

In the above cnc programming I am setting the tool type for a tool whose tool number is given in R40 and tool D number is given R41, and we are setting the tool type which is already given in R30.

Sinumerik 840D Tool Data $TC_DP System Variable Usage in CNC Programming Example to Retrieve Tool Data

N10 R10 = $TC_DP4[7, 1]

In above cnc programming example I am retrieving Tool Length2 in R10 for the Tool number 7 with D number 1.