Siemens SINUMERIK 840D sl Function Manual page 743

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

2.11.3.4
Example of M/T function replacement for tool change
Configuration example of call of subroutine SUB_M6 through M6 with parameter transfer
MD10715 $MN_M_NO_FCT_CYCLE[2] = 6
MD10716 $MN_M_NO_FCT_CYCLE_NAME[2] = "SUB_M6"
MD10718 $MN_M_NO_FCT_CYCLE_PAR = 2
Program example of tool change with M function replacement
PROC MAIN
...
N10 T1 D1 M6
...
N90 M30
PROC SUB_M6
N110 IF $C_T_PROG == TRUE
N120
N130 ENDIF
N140 M[$C_ME] = 6
N150 IF $C_D_PROG == TRUE
N160
N170 ENDIF
N190 M17
Replacement of T address and D or DL addresses at block start
Example
• Tool change occurs with address T (thus without M code).
• Tool management not active.
• B axis as indexing axis with Hirth tooth system.
Configuration of machine data:
MD11717 $MN_D_NO_FCT_CYCLE_NAME = "D_T_SUB_PROG"
(UP-Name for D function replacement); D-replacement cycle
MD10717 $MN_T_NO_FCT_CYCLE_NAME = "D_T_SUB_PROG"
(Name of tool change for T function replacement); T replacement cycle
MD10719 $MN_T_NO_FCT_CYCLE_MODE = 'H2' (call at block start)
MD22550 $MC_TOOL_CHANGE_MODE = 0 (tool change with T function)
Basic logic functions: Mode group, channel, program operation, reset response (K1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
T[$C_TE] = $C_T
D = $C_D
2.11 Subroutine call through NC language replacement
; Scan whether address T has been programmed
; Execute T selection
; Execute tool change
; Scan whether address D has been programmed
; Execute D selection
Detailed description
185

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents