EasyManuals Logo

Siemens SINUMERIK 804D sl Programming Manual

Siemens SINUMERIK 804D sl
1334 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 #618 background imageLoading...
Page #618 background image
Program code Comment
N130 R11=$AA_MM2[X] ; Save measured value acquired at the sec-
ond programmed trigger event (positive
edge of probe 1).
N140, PROBE2:
N150 IF $AC_MEA[2]==FALSE GOTOF END ; Check that the measurement with probe 2
is successful.
N160 R12=$AA_MM3[X] ; Save measured value acquired at the
third programmed trigger event (positive
edge of probe 2).
N170 R13=$AA_MM4[X] ; Save measured value acquired at the
fourth programmed trigger event (positive
edge of probe 2).
N180 END:
Example 3: Axis-specific, continuous measurement in mode 1 (evaluation in chronological
sequence)
a) Measurement of up to 100 measured values
Program code Comment
...
N110 DEF REAL MEASVALUE[100]
N120 DEF INT loop=0
N130 MEAC[X]=(1,1,-1) G01 X1000 F100 ; Measuring in mode 1 with active measur-
ing system, save measured values under
$AC_FIFO1, wait for measuring system with
negative edge from probe 1 on the travel
path to X=1000.
N135 STOPRE
N140 MEAC[X]=(0) ; Terminate measurement when axis posi-
tion is reached.
N150 R1=$AC_FIFO1[4] ; Save number of accumulated measured val-
ues 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
b) Measurement with delete distance-to-go after 10 measured values
Program code Comment
...
N10 WHEN $AC_FIFO1[4]>=10 DO MEAC[x]=(0) DELDTG(x) ; Delete distance-to-go.
N20 MEAC[x]=(1,1,1,-1) G01 X100 F500
N30 MEAC [X]=(0)
N40 R1 = $AC_FIFO1[4] ; Number of measured values.
...
Work preparation
3.7 Special motion commands
NC programming
618 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals