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".
Содержание SINUMERIK 840D sl
Страница 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 286: ...Table of contents Basic logic functions Diagnostic tools D1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 328: ...Constraints Basic logic functions Diagnostic tools D1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 330: ...Examples Basic logic functions Diagnostic tools D1 48 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 340: ...Table of contents Basic logic functions Travel to fixed stop F1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 342: ...Brief Description Basic logic functions Travel to fixed stop F1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 382: ...Supplementary conditions Basic logic functions Travel to fixed stop F1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Страница 790: ...Table of contents Basic logic functions Axes coordinate systems frames K2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 946: ...Table of contents Basic logic functions Emergency Stop N2 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 948: ...Brief Description Basic logic functions Emergency Stop N2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 956: ...Restrictions Basic logic functions Emergency Stop N2 14 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 958: ...Examples Basic logic functions Emergency Stop N2 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 966: ...Table of contents Basic logic functions Transverse axes P1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 978: ...Supplementary conditions Basic logic functions Transverse axes P1 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 980: ...Examples Basic logic functions Transverse axes P1 18 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 982: ...Data lists 5 1 Machine data Basic logic functions Transverse axes P1 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 984: ...Index Basic logic functions Transverse axes P1 22 Function Manual 11 2006 6FC5397 0BP10 2BA0 Work offset external 13 ...
Страница 990: ...Table of contents Basic logic functions PLC Basic program powerline P3 pl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1268: ...Supplementary conditions Basic logic functions PLC Basic program powerline P3 pl 284 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1270: ...Examples Basic logic functions PLC Basic program powerline P3 pl 286 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1280: ...Table of contents Basic logic functions PLC basic program solution line P3 sl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1542: ...Examples Basic logic functions PLC basic program solution line P3 sl 268 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1604: ...Examples Basic logic functions Reference Point Approach R1 58 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1616: ...Brief Description Basic logic functions Spindles S1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1703: ...Basic logic functions Spindles S1 Function Manual 11 2006 6FC5397 0BP10 2BA0 93 Constraints 3 No supplementary conditions apply ...
Страница 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1776: ...Detailed description 2 3 Feedrate control Basic logic functions Feeds V1 60 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1786: ...Data lists 5 3 Signals Basic logic functions Feeds V1 70 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1794: ...Table of contents Basic logic functions Tool Offset W1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1798: ...Short description Basic logic functions Tool Offset W1 10 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1992: ...Data lists 5 3 Signals Basic logic functions Tool Offset W1 204 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2002: ...Brief description Basic logic functions NC PLC interface signals Z1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...