Description
TF5200 | TwinCAT 3 CNC
Online tool compensation
27Version: 1.02
2.7.1.2 Adding wear in tool direction
If the TOOL_DIR processing type is used, it is possible to use automatic continuous wear compensation and
influencing via PLC interface. The mode must be DISC or AUTO.
In the third axis (axis_idx = 3) an offset value can be written in the tool direction. The PLC input of the first
two axes is ignored. All the axes in the following sequence can be influenced as usual by the PLC.
OTC offset in surface normal direction
Description When this wear offset is set, wear in the direction of the approximated surface
normal can be compensated (cf. Radius type in 2.5D).
Special features Wear offset is adjusted by the CNC in the surface normal direction over several
cycles.
ST path CNC Version >= V2.11.2800:
gpCh[channel_idx [}26]]^.bahn_mc_control.otc_radius_offset
CNC Version < V2.11.2800:
pMC[channel_idx
[}26]]^.addr^.MCControlBahn_Data.MCControlSGN32Unit_OTCRadiusOffset
CNC build >= V2.11.2800 < V2.11.2800
Data type MC_CONTROL_SGN32_UNIT MCControlSGN32Unit
Commanded, requested and return value
ST element .command_w
.request_r
.state_r
.D_Command
.D_Request
.D_State
Data type DINT
Unit 0.1 µm
Value range [-P-TOOL-00031, P-TOOL-00031]
Redirection
ST element .enable_w .X_Enable