Flexible NC programming
1.25 Subprogram technique
Job planning
162 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
General conditions
Frames
The behavior of frames regarding subprograms with the
SAVE attribute depends on the frame
time and can be set using machine data.
References
Function Manual, Basic Functions; Axes, Coordinate Systems, Frames (K2),
Chapter: "Subprogram return with SAVE"
1.25.2.5 Suppress single block execution (SBLOF, SBLON)
Function
Single block suppression for the complete program
Programs designated with
SBLOF are completely executed just like a block when single block
execution is active, i.e. single block execution is suppressed for the complete program.
SBLOF is in the PROC line and is valid up to the end of the subprogram or until it is interrupted.
At the return command, the decision is made whether to stop at the end of the subprogram:
Return jump with M17: Stop at the end of the subprogram
Return jump with
RET: No stop at end of subprogram
Single block suppression within the program
SBLOF alone must remain in the block. Single block is deactivated after this block until:
● To the next
SBLON
or
● To the end of the active subprogram level
Syntax
Single block suppression for the complete program:
PROC ... SBLOF
Single block suppression within the program:
SBLOF
...
SBLON