Description
TF5200 | TwinCAT 3 CNC
Online tool compensation
19
Version: 1.02
Tool orientation is determined by the disc tilt angle. This tool orientation can then be used to apply the
resulting wear proportionately to the main axes.
In the figure above, wear is included in the calculation of the X and Z axes.
2.4
Wear compensation in tool direction
Grinding a surface
This compensation type is used to compensate for wear in the tool direction. This can take place both
continuously and discretely.
Grinding disc
Workpiece
tool wear
X
Z
Figure 8: Wear compensation in tool direction
OTC grinding with kinematic type 4
...
N30
D1
(Select record for grinding disc)
N40 G00 X0 Y0 Z300 B0
N50 #KIN ID[4]
N50 #TRAFO ON
N60 G00 B45
N70 G01 X100 Z50 F1000
N80
#OTC ON [TOOL_DIR, DISC]
(Select OTC)
N90 $FOR P1=0, 20, 1
N100 G91 G01 X10 Z-10 F2000
N110 X-10 Z10
N120 $ENDFOR
N120 #OTC OFF (deselect OTC)
N130 #TRAFO OFF
...