Siemens SINUMERIK 840Di Function Manual page 686

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.11 Subroutine call with M, T, and D functions
MD10719 Bit0
0
1
*Tool change with M function is configured with
MD22550 $MC_TOOL_CHANGE_MODE = 1.
Example of T function replacement for tool change
Behavior same as before:
Tool change with M6 not active:
MD22550 $MC_TOOL_CHANGE_MODE = 0
MD10719 $MN_T_NO_FCT_CYCLE_MODE = 0
MD10717 $MN_T_NO_FCT_CYCLE_NAME = "MY_T_CYCLE" ; T replacement cycle
N110 D1
N120 G90 G0 X100 Y100 Z50
N130 D2 X110 Z0 T5
A comprehensive example for M/T function replacement with tool change including the
associated replacement subroutines can be found at the end of the next section.
2.11.3.2
M function replacement for tool change
Calling a tool change program with M function
The following machine data are used to configure M function replacement for calling the tool
change program:
• 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)
• MD10718 $MN_M_NO_FCT_CYCLE_PAR (M function replacement with parameters)
The information required for the tool offset or tool offset selection is passed to the subroutine
via a system variable.
2-150
Transfer to the replacement subroutine
D or DL number is transferred to the cycle via a system variable
(default value)
D or DL number is calculated directly in the block. This function is active only if the
tool change has been configured with M function, otherwise the D or DL values are
always transferred. *
;
; D1 is active
; D1 remains active, programmed D2 is provided to
the T replacement cycle as a variable
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents