K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
639
9.15.2.2
Replacing T/TCA and D/DL functions
Boundary conditions
For replacing functions T, TCA, D and DL, the following supplementary conditions apply:
• A maximum of one function replacement is active per block.
• A block with the function replacement must not contain the following elements:
-
M98
- Modal subroutine call
- Subprogram return
- Part program end
Parameterization: Replacement subprogram
The replacement subprogram is specified function-specific in the machine data:
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR
M function for switchover to controlled
axis mode (external mode)
MD22254 $MC_AUXFU_ASSOC_M0_VALUE
Additional M function for program stop
MD22256 $MC_AUXFU_ASSOC_M1_VALUE
Additional M function for conditional
stop
MD26008 $MC_NIBBLE_PUNCH_CODE
Definition of M functions (for nibble-
specific)
MD26012 $MC_PUNCHNIB_ACTIVATION
Activation of punching and nibbling
functions
Note
Exception
The M function parameterized using machine data
MD22560 $MC_TOOL_CHANGE_M_CODE (Tool change with M Function)
may be replaced by a subroutine.
Function
Machine data
T
MD10717 $MN_T_NO_FCT_CYCLE_NAME
TCA
MD15710 $MN_TCA_CYCLE_NAME
D/DL
MD11717 $MN_D_NO_FCT_CYCLE_NAME
Note
It is recommended that the same subprogram is used to replace T, TCA and D/DL functions.
Machine data
Meaning