EasyManua.ls Logo

Siemens SINUMERIK 840Di sl - 8.6.4 File functions

Siemens SINUMERIK 840Di sl
560 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
Loading...
Program section repetition
11.1 Program section repetition
Fundamentals
428 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Example repeat program section from BEGIN to END
N5 R10=15
N10 Begin: R10=R10+1
;Width
N20 Z=10-R10
N30 G1 X=R10 F200
N40 Y=R10
N50 X=-R10
N60 Y=-R10
N70 END:Z=10
N80 Z10
N90 CYCLE(10,20,30)
N100 REPEAT BEGIN END P=3
;Execute area from N10 to N70 three times
N110 Z10
N120 M30
Example of ENDLABEL
N10 G1 F300 Z-10
N20 BEGIN1:
N30 X10
N40 Y10
N50 BEGIN2:
N60 X20
N70 Y30
N80 ENDLABEL: Z10
N90 X0 Y0 Z0
N100 Z-10
N110 BEGIN3: X20
N120 Y30
N130 REPEAT BEGIN3 P=3
;Execute area from N110 to N120 three times
N140 REPEAT BEGIN2 P=2
;Execute area from N50 to N80 twice
N150 M100
N160 REPEAT BEGIN1 P=2
;Execute area from N20 to N80 twice
N170 Z10
N180 X0 Y0
N190 M30
Example of milling: Machine drill position with different technologies
N10 CENTER DRILL()
;Load center drill
N20 POS_1:
;Drilling positions 1
N30 X1 Y1
N40 X2
N50 Y2
N60 X3 Y3
N70 ENDLABEL:
N80 POS_2:
;Drilling positions 2
N90 X10 Y5
N100 X9 Y-5

Table of Contents

Other manuals for Siemens SINUMERIK 840Di sl

Related product manuals