Flexible NC programming
1.25 Subprogram technique
Job planning
176 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Return jump parameter 3
Specifies the number of levels that must be jumped back
in order to reach the program level in which program
execution should be continued.
Type: INT
1 The program is resumed at the "current
program level - 1" (like
RET without
parameter).
2 The program is resumed at the "current
program level - 2", i.e. one level is
skipped.
3 The program is resumed at the "current
program level - 3", i.e. two levels are
skipped.
Value:
...
<number of
return jump levels>
:
Value
range:
1 ... 15
Return jump parameter 4
Type: BOOL
<return jump to the
beginning of the program>
:
Value: 1 If the return jump is made into the main
program and an ISO dialect mode is
active there, then the program branches
to the beginning of the program.
Note
For a subprogram return jump with a character string to specify the destination block search,
initially, a search is always made for a jump marker in the calling program.
If a jump destination is to be uniquely defined using a character string, it is not permissible
that the character string matches the name of a jump marker, as otherwise the subprogram
return jump would always be made to the jump marker and not to the character string (refer
to example 2).