Control Structures - Siemens SINUMERIK 840D sl Programming Manual

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

1.12 Control structures

1.12
Control structures
1.12
Function
The control processes the NC blocks as standard in the programmed sequence.
In addition to the program branches described in this chapter, these commands can be used
to define additional alternatives and program loops.
These commands enable the user to produce well-structured and easily legible programs.
Programming
Nesting depth
Control structures apply locally within programs. A nesting depth of up to 8 control structures
can be set up on each subroutine level.
Caution
Control structures may only be inserted in the statement section of a program. Definitions in
the program header may not be executed conditionally or repeatedly.
It is not permissible to superimpose macros on keywords for control structures or on branch
destinations. No such check is made when the macro is defined.
1-36
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning
Table of Contents
loading

Table of Contents