Detailed description
2.11 Subroutine call through NC language replacement
Basic logic functions: Mode group, channel, program operation, reset response (K1)
178
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.11.3
Replacement of tool programming
2.11.3.1
T- and D/DL function replacement
Subroutine call via T function and D or DL function
Note
The subroutine call via T function is referred to hereinafter as T function replacement, and
the subroutine call via D or DL function is referred to hereinafter as
D function replacement.
Call rules
If a T function is programmed in a part program block, a machine data can be used to
specify that the subroutine defined in
MD10717 $MN_T_NO_FCT_CYCLE_NAME[n] (name of the tool replacement for T function
replacement) is called at the start or end of the block. Similarly, a replacement subroutine for
the addresses D or DL can be defined with the MD11717
$MN_D_NO_FCT_CYCLE_NAME[n] (UP-name for T function replacement).
The call timing for T and D or DL function replacement can be set with the MD10719
$MN_D_NO_FCT_CYCLE_MODE Bit 1 and Bit 2
(parameterization of T function replacement).
Assigning subroutines
The machine data
•
MD10717 $MN_T_NO_FCT_CYCLE_NAME is used to assign a subroutine to the T
command
•
MD11717 $MN_D_NO_FCT_CYCLE_NAME is used
to assign a subroutine to the D and DL command. The same subroutine should be
configured for the T and D replacement. The corresponding values are not output, the T-
word and the D or DL word must be programmed again in the cycle.
Boundary condition
The subroutine configured with MD10716 $MN_M_NO_FCT_CYCLE_NAME[n] and with
MD10717 $MN_T_NO_FCT_CYCLE_NAME or MD11717 $MN_D_NO_FCT_CYCLE_NAME
cannot take effect simultaneously in a block (part program line), i.e. no more than one D, T,
or M function replacement (or generally just one subroutine call) may be executed per block.
Conflicts with other subroutine calls are signaled by alarm 14016.
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 ...