Save Modal G Functions (Save) - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

1.25.2.4

Save modal G functions (SAVE)

Function
The
saved and are re-activated after the end of the subprogram.
CAUTION
Interrupt continuous-path mode
If, for active continuous-path mode, a sub-program is called with the
continuous-path mode is interrupted at the end of the sub-program (return jump).
Syntax
PROC <subprogram name> SAVE
Meaning
SAVE
Example
The modal G function
dimension). The modal G function
G90
subprogram definition with
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...
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
attribute means that before the subprogram call, active modal G functions are
SAVE
:
Saves the modal G functions before the subprogram call and restores after the
end of the subprogram.
is effective in the CONTOUR subprogram (incremental
G91
is again effective in the main program after the end of the subprogram due to the
is effective in the main program (absolute dimension).
G90
.
SAVE
Comment
; Subprogram definition with the SAVE
parameter
; Modal G function G91: Incremental dimension
; Subprogram end
Comment
; Modal G function G90: Absolute dimensions
; Subprogram call
; Modal G function G90 reactivated using SAVE
Flexible NC programming
1.25 Subprogram technique
attribute, the
SAVE
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents