EasyManuals Logo

Siemens MCP 398C Function Manual

Siemens MCP 398C
2184 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #755 background imageLoading...
Page #755 background image
Detailed description
2.11 Subroutine call through NC language replacement
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
197
N2410 ELSE
N2420
;
Query next replacement
...
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
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".
2. Transfer of the required data in replacement subroutine
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.
3. Disengage coupling, gear stage change of the spindles 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.
4. Close the coupling again and continue the part program
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.

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals