EasyManua.ls Logo

Siemens SINUMERIK 840D - Page 122

Siemens SINUMERIK 840D
713 pages
Print Icon
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...
B509
B509 Page 6 840D/828D SINUMERIK Operate
Notes
Section 3
Repetitions of parts of the program
If a certain number of NC-blocks is to be repeated at another part of the
program, the instruction REPEAT is available.
The instruction requires a start marker as a jump destination. An end
marker can possibly be included for clarity.
The end marker is only really necessary if the repeat instruction is not di-
rectly in the succeeding block of the part of the program to be repeated
(see Section 4).
Example without end marker, single repeat:
After the blocks N90 to N140 have been repeated the program will be con-
tinued with block N160.
Note:
The program section (N90 to N140) is already executed once during the
normal run of the program. With the “REPEAT”-instruction this will be car-
ried out a second time.
If a program section is to be repeated several times, the number of repeti-
tions must be stated with the addressP” (see page 7).
Single repetition of
the program section
Program continua-
tion after the repeti-
tion
Jump to start
label
N30 T1; Roughing tool
N40 G96 S160 F0.2 M4 D1
N50 G00 X82 Z0 M8
N60 G01 X-1.6
N70 Z3
N80 G00 X80; raw dimension
N90 LBL10:
N100 G00 G42 X=IC(-4) Z1
N110 G01 Z-20
N120 X=IC(6)
N130 G00 G40 Z4
N140 G01 X=IC(-6)
N150 REPEAT LBL10
N160 G00 X200 Z300

Other manuals for Siemens SINUMERIK 840D

Related product manuals