beautypg.com

Two-point measurement g17 longitudinal g777 – HEIDENHAIN SW 54843x-02 DIN Programming User Manual

Page 443

background image

HEIDENHAIN MANUALplus 620, CNC PILOT 640

443

5.3 T

o

uc

h pr

obe cy

cles f

o

r tw

o-point measur

ement

Two-point measurement G17 longitudinal G777

Cycle G777 measures two opposite points in the X/Y plane with the
measuring axis Y. If the tolerance values defined in the cycle are
exceeded, the cycle saves the measured deviation either as tool
compensation or as an additive compensation. The result of the
measurement is saved additionally in the variable #i99. (See "Touch
probe cycles for automatic operation" on page 429.)

Cycle run

From the current position the touch probe moves along the defined
measuring axis toward the measuring point. When the stylus touches
the workpiece, the measured value is saved and the touch probe is
positioned back to the starting point. For the pre-positioning for the
second measurement, the cycle first moves the touch probe by the
offset in the circumnavigation direction RB and then by the offset in the
measuring direction RC. The cycle executes the second probing
operation in the opposite direction, saves the result and positions the
touch probe with the circumnavigation axis by the circumnavigation
value.

The control outputs an error message if the touch probe does not
reach any touch point within the defined measuring path. If a
maximum deviation WE was programmed, the measuring points are
approached twice and the mean value is saved as result. If the
difference of the measurements is greater than the maximum
deviation WE, the program run is interrupted and an error message is
displayed.

Example: G777—Two-point measurement for tool
compensation

. . .

MACHINING

N3 G777 R1 K20 YE10 BD0.2 Y40 BE0.3 WT5
Q0 P0 H0

. . .

Parameters
R

Type of compensation:

1: Tool compensation DX/DZ for turning tool or additive
compensation

2: Recessing tool Dx/DS

3: Milling tool DX/DD

4: Milling tool DD

K

Incremental measuring path with direction (signed): Maximum
measuring path for probing. The algebraic sign determines the
probing direction.

RB Circumnavigation direction offset: Distance in circumnavigation

direction X

RC Offset Z: Distance for pre-positioning before the second

measurement

YE

Nominal value for target position Y: Absolute coordinate of
touch point

BD Tolerance +/-: Range for the first measurement result in which

no compensation is applied

Y

Nominal width Z: Coordinate for the second probing position

BE

Tolerance width +/-: Range for the second measurement result
in which no compensation is applied

This manual is related to the following products: