Siemens sinumerik 840d Programming Manual page 59

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573
2. Endless program loop LOOP
Endless loops are used in endless programs. At the
end of the loop, there is always a branch back to the
beginning.
LOOP
NC blocks
ENDLOOP
3. Count loop FOR
The FOR loop is used if it is necessary to repeat an
operation by a fixed number of runs. In this case, the
count variable is incremented from the start value to
the end value. The start value must be lower than
the end value. The variable must be of the INT type.
FOR Variable = start value TO end value
NC blocks
ENDFOR
4. Program loop with condition at start of the
loop WHILE
The WHILE program loop is executed for as long as
the condition is fulfilled.
WHILE expression
NC blocks
ENDWHILE
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC programming
1.12 Control structures
1
1-59

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents