Detailed Description
2.11 Subroutine call with M, T, and D functions
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-145
The following machine data can be used to configure subroutine calls with M, T, and
D auxiliary functions:
Machine data Meaning
MD10715 $MN_M_NO_FCT_CYCLE M function to be replaced by a subroutine
MD10716 $MN_M_NO_FCT_CYCLE_NAME Name of subroutine for M function
MD10717 $MN_T_NO_FCT_CYCLE_NAME Name of subroutine for T function
MD10718 $MN_M_NO_FCT_CYCLE_PAR M function replacement with parameters
MD10719 $MN_T_NO_FCT_CYCLE_MODE Parameter assignment of T function replacement
MD11717 $MN_D_NO_FCT_CYCLE_NAME Name of subroutine for D function
Note
The functions described above are also effective in ISO dialect mode.
Block search response
During block search with calculation and SERUPRO, subroutine calls with M, T and
D functions are executed in the same way as in normal program operation.
M functions that cannot be configured
M functions with a fixed meaning must not be used to call subroutines. The following
M functions have standard predetermined meaning:
M function Comments
M0 to M5, M17, M30, M19, M40 to M45 - - -
M98, M99 With activated external NC language:
MD18800 $MN_MM_EXTERN_LANGUAGE == TRUE
M functions can be defined for specific tasks using the following machine data. Through this,
they receive a fixed meaning and, therefore, must not be used to call subroutines:
Machine data Specific tasks
MD10714 $MN_M_NO_FCT_EOP M function for spindle active after RESET
MD10804 $MN_EXTERN_CHAN_M_NO_SET_INT M function for ASUB activation (external mode)
MD10806 $MN_EXTERN_CHAN_M_NO_DISABLE_INT M function for ASUB deactivation (external mode)
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE Macro call via M function
MD20094 $MC_SPIND_RIGID_TAPPING_M_NR M function for switchover to controlled axis mode
MD20095 $MC_EXTERN_RIGID_TAPPING_M_NR M function for switchover to controlled axis mode (external
mode)