Detailed Description
2.11 Subroutine call with M, T, and D functions
Conflict resolution in case of multiple replacements with the same name
The following table provides information on how conflicts are resolved if all three
replacement subroutines have been configured with different names.
Replacement
For Address D and DL:
For Address T:
For M function
Parameterization
The following are programmed in one part
program line
D and/or DL
–
–
–
X
X
X
X
Note
Configuration of MD10718 $MN_M_NO_FCT_CYCLE_PAR:
The configuration of a replacement subroutine for the tool change with M code is dependent
on whether the tool change with M code was actually configured with
MD22550 $MC_TOOL_CHANGE_MODE.
2-156
Configuration of replacement subroutines
MD11717 $MN_FCT_CYCLE_NAME = "D_SUB_PROG"
MD10717 $MN_FCT_CYCLE_NAME = "T_SUB_PROG"
For the call of the tool change program
MD10716 $MN_M_NO_FCT_CYCLE_NAME[0] = "M6_SUB_PROG"
MD10715 $MN_M_NO_FCT_CYCLE[0] = 6
MD10718 $MN_M_NO_FCT_CYCLE_PAR = 0
MD22550 $MC_TOOL_CHANGE_MODE = 1
MD22560 $MC_TOOL_CHANGE_M_CODE = 206
T
M6
–
X
X
X
X
X
–
–
–
X
X
–
X
X
Called replacement subroutine
M6_SUB_PROG
T_SUB_PROG
M6_SUB_PROG
D_SUB_PROG
M6_SUB_PROG
T_SUB_PROG
M6_SUB_PROG
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0