Subprograms With Save Attribute (Save) - Siemens SINUMERIK 828D Function Manual

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

Advertisement

10.5.9

Subprograms with SAVE attribute (SAVE)

For various frames, the behavior regarding subprograms can be set using the SAVE attribute.
Settable frames G54 to G599
The behavior of the adjustable frames can be set using MD10617 $MN_FRAME_SAVE_MASK.BIT0 :
BIT0 = 0
Using the subprogram, if only the values of the active adjustable frame are changed using the system variable
$P_IFRAME, but the G functions are kept, then the change is also kept after the end of the subprogram.
BIT0 = 1
With the end of the subprogram, the adjustable frame, G function and values, active before the subprogram
call, are reactivated.
Basic frames $P_CHBFR[ ] and $P_NCBFR[ ]
The behavior of the basic frame can be set using MD10617 $MN_FRAME_SAVE_MASK.BIT1:
BIT1 = 0
If the active basic frame is changed by the subprogram, the change remains effective even after the end of
the subprogram.
BIT1 = 1
With the end of the subprogram the basic frame which is active before the subroutine call is reactivated.
Programmable frame
With the end of the subprogram the programmable frame active before the subroutine call is reactivated.
System frames
If the system frames are changed by the subprogram, the change remains effective even after the end of the
subprogram.
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
K2: Axis Types, Coordinate Systems, Frames
10.5  Frames 
793

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents