Siemens SINUMERIK 840D sl Programming Manual page 258

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)
Examples
Example 1: Axial measurement with delete distance-to-go in mode 1 (evaluation in
chronological sequence)
a) with 1 measuring system
Program code
...
N100 MEASA[X]=(1,1,-1) G01 X100 F100
N110 STOPRE
N120 IF $AC_MEA[1]==FALSE GOTOF END
N130 R10=$AA_MM1[X]
N140 R11=$AA_MM2[X]
N150 END:
b) with 2 measuring systems
Program code
...
N200 MEASA[X]=(31,1,-1) G01 X100 F100
N210 STOPRE
N220 IF $AC_MEA[1]==FALSE GOTOF END
N230 R10=$AA_MM1[X]
N240 R11=$AA_MM2[X]
N250 R12=$AA_MM3[X]
N260 R13=$AA_MM4[X]
N270 END:
258
Comment
; Measuring in mode 1 with active
measuring system. Wait for
measuring signal with
rising/falling edge from probe 1
for travel path to X=100.
; Preprocessing stop
; Check that the measurement was
successful.
; Save measured value acquired at
the first programmed trigger event
(rising edge).
; Save measured value acquired at
the second programmed trigger
event (falling edge).
Comment
; Measuring in mode 1 with both
measuring systems. Wait for
measuring signal with
rising/falling edge from probe 1
for travel path to X=100.
; Preprocessing stop
; Check that the measurement was
successful.
; Save measured value of measuring
system 1 at rising edge.
; Save measured value of measuring
system 2 at rising edge.
; Save measured value of measuring
system 1 at falling edge.
; Save measured value of measuring
system 2 at falling edge.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents