Siemens SINUMERIK 840D sl Programming Manual page 299

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

Advertisement

Example 2: Axial measurement with deletion of distance-to-go in mode 2 (evaluation in
programmed sequence)
Program code
...
N100 MEASA[X]=(2,1,-1,2,-2) G01 X100 F100
N110 STOPRE
N120 IF $AC_MEA[1]==FALSE GOTOF PROBE2
N130 R10=$AA_MM1[X]
N140 R11=$AA_MM2[X]
N150 PROBE2:
N160 IF $AC_MEA[2]==FALSE GOTOF END
N170 R12=$AA_MM3[X]
N180 R13=$AA_MM4[X]
N190 END:
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
4.8 Extended measuring function (MEASA, MEAWA, MEAC) (option)
Comments
; Measuring in mode 2 with active measuring
system. Wait for measuring signal in the
sequence rising edge probe 1, falling edge
probe 1, rising edge probe 2, falling edge
probe 2 while traversing path to X=100.
; Preprocessing stop
; Check that the measurement with probe 1 is
successful.
; Save measured value acquired on first
programmed trigger event (rising edge probe 1).
; Save measured value acquired on second
programmed trigger event (rising edge probe 1).
; Check that the measurement with probe 2 is
successful.
; Save measured value acquired on third
programmed trigger event (rising edge probe 2).
; Save measured value acquired on fourth
programmed trigger event (rising edge probe 2).
Special motion commands
299

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents