Example: Replacement Of A T And D Function - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

9.17.2.5

Example: Replacement of a T and D function

The functions T and D are replaced by calling the subprogram "D_T_SUB_PROG". The
following should also be true for the example:
● The tool change is realized with address T.
● The subprogram is called at the start of the block.
● The tool management is not active.
● Axis B is an indexing axis with Hirth gearing.
Parameterization
Machine data
MD11717 $MN_D_NO_FCT_CYCLE_NAME = "D_T_SUB_PROG"
MD10717 $MN_T_NO_FCT_CYCLE_NAME = "D_T_SUB_PROG"
MD10719 $MN_T_NO_FCT_CYCLE_MODE = 'H2'
MD22550 $MC_TOOL_CHANGE_MODE = 0
Main program
Programming
PROC MAIN
...
N10 G01 F1000 X10 T1=5 D1
...
N90 M30
Subprogram "D_T_SUB_PROG"
Programming
N1000 PROC D_T_SUB_PROG DISPLOF SBLOF
N4100 IF $C_T_PROG==TRUE
N4120
N4130
N4140 ENDIF
N4300 IF $C_T_PROG==TRUE
N4320
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
POS[B]=CAC($C_T)
T[$C_TE]=$C_T
D=$C_D
9.17 Replacing functions by subprograms
Comment
;
;
T and D function replaced by calling
;
"D_T_SUB_PROG" at start of block
;
Comment
; IF address T is programmed
;
Approach the indexing position
;
Select tool (T selection)
; ENDIF
; IF address D is programmed
;
Select offset (D selection)
Meaning
Replacement subpro‐
gram
for D function
Replacement subpro‐
gram
for M function
Call at block start
Tool change with T
function
627

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents