Suppress Single Block Execution (Sblof, Sblon) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Meaning
SAVE:
Example
In the CONTOUR subroutine, the modal G command G91 applies (incremental dimension).
The modal G command G90 is effective in the main program (absolute dimension). G90 is
again effective in the main program after the end of the subprogram as a result of the
subprogram definition with SAVE.
Subprogram definition:
Program code
PROC CONTOUR (REAL VALUE1) SAVE
N10 G91 ...
N100 M17
Main program:
Program code
N10 G0 X... Y... G90
N20 ...
...
N50 CONTOUR (12.4)
N60 X... Y...
Supplementary conditions
Frames
The behavior of frames regarding subprograms with the SAVE attribute depends on the frame
time and can be set using machine data.
3.2.2.5

Suppress single block execution (SBLOF, SBLON)

Even with active single block machining, the user can completely or partly process an NC
program without interruption. Single block machining is suppressed via the SBLOF command,
and reactivated via the SBLON command.
Suppressing single block machining for the complete NC program
If the deactivation of single block machining (SBLOF) is programmed in the first line (PROC ...)
of a main program, this remains valid until the end of the NC program or until the NC program
is canceled. The NC program is then executed without stopping when in the single block mode.
If deactivating single block machining (SBLOF) is programmed in the first line (PROC ...) of a
subprogram, this remains valid until the end of the NC program or until the NC program is
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Saves the modal G commands before the subprogram call and restores after the end of
the subprogram.
Comment
; Subprogram definition with the SAVE parame-
ter
; Modal G command G91: Incremental dimension
; End of subprogram
Comment
; Modal G command G90: Absolute dimensions
;Subprogram call
; Modal G command G90 reactivated using SAVE
Work preparation
3.2 Subprogram technique
501

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents