EasyManuals Logo

Siemens SINUMERIK 840D Programming Guide

Siemens SINUMERIK 840D
598 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 #62 background imageLoading...
Page #62 background image
1
Flexible NC programming 04.00
1.12 Control structures
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
1-62
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
Programming example
1. Endless program
%_N_LOOP_MPF
LOOP
IF NOT $P_SEARCH
;No block search
G01 G90 X0 Z10 F1000
WHILE $AA_IM[X] <= 100
G1 G91 X10 F500
;Drilling pattern
Z–5 F100
Z5
ENDWHILE
Z10
ELSE
;Block search
MSG("No drilling during block search")
ENDIF
$A_OUT[1]=1
;Next drilling plate
G4 F2
ENDLOOP
M30
2. Production of a fixed quantity of parts
%_N_WKPCCOUNT_MPF
DEF INT WKPCCOUNT
FOR WKPCCOUNT = 0 TO 100
G01 …
ENDFOR
M30

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals