Siemens sinumerik 840D sl Function Manual page 834

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

Advertisement

Start
• Compiled cycle: A compiled cycle is called in exactly the same way as a normal
• Preprocessing is activated: The compiled cycle is called instead of the ASCII cycle.
• If a subroutine is called without explicit extension, an attempt is first made to load the
• The change to an external language mode with G291 is rejected and an alarm issued.
• When the subroutine is called, it is checked whether the compiled file is older than the
The current program display shows whether the current ASCII cycle or the compilation has
been called (extension _SPF or _CYC).
Call condition
All cycles in the cycle directories must be compiled before preprocessing is activated. Non-
compiled cycles in _N_CUS_DIR and _N_CST_DIR which were loaded after POWER ON, for
example, can only be called through explicit specification of extension _SPF.
If preprocessing is active and bit 5 is set, all programs that do not start with the PREPRO
PROC instruction are not precompiled.
Special functions: Preprocessing (V2)
Function Manual, 11/2006, 6FC5397-2BP10-2BA0
subroutine.
Example: CYCLE
– If the subroutine is called explicitly with extension _SPF, then the ASCII cycle is called
even if a compilation is available.
Example: CYCLE_SPF; ASCII cycle call
– If the subroutine is called explicitly with extension _CYC, then the preprocessed cycle
is called if available. An error message is output if no compilation is available.
Example: CYCLE_CYC; Preprocessed cycle call
– If bit 5 is set and a file that is not marked with PREPRO is called explicitly with the
extension _CYC, an error message is issued with Alarm 14011.
program. If this is not possible (not marked with PREPRO), an attempt is made to load the
SPF program.
When the pre-compiled cycle is called, an explicit change is made to the Siemens
language mode.
cycle. If so, the compile file is deleted and an alarm issued. The user must preprocess the
cycles again.
Note
Only cycles without parameters may be called with the extension _SPF or _CYC.
Do not use PUDs in cycles that are preprocessed. The PUDs are created in the calling
main program. At the time of compilation after POWER ON, this data is not known to the
cycles.
Detailed description
2.3 Program call
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents