Continuous Measurements With Deletion Of Distance-To-Go; Continuous Measurements Modally Over Several Blocks - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

M5: Measuring
8.6 Examples - only 840D sl
8.6.3.2

Continuous measurements with deletion of distance-to-go

● Delete distance-to-go after last measurement
● 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
N9
8.6.3.3

Continuous measurements modally over several blocks

● 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
N9
N10
N11
688
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:
; Start measurement
; Number of measured
values
; Read out measured
values
; Start
measurement
; Number of
measured values
; Read out
measured values
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