Siemens SINUMERIK 840D sl Function Manual page 762

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

Advertisement

V2: Preprocessing
22.2 Program handling
Compiling
In the directories for standard cycles: _N_CST_DIR, _N_CMA_DIR and user cycles:
Subprograms (_SPF file extension) located in _N_CUS_DIR, and, if necessary, the
subprograms marked with PREPRO are compiled. The name of the compilation corresponds
to the original cycle with extension _CYC.
Note
Program changes to precompiled programs do not take effect until the next POWER ON.
Access rights
The preprocessed program can only be executed, but not read or written. The compilation
cannot be modified or archived. The original cycles _SPF files are not deleted.
The compilation is not changed when the ASCII cycle is altered, i.e. changes do not take effect
until after the next POWER ON.
Memory requirements
The memory requirement for compiled cycles is approximately factor 2 in addition to the ASCII
part program.
The memory requirements for variables defined in the part programs are defined by the
following machine data:
MD28020 $MC_MM_NUM_LUD_NAMES_TOTAL (number of local user variables)
MD28010 $MC_MM_NUM_REORG_LUD_MODULES (number of modules for local user
variables with REORG)
MD28040 $MC_MM_LUD_VALUES_MEM (memory size for local user variables)
MD18242 $MC_MM_MAX_SIZE_OF_LUD_VALUE (memory block size for LUD/GUD
values)
References:
Function Manual, Extended Functions; Memory Configuration (S7)
While preprocessing is in progress, the amount of memory required is the same as if the
preprocessed program were called on the first subprogram level.
When programs are preprocessed after POWER ON, a name is counted for each branch
destination/label as if it were a variable. These names must be taken into account in the
following machine data:
MD28020 $MC_MM_NUM_LUD_NAMES_TOTAL (number of local user variables)
Example:
Program code
PROC NAMES
DEF INT VARIABLE, ARRAY[2]
START:
FOR VARIABLE = 1 TO 9
762
Comment
; 1 name
; 2 names
; 1 name, only for preprocessing
; 1 name, only for preprocessing
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Special functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents