Find hole in c lateral surface g781, 6 sear c h cy cles – HEIDENHAIN SW 54843x-02 DIN Programming User Manual
Page 458

458
Touch probe cycles
5.6 Sear
c
h
cy
cles
Find hole in C lateral surface G781
Cycle G780 probes the lateral surface of a workpiece several times 
with the X axis. Prior to each probing, the C axis is rotated by a 
distance defined in the cycle until a hole is found. Optionally, the cycle 
determines the mean value by two probing operations in the hole. 
If the tolerance value defined in the cycle is exceeded, the cycle saves 
the measured deviation as zero point shift. The result of the 
measurement is saved additionally in the variable #i99.
Cycle run
From the current position the touch probe moves along the measuring 
axis X 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. Then the cycle rotates the C axis 
by the angle defined in the Search Grid parameter RC and probes again 
with the X axis. This process is repeated until a hole is found. In the 
hole the cycle performs two probing operations with the C axis, 
calculates the center of the hole and sets the zero point in the C axis.
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 point is 
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: G781 Find hole in C face
. . .
MACHINING
N3 G781 R1 D1 K2 C0 RC10 IC20 AC0 BD0.2 Q0 
P0 H0
. . .
Result #i99
Meaning
< 999997
Result of first measurement
999999
Deviation of probing operations was higher than 
programmed in Maximum Deviation parameter WE. 
Parameters
R
Type of zero point shift:
1: Activate table and G152 zero point shift and additionally 
save in zero point table. The zero-point shift also remains 
active after the program run.
2: Activate zero point shift with G152 for the further program 
run. Zero point shift no longer active after program run.
D
Result:
1: Position: Set zero point without determining the hole 
center. No probing operation in the hole.
2: Object center: Before the zero point is set, determine hole 
center in two probing operations with the C axis
K
Incremental measuring path X (signed): Maximum measuring 
path for probing. The algebraic sign determines the probing 
direction. 
C
Starting position C: Position of the C axis for the first probing 
operation 
RC Search grid Ci: Stepping angle of the C axis for the subsequent
probing operations
A
Number of points: Maximum number of probing operations
