HEIDENHAIN CNC Pilot 4290 V7.1 User Manual
Page 299
Advertising
HEIDENHAIN CNC PILOT 4290
299
4.30 In-pr
o
cess an
d P
o
st
-pr
o
cess Measur
ing
Example: Using a measuring result as compensation value
Example: Monitoring for tool breakage
. . .
N2 T1
Finish the outside contour
. . .
N49 ...
End the workpiece machining
N50 G915 H1
Request the measurement results...
N51 IF {V940==1}
...if there are any results
N52 THEN
N53 V {D1 [X] = D1 [X] + V941}
Add result to compensation value D1
N54 ENDIF
. . .
. . .
N2 T1
Rough the outside contour
. . .
N49 ...
End the workpiece machining
N50 G915 H1
Request the measurement results...
N51 IF {V940==1}
...if there are any results
N52 THEN
N53 V {V941 >= 1}
Measured value > 1mm
N54 THEN
N55 PRINTA
“Measured value > 1 mm = tool breakage”
N56 M0
Programmed stop—cycle off
N57 ENDIF
N58 ENDIF
. . .
Advertising