Siemens SINUMERIK Series Function Manual page 530

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

Advertisement

M5: Measurement
7.8 Channels - only 840D sl
Continuous measurement on completion of programmed traversing movement
Program code
N1
N2
N3
N4
N5
N6
N7
N8
Continuous measurement with deletion of distance-to-go
Delete distance-to-go after last measurement.
Program code
N1
N2
N3
N4
N5
N6
N7
N8
N9
Continuous modal measurement over several blocks
Program code
N1
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
530
DEF REAL MESSWERT[100]
DEF INT INDEX=0
MEAC[x]=(1, 1, -1) G01 X1000 F100
MEAC[X]=(0)
R1=$AC_FIFO1[4]
FOR INDEX=0 TO R1
MESSWERT[INDEX]=$AC_FIFO1[0]
ENDFOR:
DEF INT ANZAHL=100
DEF REAL MESSWERT[ANZAHL]
DEF INT INDEX=0
WHEN $AC_FIFO1[4]==ANZAHL DO DELDTG (X) MEAC[X] =(0)
MEAC[X]=(1, 1, -1) G01 X1000 F100
R1=$AC_FIFO1[4]
FOR INDEX=0 TO R1
MESSWERT[INDEX]=$AC_FIFO1[0]
ENDFOR:
DEF INT ANZAHL=100
DEF REAL MESSWERT[ANZAHL]
DEF INT INDEX=0
ID=1 MEAC[X]=(1, 1, -1)
ID=2 WHEN $AC_FIFO1[4]==ANZAHL DO MEAC[X]=(0)
CANCEL(2)
G01 X1000 Y100
X100 Y100
R1=$AC_FIFO1[4]
FOR INDEX=0 TO R1
MESSWERT[INDEX]=$AC_FIFO1[0]
ENDFOR:
Comment
; Abort
;Number of measured values
; Read out measured values
Comment
; Start measurement
;Number of measured
values
; Read out measured
values
Comment
; Start measurement
;Number of measured
values
; Read out measured
values
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