Siemens SINUMERIK 828D Function Manual page 113

Synchronized actions
Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Example 3
Rising and falling edges of probe 1 are to be recorded between 0 and 500 mm for the X axis.
The number of measurements is limited to 10.
The distance-to-go of the X axis is then deleted.
Program code
N10 G0 X0
; Abort condition: Deselect continuous measurement after 10 or more measurements
; and perform "delete distance-to-go"
N10 WHEN $AC_FIFO1[4] >= 10 DO MEAC[X]=(0) DELDTG(X)
; Continuous measurement: Mode = 1 (simultaneously), FIFO memory = 1,
; trigger event 1 = 1 (rising edge of probe 1),
; trigger event 2 = -1 (falling edge of probe 1)
N20 MEAC[X]=(1, 1, 1, -1) G01 X100 F500
N30 MEAC [X]=(0)
N40 R0 = $AC_FIFO1[4]
Synchronized actions
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
;
Approach starting point for the measurement
;
Turn measurement off
;
Number of recorded measured values
Detailed description
2.7 Actions in synchronized actions
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents