Probe Function Test - Siemens SINUMERIK Series Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

M5: Measurement
7.6 Measurement accuracy and functional testing
7.6.2

Probe function test

Example of function test
Table 7- 7
Program code
%_N_PRUEF_MESSTASTER_MPF
;$PATH=/_N_MPF_DIR
;Testing program probe connection
N05 DEF INT MTSIGNAL
N10 DEF INT ME_NR=1
N20 DEF REAL MESSWERT_IN_X
N30 G17 T1 D1
N40 _ANF: G0 G90 X0 F150
N50 MEAS=ME_NR G1 X100
N60 STOPRE
N70 MTSIGNAL=$AC_MEA[1]
N80 IF MTSIGNAL == 0 GOTOF _FEHL1
N90 MESSWERT_IN_X=$AA_MW[X]
N95 M0
N100 M02
N110 _FEHL1: MSG ("Probe not switching!")
N120 M0
N130 M02
524
Comment
;Flag for trigger status
; measurement input number
; tool compensation for
; preselect probe
; Starting position and
; measuring velocity
; measurement at measurement input =1
; in the X axis
; read software switching signal
; at 1st measurement input
; evaluation of signal
; Read in measured value of
; workpiece coordinates
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents