Siemens SINUMERIK 840D sl Programming Manual page 94

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

Advertisement

Flexible NC programming
1.10 Program jumps and branches
Syntax
GOTOB <jump destination>
IF <jump condition> = TRUE GOTOB <jump destination>
GOTOF <jump destination>
IF <jump condition> = TRUE GOTOF <jump destination>
GOTO <jump destination>
IF <jump condition> = TRUE GOTO <jump destination>
GOTOC <jump destination>
IF <jump condition> = TRUE GOTOC <jump destination>
Significance
GOTOB:
GOTOF:
GOTO:
GOTOC:
<jump
destination>:
IF:
94
Jump instruction with jump destination towards the beginning of the
program.
Jump instruction with jump destination towards the end of the program.
Jump instruction with jump destination search. The search is first
made in the direction of the end of the program, then in the direction of
the beginning of the program.
Same effect as for GOTO with the difference that Alarm 14080 "Jump
designation not found" is suppressed.
This means that program execution is not interrupted in the case that
the jump destination search is unsuccessful – but is continued with the
program line following the GOTOC command.
Jump destination parameter
Possible data include:
<jump marker>:
<block number>:
STRING type
variable:
Keyword to formulate the jump condition.
The jump condition permits all comparison and logical operations
(result: TRUE or FALSE). The program jump is executed if the result of
this operation is TRUE.
Jump destination is the jump marker (label) set
in the program with a user-defined name:
<jump marker>:
Jump destination is main block or sub-block
number (e.g.: 200, N300)
Variable jump destination. The variable stands
for a jump marker or a block number.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents