Siemens SINUMERIK 840D sl Function Manual page 690

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

M5: Measuring
8.6 Examples - only 840D sl
N15 G17 T1 D1
N20 _ANF: G0 X0 F150 ←
N25 MEAS=+1 G1 X100 ←
N30 STOPRE ←
N35 SIGNAL= $AC_MEA[1]
N37 IF SIGNAL == 0 GOTOF_FEHL1
N40 MESSWERT_IN_X[II]=$AA_MW[X]
N50 II=II+1
N60 IF II<10 GOTOB_ANF
N65 M0
N70 M02
N80 _FEHL1: MSG ("Probe not switching")
N90 M0
N95 M02
After the parameter display (user-defined variables) have been selected, the measurement
results can be read in field MEASVALUE_IN_X[10] provided that the program is still being
processed.
690
; Initial conditions,
: Tool compensation
; preselect for probe
; Prepositioning in the measured axis
; at 1st measurement input when
; switching signal not deflected,
; deflected in the X axis
; Stop decoding for this after
; subsequent evaluation of
; results
; read software switching signal at
; 1st measurement input
; Check switching signal
; Read measured value in workpiece
coordinates
; Repeat 10 times
Function Manual, 09/2009, 6FC5397-1BP20-0BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents