Siemens SINUMERIK 840D sl Function Manual page 708

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

Advertisement

Measurement (M5)
Examples
8.8.2
Measuring mode 2
● Two probes
● Trigger signals are the rising and falling edges
● Actual value from the current encoder
N2
N3
N4
N5
N6
N7
N8
N9
N10
N11
8.8.3
Continuous measurement
8.8.3.1
Continous measurement on completion of programmed traversing motion
● 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
N1
N2
N3
N4
N5
N6
N7
N8
708
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:
; Abort
; Number of measured values
; Read out measured values
Function Manual, 03/2009, 6FC5397-1BP10-4BA0
Extended Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents