# Axis-specific connection

## Adding wear in axis direction

It is possible to use the following control unit both when the RADIUS mode is used as well as the LENGTH mode.
The mode must be either DISC or AUTO.

See Programming (#OTC ON/OFF)

## Adding wear in surface normal direction

When the SURF_NORM_ORI mode is used, it is possible to use automatic continuous wear compensation and influencing via the following control unit.
The mode must be either DISC or AUTO.

See Programming (#OTC ON/OFF)

The surface normal is approximated based on the current tool orientation and path tangent (cf. RADIUS type). For a continuous change in direction of the surface normal vector, the contour and orientation should be steady at all times.

The PLC input of the first three axes is ignored All the axes in the following sequence can be influenced as usual by the PLC.

OTC offset
Description | When this wear offset is set, wear in the direction of this axis can be compensated. When the SURF_NORM_ORI mode is used (wear in the direction of the surface normal), the offset value must be assigned in the third axis.
Data type | MC_CONTROL_SGN32_UNIT, see description of Control Unit
Special features | The wear offset is distributed by the CNC over several cycles.
Access | PLC reads request_r + state_r and writes command_w + enable_w
ST Path | gpAx[axis_idx]^.ipo_mc_control.otc_offset
Commanded, requested and return values
ST Element | .command_w .request_r .state_r
Data type | DINT
Unit | 0.1 µm
Value range | [-P-TOOL-00031, P-TOOL-00031]
Redirection
ST Element | .enable_w