K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
638
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
• MD10718 $MC_ M_NO_FCT_CYCLE_PAR = <Index>
Programming
Rules for replacing M functions:
• The replacement subprogram is called at the block end
• Within the replacement subprogram, no M functions are replaced
• In an ASUB, the M function is also replaced if the ASUB was started within the replacement subprogram.
M functions that cannot be replaced
The following M functions trigger system functions as pre-defined auxiliary functions and must not be replaced by
a subprogram:
• M0, ... M5
• M17, M30,
• M19
• M40, ... M45
• M98, M99 (only for MD18800 $MN_MM_EXTERN_LANGUAGE ≠ 0)
User-specific M functions parameterized via machine data must also not be replaced by a subprogram as they
also trigger system functions.
Note
For an M function replacement with transfer of information via system variable, the
address extension and function value of the M function must be programmed as constant
values.
Permissible programming:
•
M<function value>
•
M=<function value>
•
M[<address extension>]=<function value>
Illegal programming:
•
M=<variable1>
•
M[<variable2>]=<variable1>
Machine data
Meaning
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
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...