Flexible NC programming
1.12 Check structures
Job planning
98 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
1.12 Check structures
Function
The control processes the NC blocks as standard in the programmed sequence.
This sequence can be variable by programming alternative program blocks and program
loops. These check structures are programmed using the check structure elements (key
words)
IF...ELSE, LOOP, FOR, WHILE and REPEAT.
CAUTION
Check 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 check structures or on branch
destinations. No such check is made when the macro is defined.
Effectiveness
Check structures apply locally within programs.
Nesting depth
A nesting depth of up to 16 check structures can be set up on each subprogram level.
6XESURJUDP0DLQSURJUDP
/223
(1'/223
(1':+,/(
:+,/(
5(3($7
352&68%352*
817,/
(1')25
)25
:+,/(
(1':+,/(
,)
(1',)
:+,/(
(1':+,/(
:+,/(
(1':+,/(
68%352*
)25
(1')25