Siemens SINUMERIK 840D sl Programming Manual page 103

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

Advertisement

Example 3: Repeat section between two jump markers
Program code
N5 R10=15
N10 Begin: R10=R10+1
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
N110 Z10
N120 M30
Example 4: Repeat section between jump marker and ENDLABEL
Program code
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
N140 REPEAT BEGIN2 P=2
N150 M100
N160 REPEAT BEGIN1 P=2
N170 Z10
N180 X0 Y0
N190 M30
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
1.11 Repeat program section (REPEAT, REPEATB, ENDLABEL, P)
Comments
; Width
; Execute section from N10 to N70 three times.
Comments
; Execute section from N110 to N120 three times.
; Execute section from N50 to N80 twice.
; Execute section from N20 to N80 twice.
Flexible NC programming
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents