Siemens SINUMERIK 840D sl Programming Manual page 260

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

Advertisement

Special motion commands
4.8 Axial measurement (MEASA, MEAWA, MEAC) (option)
Program code
N170 MEASURED VALUE[loop]=$AC_FIFO1[0]
N180 ENDFOR
b) Measurement with delete distance-to-go after 10 measured values
Program code
...
N10 WHEN $AC_FIFO1[4]>=10 DO MEAC[x]=(0) DELDTG(x)
N20 MEAC[x]=(1,1,1,-1) G01 X100 F500
N30 MEAC [X]=(0)
N40 R1 = $AC_FIFO1[4]
...
c) Measurement of a falling/rising tooth flank with two probes
Program code
...
N110 DEF REAL MEASVALUE[16]
N120 DEF INT loop=0
N130 MEAC[X]=(1,1,-1,2) G01 X100 F100
N140 STOPRE
N150 MEAC[X]=(0)
N160 R1=$AC_FIFO1[4]
N170 FOR loop=0 TO R1-1
N180 MEASURED VALUE[loop]=$AC_FIFO1[0]
N190 ENDFOR
Further information
Measurement job
A measuring task can be programmed in the part program or from a synchronized action
(see Section "Synchronized actions (Page 553)"). Please note that only one measuring job
can be active at any given time for each axis.
260
Comment
; Read-out measured values from $AC_FIFO1 and save.
Comment
; Measurement in mode 1 with active
measuring system, save measured
values under $AC_FIFO1, wait for
measuring signal in the sequence
falling edge of probe 1, rising edge
of probe 2 while traversing the path
to X=100.
; Preprocessing stop
; Terminate measurement when axis
position is reached.
; Save number of accumulated measured
values in parameter R1.
; Read-out measured values from
$AC_FIFO1 and save.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Comment
; Delete distance-to-
go.
; Number of measured
values.
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents