K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
644
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example 2
The new tool is prepared for changing with the T function. The tool change is only realized with function M6. The
T function is replaced by calling the subprogram "MY_T_CYCLE". The D / DL number is transferred to the
subprogram.
Parameterization
Main program
Example 3
The new tool is prepared for changing with the T function. The tool change is only realized with function M6. The
T function is replaced by calling the subprogram "MY_T_CYCLE". The D / DL number is not transferred to the
subprogram.
Parameterization
Main program
Parameterization
Meaning
MD22550 $MC_TOOL_CHANGE_MODE = 1
Tool change prepared with T
function
MD10717 $MN_T_NO_FCT_CYCLE_NAME = "MY_T_CYCLE"
Replacement subprogram
MD10719 $MN_T_NO_FCT_CYCLE_MODE = 0
Transfer of the D/DL number
Program code
Comment
N210 D1
;
N220 G90 G0 X100 Y100 Z50
; D1 is active.
N230 D2 X110 Z0 T5
;
;
D1 remains active, programmed D2 is transferred
to the subprogram as variable
N240 M6
; Execute tool change
Parameterization
Meaning
MD22550 $MC_TOOL_CHANGE_MODE = 1
Tool change prepared with T
function
MD10717 $MN_T_NO_FCT_CYCLE_NAME = "MY_T_CYCLE"
Replacement subprogram
MD10719 $MN_T_NO_FCT_CYCLE_MODE = 1
No transfer of the D/DL number
Program code
Comment
N310 D1
N320 G90 G0 X100 Y100 Z50
; D1 is active.
N330 D2 X110 Z0 T5
;
;
D2 is active and is not transferred as variable
to
the replacement subprogram.
N340 M6
; Execute tool change.
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...