Detailed description
2.6 Block search Type 5 SERUPRO
Basic logic functions: Mode group, channel, program operation, reset response (K1)
74
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
In addition, machine data setting
MD18080 $MA_TOOL_MANAGEMENT_MASK Bit 11 = 1 is required because the ASUB
may have to repeat a T selection.
Systems with tool management and auxiliary spindle are not supported by SERUPRO!
Example
Tool change subroutine
PROC L6
;
Tool change routine
N500 DEF INT TNR_AKTUELL
;
Variable for active T number
N510 DEF INT TNR_VORWAHL
;
Variable for preselected T
number
;
Determine current tool
N520 STOPRE
;
In program testing
N530 IF $P_ISTEST
;
from the program context
N540 TNR_AKTUELL = $P_TOOLNO
;
the "current" tool is read.
N550 ELSE
;
Otherwise, the tool of the
spindle is read out.
N560 TNR_AKTUELL = $TC_MPP6[9998,1]
;
Read tool T number on the
spindle
N570 ENDIF
N580 GETSELT(TNR_VORWAHL)
;
Read T number of preselected
tool of the master spindle.
Execute tool change only if
tool not yet current.
N590 IF TNR_AKTUELL <> TNR_VORWAHL
;
Approach tool change position
N600 G0 G40 G60 G90 SUPA X450 Y300 Z300 D0
N610 M206
;
Execute tool change
N620 ENDIF
N630 M17
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...