K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
647
9.15.2.6
Behavior in the event of a conflict
Conflict case
A conflict is present if several functions are programmed in one block and the functions should be replaced with
different subprograms:
• Addresses D and DL replaced with subprogram:
MD11717 $MN_FCT_CYCLE_NAME = "D_SUB_PROG"
• Address T replaced with subprogram:
MD10717 $MN_FCT_CYCLE_NAME = "T_SUB_PROG"
• M function M6 replaced with subprogram:
MD10715 $MN_M_NO_FCT_CYCLE[0] = 6
MD10716 $MN_M_NO_FCT_CYCLE_NAME[0] = "M6_SUB_PROG"
MD10718 $MN_M_NO_FCT_CYCLE_PAR = 0
MD22550 $MC_TOOL_CHANGE_MODE = 1
MD22560 $MC_TOOL_CHANGE_M_CODE = 6
Resolution
A conflict is resolved corresponding to the following table:
The following are programmed in one program line:
Called subprogram:
D and/or DL
T or TCA
M6
–
–
x
M6_SUB_PROG
–
x
–
T_SUB_PROG
–
x
x
M6_SUB_PROG
x
–
–
D_SUB_PROG
x
–
x
M6_SUB_PROG
x
x
–
T_SUB_PROG
x
x
x
M6_SUB_PROG