Description

Task

Motions are generated by electronic probe systems or sensors. These motions should superimpose the programmed positions of axes when an NC program is interpolated.

This control helps to implement

Description 1:
Specifying the ideal workpiece surface for height control
Description 2:
Specifying the distance to workpiece for height control

Characteristics

A second measuring system is connected to the control system via an encoder. This measuring system can output axis-specific compensation values to an axis in addition to the interpolated command point to correct the actual position of the axis.

Distance control is enabled and disabled in the

Variables relevant to distance control can be parameterised via the axis machine data.

Distance control operates in the interpolation cycle of the control system (GEO task).

Distance control is only available for SERCOS, PROFIdrive or CANopen drives.

Parameterisation overview

The motion generated by distance control can be influenced by machine data.

Enable/disable is executed either by the NC program or the PLC.

Description 3:
Structure of distance control in conjunction with other compensations
Description 4:
Sensing the workpiece surface

Correction of set position

The actual workpiece surface produces a height offset:

Description 5:

where

Description 6:

This results in a correction of the programmed command position PosCmd of the tool as follows:

Description 7:

Configuration overview

The encoder of the electronic probe system is connected to the controlled axis as actual value encoder 2. Make sure that the first configured encoder is used for axis position control and the second encoder for distance control. Encoder for distance control.

Description 8:
TwinCAT configuration example for SERCOS (ID S-0-0053)
Description 9:
TwinCAT configuration example for CANopen DS402 (PDO 0x60E4, Subindex 1)
Description 10:
TwinCAT configuration example for ProfiDrive (G1_XIST2)

Notice

The axis-specific feed override and the axis-specific feedhold enable act on distance control (see [HLI// Control commands of an axis]).

When override is 0 or when feedhold is set, distance control is no longer active and the current value is frozen.