Measurement (M5)
13.4 Measurement accuracy and functional testing
Turning, Milling, Nibbling
254 Function Manual, 11/2012, 6FC5397-1CP10-5BA0
It is possible to determine the so-called "random dimensional deviations" which are not
subject to any trend.
%_N_CHECK_ACCURATE_MPF
N05 R11 ; Switching signal
N06 R12=1 ; Counter
N10 R1 to R10 ; MEAS_VAL_IN _X
N15 T1 D1 ; Start conditions, preselect tool offset for
; probe
N20 ANF: G0 X0 F150 ;Prepositioning in the measured axis
N25 MEAS=+1 G1 X100 ; Measurement at 1st measuring input with
;rising switching edge, in the X axis
N30 STOPRE ; Stop decoding for subsequent evaluation of the
; result (automatically executed when reading
; MEA)
N35 R11= $AC_MEA[1] ; Read switching signal at 1st measuring input
N37 IF R11==0 GOTOF FEHL1 ;Check switching signal
N40 R[R12]=$AA_MW[X] ;Read measured value in workpiece ;coordinates
N50 R12=R12+1
N60 IF R12<11 GOTOB ANF ;Repeat 10 times
N65 M0
N70 M02
N80 FEHL1: MSG ; Probe not switching
N90 M0
N95 M02
The measurement results R1 to R10 can be read after selecting the parameter display.