beautypg.com

Two-point measurement g18 longitudinal g776 – HEIDENHAIN SW 54843x-03 DIN Programming User Manual

Page 467

background image

HEIDENHAIN MANUALplus 620, CNC PILOT 640

467

5.3 T

o

uc

h pr

obe cy

cles f

o

r tw

o-point measur

ement

Two-point measurement G18 longitudinal G776

Cycle G776 measures two opposite points in the X/Z plane with the
measuring axis Z. 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 455.).

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 back 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.

Beispiel: G776—Two-point measurement for tool
compensation

. . .

MACHINING

N3 G776 R1 K20 E1 ZE30 BD0.2 Z40 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.

E

Circumnavigation axis: Selection of axis for retraction
movement between the probing positions:

0: X axis

2: Y axis

RB Circumnavigation direction offset: Distance
RC Offset in Z: Distance for pre-positioning before the second

measurement

ZE

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

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

no compensation is applied

Z

Nominal width in 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: