Siemens SINUMERIK 840D Programming Manual page 96

Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Drilling Cycles and Drilling Patterns
2
2.3 Drill pattern cycles
Programming example
Grid of holes
With this program you can machine a grid of holes
consisting of 5 rows of 5 holes each that lie in the XY
plane at a distance of 10 mm from one another. The
starting point of the grid is X30 Y20.
DEF REAL RFP=102, DP=75, RTP=105,
SDIS=3
DEF REAL SPCA=30, SPCO=20, STA1=0, ->
-> DBH=10, FDIS=10
DEF INT NUM=5, LINENUM=5, COUNT=0
DEF REAL LINEDIST
N10 LINEDIST=DBH
N20 G90 F300 S500 M3 D1 T1
N30 G17 G0 X=SPCA-10 Y=SPCO Z105
N40 MCALL CYCLE81 (RTP, RFP, SDIS, DP)
N50 MARK1: HOLES1 (SPCA, SPCO, STA1, -> -
> FDIS, DBH, NUM)
N60 SPCO=SPCO+LINEDIST
N70 COUNT=COUNT+1
N80 IF COUNT<LINENUM GOTOB MARK1
N90 MCALL
N100 G90 G0 X=SPCA-10 Y=SPCO Z105
N110 M30
-> Must be programmed in a single block
2-96
Y
30
Definition of parameters with value
assignments
Distance between rows = distance
between holes
Specification of technology values
Approach starting position
Modal call of a drilling cycle
Call of row of holes cycle
Ordinate of reference point for the next
line
Jump back to MARK1 if the condition is
fulfilled
Deselect modal call
Approach starting position
End of program
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide, Cycles (PGZ) - 04.00 Edition
03.96
2
10
10
 Siemens AG 2000 All rights reserved.
X

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840diSinumerik 810dSinumerik fm-nc

Table of Contents