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
175
Replacement of spindle-related NC language commands
In case of active synchronous spindle coupling, the following machine data
$MD30465 $MA_AXIS_LANG_SUB_MASK (substitution of NC language commands)
can be used to replace the following spindle-related functions:
•
Direct gear stage change with M41 to M45 and automatic gear stage change during
speed programming (M40).
•
Spindle positioning with
SPOS
,
SPOSA
and M19.
The name and the call pathname of the user program of the spindle-related replacement can
be configured through the following machine data:
Machine data
Significance
MD15700 $MN_LANG_SUB_NAME Name of the subroutine which is called on the basis of a
replacement configured with MD30465
$MA_AXIS_LANG_SUB_MASK.
MD15702 $MN_LANG_SUB_PATH
Path with which the subroutine is called through MD15700
$MN_LANG_SUB_NAME. The following are possible:
MD15702 = 0: /_N_CMA_DIR (default value)
MD15702 = 1: /_N_CUS_DIR
MD15702 = 2: /_N_CST_DIR
Call time of the replacement subroutine
While replacing the tool programming, the call time of the replacement subroutine depends
on the set Bit 1 and Bit 2 of machine data MD10719 $MN_D_NO_FCT_CYCLE_MODE.
Note
The M, T and D/DL values transferred to the replacement subroutine have not yet been
executed and must be reprogrammed in this subroutine.
The call time during programmed gear stage change with M41 to M45 and during spindle
positioning with M19 depends on the output response of this auxiliary function to the PLC. Th
is response is set through MD22080 $MC_AUXFU_PREDEF_SPEC[ ]. While replacing the
automatic gear stage change as well as in
SPOS
and
SPOSA
, the call always takes place at
the block start.
The
$P_SUB_STAT
system variable can be used to define the time (block start / block end)
when a replacement operation is executed.
$P_SUB_STAT
delivers for
•
Value 0: Replacement subroutine is not active
•
Value 1: Replacement subroutine is active, call at block start
•
Value 2: Replacement subroutine is active, call at block end
For more on call time, please refer to the Chapters entitled "Replacement of tool
programming" and "Spindle-related replacements in active synchronous coupling".
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...