Siemens sinumerik 840d Programming Manual page 185

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
5
840D
840D
NCU 571
NCU 572
NCU 573
Programming example
Continuous measurement in mode 1
Measurement of up to 100 measured values
...
N110 DEF REAL MEASVALUE[100]
N120 DEF INT INDEX = 0
N130 MEAC[X] = (1,1,-1) G01 X1000 F100
N135 STOPRE
N140 MEAC[X] = (0)
N150 R1 = $AC_FIFO1[4]
N160 FOR INDEX = 0 TO R1-1
N170 MEASVALUE[INDEX] = $AC_FIFO1[0]
N180 ENDFOR
Measurement with delete distance-to-go after 10
measured values
...
(x)
N20 MEAC[x]=(1,1,1,-1) G01 X100 F500
N30 MEAC[X]=(0)
N40 R1 = $AC_FIFO1[4]
...
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
5.7 Extended measuring function MEASA, MEAWA, MEAC
810D
840Di
CCU 2
(evaluation in chronological sequence)
Special Motion Commands
Measure in mode 1 with active
measuring system, store measured
values under $AC_FIFO1, wait for
measuring signal with falling edge from
probe 1 on travel path to X = 1000.
Terminate measurement when axis
position is reached.
Store number of accumulated measured
values in parameter R1.
Read measured values from $AC_FIFO1
and store.
Delete distance-to-go
Number of measured values
5
5-185

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents