Measuring Mode 2; Continuous Measurement - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

8.8.2

Measuring mode 2

Supplementary conditions
● Two probes
● Trigger signals are the rising and falling edges
● Actual value from the current encoder
Program code
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
8.8.3

Continuous measurement

Supplementary conditions
● The measurement is done in measuring mode 1:
● Measurement with 100 values
● One probe
● Trigger signal is the falling edge
● Actual value from the current encoder
Continuous measurement on completion of programmed traversing movement
Program code
N1
N2
N3
N4
N5
N6
N7
N8
Extended Functions
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
MEASA[X] = (2, 1, -1, 2, -2) G01 X100 F100
STOPRE
IF $AC_MEA[1]==FALSE gotof MESSTASTER2
R10=$AA_MM1[X]
R11=$AA_MM2[X]
PROBE2
IF $AC_MEA[2]==FALSE gotof ENDE
R12=$AA_MM3[X]
R13=$AA_MM4[X]
END:
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:
M5: Measurement
8.8 Channels - only 840D sl
Comment
; Abort
;Number of measured values
; Read out measured values
583

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents