Siemens Sinumerik 840D sl Programming Manual page 105

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

Advertisement

If jumps and program section repetitions are mixed, the blocks are executed purely
sequentially. For example, if a jump is performed from a program section repetition,
processing continues until the programmed end of the program section is found.
Example:
Program code
N10 G1 F300 Z-10
N20 BEGIN1:
N30 X=10
N40 Y=10
N50 GOTOF BEGIN2
N60 ENDLABEL:
N70 BEGIN2:
N80 X20
N90 Y30
N100 ENDLABEL: Z10
N110 X0 Y0 Z0
N120 Z-10
N130 REPEAT BEGIN1 P=2
N140 Z10
N150 X0 Y0
N160 M30
Note
The REPEAT statement should appear after the traversing block.
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
1.11 Repeat program section (REPEAT, REPEATB, ENDLABEL, P)
Flexible NC programming
105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents