Measuring Cycles for Milling and Machining Centers5.6 CYCLE979 workpiece: Measure hole/shaft/groove/rib at an angleMeasuring cyclesProgramming Manual, Release 04/2006, 6FC5398-4BP10-0BA0 5-91%_N_DRILL_SEGMENT_MPFN10 G54 G17 G90 T9 D1 ;ZO, select tool as probe ...N20 M6 ;Insert probe,;activate tool offsetN30 G0 X210 Y-20 ;Position probe in X/Y plane close to;P1N40 Z20 ;Position probe at measuring heightN50 _CHBIT[4]=1 ;With mean value calculationN60 _TUL=0.03 _TLL=-0.03 _EVNUM=20_K=3 _TZL=0.01 _TMV=0.02 _TDIF=0.06_TSA=1 _PRNUM=1 _VMS=0 _NMSP=1 _FA=2N61 _MVAR=1 _SETVAL=130 _STA1=15_INCA=80 _RF=900 _TNUM=20 _KNUM=2001_CPA=180 _CPO=0;Set parameters for measuring cycle call;Three-point measurement with probe 1N70 CYCLE979 ;Call measuring cycle for hole measurementin Y;X/Y planeN80 G0 Z160 ;Traverse up Z axisN100 M2 ;End of programExplanation of exampleThe difference calculated from the actual and setpoint diameter is compensated for by theempirical value in the empirical value memory _EV[19] and compared with the toleranceparameter.• If it is more than 1 mm (_TSA), alarm "Safe area violated" is output and programexecution cannot be continued.• If it is more than 0.06 mm (_TDIF), no compensation is performed and alarm "Permissibledimensional difference exceeded" is output and the program continues.• If 0.03 mm is exceeded (_TUL/_TLL), the radius in T20 D1 is compensated 100% by thisdifference/2. Alarm "oversize" or "undersize" is displayed and the program continues.• If 0.02 mm (_TMV) is exceeded, the radius in T20 D1 is compensated 100% by thisdifference/2.• If it is less than 0.02 mm (_TMV), the mean value is calculated from the mean value inmean value memory _MV[19] and inclusion of weighting factor _K=3 (only for_CHBIT[4]=1! with mean value memory).– - If the mean value obtained is >0.01 (_TZL), the reduced compensation of the radiusfor T20 D1 is the mean value/2 and the mean value is deleted in _MV[19].– If the mean value is < 0.01 (_TZL), the radius value in T20 D1 is not corrected, but ifthe mean value memory is active (_CHBIT[4]=1), it is saved in the mean valuememory _MV[19].The results are entered in result array _OVR[ ].