Channel-specific connection

The following channel-specific control unit is used to default wear values by the PLC in the modes – ‘Radius wear ‘ (RADIUS) or ‘Tool direction wear’ (TOOL_DIR).

See Programming (#OTC ON/OFF)

The mode must be either DISC or AUTO in both modes.

Online tool compensation (OTC)

Description

The tool radius is compensated by specifying a wear value. The wear value is specified as an offset from the planned cutting edge.

It is only possible to used the control unit in the RADIUS or TOOL_DIR modes and in the DISC or AUTO mode.

See NC command #OTC.

See also functional description [FCT-C20].

Data type

MC_CONTROL_SGN32_UNIT, see description of Control Unit

Special features

If the wear value changes, this change is distributed over several interpolation cycles to avoid sudden changes.

Access

PLC reads request_r + state_r and writes command_w + enable_w

ST Path

gpCh[channel_idx]^.bahn_mc_control.otc_radius_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

Adding wear in tool direction

In the third axis (axis_idx = 2) 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.