Programming principles 
  1.6 Tool and tool offset 
Turning   Part 2: Programming (Siemens instructions) 
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0 
83 
1.6.9  Special handling of tool compensation (turning) 
Influence of setting data 
With the use of the following setting data, the operator / programmer can influence the 
calculation of the length compensation of the tool used: 
●  SD 42940: TOOL_LENGTH_CONST 
(Assignment of tool-length components to geometry axes) 
●  SD 42950: TOOL_LENGTH_TYPE 
(Assignment of the tool-length components independent of tool type) 
 
 
Note 
The modified setting data will become effective with the next cutting edge selection. 
Examples 
With SD 42950: TOOL_LENGTH_TYPE =2 
a milling tool used is taken into account in length compensation as a turning tool: 
●  G17: Length 1 in Y axis, length 2 in X axis 
●  G18: Length 1 in X axis, length 2 in Z axis 
●  G19: Length 1 in Z axis, length 2 in Y axis 
With SD 42940: TOOL_LENGTH_CONST =18 
the length assignment is performed in all planes G17 to G19 as for G18: 
●  Length 1 in X axis, length 2 in Z axis 
Setting data in the program 
In addition to setting of setting data via operator input, these can also be written in the 
program. 
Programming example 
 
N10 $MC_TOOL_LENGTH_TYPE=2   
N20 $MC_TOOL_LENGTH_CONST=18