EasyManuals Logo

Siemens SINUMERIK 804D sl Programming Manual

Siemens SINUMERIK 804D sl
1334 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
Page #480 background imageLoading...
Page #480 background image
Meaning
WHILE: Initiates the program loop.
ENDWHILE: Marks the end of the loop and results in a return jump to the beginning of the loop.
<condition>: The condition must be fulfilled so that the WHILE loop is executed.
Example
Program code Comment
...
WHILE $AA_IW[DRILL_AXIS] > -10 ; Call the WHILE loop under the following
condition: The actual WCS setpoint for the
drilling axis must be greater than -10.
G1 G91 F250 AX[DRILL_AXIS] = -1
ENDWHILE
...
3.1.7.5 Program loop with condition at the end of the loop (REPEAT, UNTIL)
For a REPEAT loop, the condition is at the end of the loop. The REPEAT loop is executed once
and repeated continuously until the condition is fulfilled.
Syntax
REPEAT
...
UNTIL <significance>
Meaning
REPEAT: Initiates the program loop.
UNTIL: Marks the end of the loop and results in a return jump to the beginning of the loop.
<condition>: The condition that must be fulfilled so that the REPEAT loop is no longer exe‐
cuted.
Example
Program code Comment
...
REPEAT ; Call the REPEAT loop.
...
UNTIL ... ; Check whether the condition is fulfilled.
...
Work preparation
3.1 Flexible NC programming
NC programming
480 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 804D sl and is the answer not in the manual?

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals