Siemens SINUMERIK 840D sl Function Manual page 757

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

Advertisement

2.11.5
Properties of replacement subroutines
General rules for replacement subroutines
• Like any other subroutine, a replacement subroutine can contain a PROC statement.
• If the replacement subroutine is called from the ISO dialect mode, then an implicit
• No transfer parameters can be defined. The transfer of data to the replacement
• The PROC statement enables program attributes such as SBLOF and DISPLOF to be
• The replacement subroutine behaves like any other subroutine with respect to SBLOF in
• If the replacement cycle has the DISPLOF attribute, the program line that has resulted in
• With DELAYFSTON and DELAYFSTOF, areas or even the entire replacement cycle can
• Replacements do not occur recursively, i.e., the function that has led to the replacement
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
switchover to the standard language mode takes place on processing the replacement
subroutine.
subroutine always occurs via a system variable.
programmed.
active single block mode:
– Return jump with M17: Stop at end of subroutine
Note: An output of the M Function to the PLC takes place on the basis of MD20800
$MC_SPF_END_TO_VDI
(subroutine end at the PLC) Bit0.
– Return jump with RET: No stop at end of subroutine
the replacement cycle call is displayed as the current block in the block display.
be protected against interruptions such as NC Stop, read-in disable, etc.
Reference: /PGA/ Programming Manual; "Conditionally interruptible program sections".
subroutine call is no longer replaced if it is programmed again in the replacement
subroutine.
Note
The following applies in general to replacements
In the case of replacements that are called due to programmed auxiliary functions, the
replacement subroutine call does not result in any output of the auxiliary function to the
PLC. The auxiliary function is only output if it is programmed again in the replacement
cycle.
The replacements are active even in the ISO dialect mode
Replacement subroutines are basically executed in the Siemens Standard Mode. A
replacement subroutine called in the ISO Dialect Mode is reset to the original language
mode.
2.11 Subroutine call through NC language replacement
Detailed description
199

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents