Part program:
N10 T="Drill18" ; Tool change preparation
N20 M6 ; Tool change subprogram called
Tool change subprogram L6:
N10 M206 ; Tool change
N20 D0 : Compensation deselected
N40 Y150 M79 ; Traverse machine axes
N50 G01 D1 X10 ; Activate tool compensation.
; Check whether tool has been changed.
; Preprocessing stop is maintained until tool change prep-
aration
is completed. The
main run waits at N50 (D1) until
tool change has been executed and acknowledged.
MD20310: $MC_TOOL_MANAGEMENT_MASK
Activating the tool management functions:
MD20310: $MC_TOOL_MANAGEMENT_MASK
Bit 0 = 1 Tool management active:
The functions of tool management are enabled for the current channel.
Bit 1 = 1 Monitoring functions of tool management active:
The functions for monitoring tools (tool life and workpiece count) are enabled.
Bit 2 = 1 OEM functions active
Bit 3 = 1 Adjacent location consideration active
Bit 14 = 1 Tool and offset selection according to the settings in:
MD20110 $MC_RESET_MODE_MASK
MD20112 $MC_START_MODE_MASK
Bit 23 = 1 With offset selection no synchronization with main run.
Bit 24 = 1 Using an asynchronous transfer with acknowledgment status 201, you can move
a tool to a location reserved for another tool with "reserved for tool from buffer".
This location reservation is then removed before the movement is executed ("Re‐
served for new tool to be loaded" (bit value="H8") remains effective).
Additionally only for T version:
Bit 16 = 1 T location number is active.
If a locked tool is at the programmed location, the location of a replacement tool (if available)
is output as job
from the tool management when the "Replacement tools for tool management"
option is set.
Tool management
9.2 Machine data for the tool management
CNC commissioning
260 Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3