EasyManuals Logo

Siemens SINUMERIK 840D sl Programming Manual

Siemens SINUMERIK 840D sl
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #501 background imageLoading...
Page #501 background image
Meaning
SAVE: Saves the modal G commands before the subprogram call and restores after the end of
the subprogram.
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 Comment
PROC CONTOUR (REAL VALUE1) SAVE ; Subprogram definition with the SAVE parame-
ter
N10 G91 ... ; Modal G command G91: Incremental dimension
N100 M17 ; End of subprogram
Main program:
Program code Comment
N10 G0 X... Y... G90 ; Modal G command G90: Absolute dimensions
N20 ...
...
N50 CONTOUR (12.4) ;Subprogram call
N60 X... Y... ; Modal G command G90 reactivated using SAVE
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
Work preparation
3.2 Subprogram technique
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 501

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D sl and is the answer not in the manual?

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals