Siemens SINUMERIK 828D Function Manual page 638

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
MD10718 $MC_ M_NO_FCT_CYCLE_PAR = <Index>
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>
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.
Machine data
MD10714 $MN_M_NO_FCT_EOP
MD10804 $MN_EXTERN_CHAN_M_NO_SET_INT
MD10806 $MN_EXTERN_CHAN_M_NO_DISABLE_INT
MD10814 $MN_EXTERN_M_NO_MAC_CYCLE
MD20094 $MC_SPIND_RIGID_TAPPING_M_NR
638
Meaning
M function for spindle active after
RESET
M function for ASUB activation
(external mode)
M function for ASUB deactivation
(external mode)
Macro call via M function
M function for switchover to controlled
axis mode
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents