Siemens SINUMERIK 840D sl Function Manual page 755

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

Advertisement

N2410 ELSE
N2420
...
N3300 ENDIF
...
N9999 RET
LABEL_ERR: SETAL(61000)
2.11.4.4
Sequence of replacement subroutines from the interpretation time
Call of spindle-related replacements at block start and block end
if a spindle-related replacement function is determined in an active synchronous spindle
coupling by the leading spindle in the part program, then a replacement subroutine is called.
A gear stage change or a spindle positioning is carried out after the following sequence,
depending on the determined replacement type.
Sequence of a replacement program for a gear stage change at block start
The leading spindle is located in an active synchronous spindle coupling and an automatic
(M40 S...) or a gear stage change programmed with M41 to M45 is determined during the
interpretation of a part program line.
1. Call replacement subroutine
2. Transfer of the required data in replacement subroutine
3. Disengage coupling, gear stage change of the spindles involved in the coupling
4. Close the coupling again and continue the part program
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
The replacement subroutine set using
MD15702 $MN_LANG_SUB_PATH (call path)
MD15700 $MN_LANG_SUB_NAME is called.
The system variables $P_SUB_AXFCT delivers 1 for gear stage change. $P_SUB_STAT
also delivers the value 1 for "replacement subroutine is active, call at block start".
The programmed gear stage M41 to M45 or the calculated gear stage in the replacement
subroutine is queried during automatic gear stage change (M40 S...) in the replacement
subroutine with $P_SUB_GEAR . $P_SUB_LA delivers the axis identifier of the leading
spindle and $P_SUB_CA delivers the axis identifier of the first following spindle involved
in the coupling.
The coupling is deactivated in the replacement subroutine with the help of this information
and the gear stage change of the leading and following spindles involved in the coupling
are executed separately.
The coupling is then closed again.
After the replacement subroutine has been executed, the part program line that controlled
the call of the subroutine is interpreted. Thus, the S value that lead to calling the
replacement subroutine during automatic gear stage change is now active too. In this
case, the automatic gear stage change M40 too is restored again. The gear stage
request M41-M45 is no longer processed.
2.11 Subroutine call through NC language replacement
; Query next replacement
Detailed description
197

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