Search Path - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Division of program levels:
● Program level 0: Main program level
● Program level 1 to 15: Subprogram level 1 to 15
Interrupt routines (ASUB)
If a subprogram is called in the context of an interrupt routine, this will not be executed at the
program level currently active in the channel (n) but at the next lowest program level (n+1).
So that this remains possible even at the lowest program level, 2 additional program levels
(16 and 17) are available in conjunction with interrupt routines.
If more than 2 program levels are required, this has to be taken into account explicitly in the
structuring of the part program executed in the channel. In other words, only a maximum of
as many program levels may be used in order to leave sufficient program levels available for
interrupt processing.
If interrupt processing needs 4 program levels for example, the part program must be
structured so that it uses a maximum of up to program level 13. In the event of an interrupt,
the 4 program levels it requires (14 to 17) will be available to it.
Siemens cycles
Siemens cycles need 3 program levels. Therefore, a Siemens cycle must be called at the
latest in:
● Part program processing: program level 12
● interrupt routine: program level 14
1.24.1.4

Search path

When a subprogram is called without a path being specified, the control will search the
following directories in the sequence indicated:
Sequence
1.
2.
Job Planning
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Directory
Current directory
/_N_SPF_DIR /
Flexible NC programming
1.24 Subprogram technique
...
...
Description
Directory containing the calling program
Global subprogram directory
157

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents