EasyManuals Logo

Siemens SINUMERIK 828D Programming Manual

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #266 background imageLoading...
Page #266 background image
Special Motion Commands
4.8 Extended measuring function (MEASA, MEAWA, MEAC) (option)
Job planning
266 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Example 2: Axial measurement with deletion of distance-to-go in mode 2 (evaluation in
programmed sequence)
Program code Comments
...
N100 MEASA[X]=(2,1,-1,2,-2) G01 X100 F100 ; 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.
N110 STOPRE ; Preprocessing stop
N120 IF $AC_MEA[1]==FALSE GOTOF PROBE2 ; Check that the measurement with probe 1 is
successful.
N130 R10=$AA_MM1[X] ; Save measured value acquired on first
programmed trigger event (rising edge probe 1).
N140 R11=$AA_MM2[X] ; Save measured value acquired on second
programmed trigger event (rising edge probe 1).
N150 PROBE2:
N160 IF $AC_MEA[2]==FALSE GOTOF END ; Check that the measurement with probe 2 is
successful.
N170 R12=$AA_MM3[X] ; Save measured value acquired on third
programmed trigger event (rising edge probe 2).
N180 R13=$AA_MM4[X] ; Save measured value acquired on fourth
programmed trigger event (rising edge probe 2).
N190 END:
Example 3: Continuous axial measurement in mode 1 (evaluation in chronological
sequence)
a) Measurement of up to 100 measured values
Program code Comments
...
N110 DEF REAL MEASVALUE[100]
N120 DEF INT loop=0
N130 MEAC[X]=(1,1,-1) G01 X1000 F100 ; Measurement in mode with active measuring system,
save measured values under $AC_FIFO1, wait for
measuring signal with falling edge of probe 1 while
traversing path to X=1000.
N135 STOPRE
N140 MEAC[X]=(0) ; Terminate measurement when axis position is reached.
N150 R1=$AC_FIFO1[4] ; Save number of accumulated measured values in
parameter R1.
N160 FOR loop=0 TO R1-1
N170 MEASURED VALUE[loop]=$AC_FIFO1[0] ; Read-out measured values from $AC_FIFO1 and save.
N180 ENDFOR

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals