Program Jumps To Jump Markers (Gotob, Gotof, Goto, Gotoc) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Meaning
GOTOS
Supplementary conditions
● For a subprogram with data definitions (LUD variables) with the
● The
Example
Program code
N10 ...
...
N90 GOTOS
...
1.10.2

Program jumps to jump markers (GOTOB, GOTOF, GOTO, GOTOC)

Function
Jump markers (labels) can be set in a program, that can be jumped to from another location
within the same program using the commands
execution is resumed with the instruction that immediately follows the destination marker.
This means that branches can be realized within the program.
In addition to jump markers, main and sub-block numbers are possible as jump designation.
If a jump condition (
only executed if the jump condition is fulfilled.
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
:
Jump instruction where the destination is the beginning of the program.
The execution is controlled via the NC/PLC interface signal:
DB21, to DBX384.0 (control program branching)
Value:
Meaning:
0
No return jump to the beginning of the program. Program execution
is resumed with the next part program block after
1
Return jump to the beginning of the program. The part program is
repeated.
internally initiates a
GOTOS
the first program block after the definition section, i.e. data definitions are not executed
again. This is the reason that the defined variables retain the value reached in the
block and are not reset to the standard values programmed in the definition section.
command is not available in synchronized actions and technology cycles.
GOTOS
IF ...
(pre-processing stop).
STOPRE
Comment
; Beginning of the program
; Jump to beginning of the program
GOTOF
) is formulated before the jump instruction, the program jump is
Flexible NC programming
1.10 Program jumps and branches
GOTOS
a jump is made to
GOTOS
,
,
or
. Program
GOTOB
GOTO
GOTOC
.
GOTOS
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents