5
Special Motion Commands 04.00
5.7 Extended measurin
function MEASA
MEAWA
MEAC
5
840D
NCU 571
840D
NCU 572
NCU 573
810D
CCU 2
840Di
Siemens AG 2000. All rights reserved
5-184
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
Measurement with delete distance-to-go in mode 2
(evaluation in programmed sequence)
...
N100 MEASA[X] = (2,1,-1,2,-2) G01 X100
F100
Measurement in mode 2 with active
measuring system. Wait for measuring
signal in the following order: Rising edge
of probe 1, falling edge of probe 1, rising
edge of probe 2, falling edge of probe 2,
on travel path to X = 100.
N110 STOPRE
Preprocessing stop
N120 IF $AC_MEA[1] == FALSE gotof
Check success of measurement with
probe 1
PROBE2
N130 R10 = $AA_MM1[X]
Store measured value acquired on first
programmed trigger event (rising edge
probe 1)
N140 R11 = $AA_MM2[X]
Store measured value acquired on
second programmed trigger event (rising
edge probe 1)
N150 PROBE2:
N160 IF $AC_MEA[2] == FALSE gotof END
Check success of measurement with
probe 2
N170 R12 = $AA_MM3[X]
Store measured value acquired on third
programmed trigger event (rising edge
probe 2)
N180 R13 = $AA_MM4[X]
Store measured value acquired on fourth
programmed trigger event (rising edge
probe 2)
N190 END: