Distance control (sensed spindles)

Release Note

release_note

The availability of this function depends on the configuration and the scope of the version.

If the tool-supporting axis (spindle axis) is equipped with the necessary hardware, this function specifies the distance of the tool to an uneven workpiece surface. The distance is detected by a measuring system and is continuously tracked by the NC on the uneven surface.

The distance control for a sensed spindle is enabled by the parameter P-AXIS-00328. It is activated by the following NC command. For more information please refer to the functional description "Distance control” [FCT-M3]

<Axis_name>        

[DIST_CTRL [ON [ CONST_DIST ] | OFF | CHECK_POS | FREEZE | REF] SET_POS<expr> SET_DIST<expr> [ NO_MOVE ] VAL1<expr>- VAL5<expr> { \ } ]

<axis_name>

Name of the axis supporting the tool.

DIST_CTRL

Identifier for the "Sensed spindles” function. Must always be programmed as first keyword.

ON

Distance control on when workpiece surface is specified. A set position (SET_POS) must be set at switch-on.

ON CONST_DIST

[as of V2.11.2804.03]

Distance control on when a constant distance to the workpiece surface is specified. A distance must be set with SET_DIST at switch-on.

OFF

Distance control off.

CHECK_POS

Check whether position is within the tolerance window.

FREEZE

Freeze the control distance across the workpiece. The axis position or the output correction value is maintained. Axis tracking is interrupted.

REF

Reference measuring system (sensor) (only if there is no absolute measuring system).

SET_POS<expr>

Specifying the workpiece surface in [mm] (absolute position). In the event of reset or program end, the set position is reset, i.e. a new set position must be specified before distance control is reactivated.

SET_DIST<expr>

[as of V2.11.2804.03]

Specifying a constant distance to the workpiece surface in [mm]. In the event of reset or program end, the distance is reset, i.e. a new distance must be specified before distance control is reactivated.

NO_MOVE

By default the correction offset occurring when distance control is switched off is driven out. This motion can be suppressed by specifying NO_MOVE in combination with OFF. The channel is initialised with the changed axis position. The position offset is only driven out with the next axis motion programmed in the NC program.

VAL1<expr>-VAL5<expr>

Freely assignable values (5)

\

Separator ("backslash") for clear programming of the command over multiple lines.

 

 

The keywords ON/OFF, FREEZE, CHECK_POS and REF in the same command sequence mutually cancel each other out.

The keywords SET_POS, SET_POSSET_DIST and VAL1-VAL5 can always be programmed in combination with each other.

Notice

notice

If distance control is still active at program end, it is not automatically deselected.

When a reset or axis error occurs, active distance control is always deselected automatically.

Programing Example

prg_example

Programming examples for distance control

%DIST_1

N10 Z[DIST_CTRL SET_POS=30] Set expected position of the

                              workpiece surface

N20 Z[DIST_CTRL ON]           Select

:

Nxx Z[DIST_CTRL OFF]              Deselect

N999 M30

%DIST_2

N10 Z[DIST_CTRL ON SET_POS=30]Select + set expected position of the

                           of workpiece surface

:

Nxx Z[DIST_CTRL FREEZE]           Hold position

:

Nxx Z[DIST_CTRL OFF]              Deselect

N999 M30

%DIST_3

N10 Z[DIST_CTRL ON SET_POS=50] Select + set expected position of the

                            of workpiece surface

:

Nxx Z[DIST_CTRL OFF NO_MOVE]Distance control off,

                            Z axis does not
                            move.

Nxx G0 Z100            The resulting compensation offset is

                       not considered while moving

                       to target position.

N999 M30

%DIST_4

N10 Z[DIST_CTRL SET_POS=30 SET_DIST=10]   Set the
                                          distance parameters

N20 Z[DIST_CTRL ON]      Select with workpiece surface
                         specified (SET_POS)

:

Nxx Z[DIST_CTRL OFF]              Deselect

:

Nxx Z[DIST_CTRL ON CONST_DIST]    Select with distance to
                                  workpiece
                               surface specified (SET_DIST)

:

Nxx Z[DIST_CTRL OFF]              Deselect

N999 M30