Distance controlled axes

Distance controlled axes 1:

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

If the tool supporting axis (spindle axis) is equipped with the necessary hardware, with help of this function the distance of the tool to an uneven workpiece surface can be predefined and controlled. The distance is seized by a measurement system and is tracked by the NC to the uneven surface.

The distance control for a spindle with touch probe is enabled with the parameter [2]-27. The activation is done with the following NC command.

<axis_name> [DIST_CTRL [ON | OFF] |CHECK_POS | FREEZE | REFSET_POS<exp>
VAL1<expr> -VAL5<expr> ]

<axis_name> Name of the tool supporting axis

DIST_CTRL Identification for "Distance controlled spindles".Must always be the first programmed keyword.

ON Distance control on.

OFF Distance control off.

CHECK_POS Check, if position is in tolerance window.

FREEZE Freeze the controlled distance above the workpiece. The axis position is hold; no tracking operation.

REF Referencing of the measurement system (only necessary if no absolute measurement system is present)

SET_POS<expr> Actual distance value above the workpiece [mm] (absolute position).

VAL1<expr>-VAL5<expr> Free usable values (5)

The keywords ON/OFF, FREEZE, CHECK_POS and REF are excluding keywords in the the same command sequence. The keywords SET_POS and VAL1-VAL5 always can be programmed in combination with the other keywords. If the function on program end is still active, it is deselected automatically (implicite "OFF").

Programming example

%DIST_1 
N10 Z[DIST_CTRL SET_POS=30] Set position
N20 Z[DIST_CTRL ON] Selection
N20 Z[DIST_CTRL CHECK_POS VAL1=10 VAL2=45] Check position
:
Nxx Z[DIST_CTRL OFF] Deselection
N999 M30
%DIST_2
N10 Z[DIST_CTRL ON SET_POS=30] Selection+set position
:
Nxx Z[DIST_CTRL FREEZE] Hold position
:
Nxx Z[DIST_CTRL OFF] Deselection
N999 M30