Detailed Description
2.1 Tool
Tool Compensation (W1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-13
Note
In the event of a power failure, the DZERO command can leave the NCK in an undefined
state with reference to the D numbers. If this happens, repeat the DZERO command when the
power is restored.
Operating principle of a retooling program
Let us assume you want to ensure that the required tools and cutting edges are available.
The status of the tool-holding magazine of the NCK is arbitrary. The D numbers in the part
programs for the new machining operation generally do not match the D numbers of the
actual cutting edges. The retooling program can have the following appearance:
DZERO ; All D numbers of the TO unit are tagged as invalid.
.... ; One or more loops over the locations of the magazine(s)
to check the tools and their cutting edge numbers.
If a tool is found, which is still enabled ($TC_TP8)
and has the required cutting edge number CE (GETDNO),
the new D number is allocated to the cutting edge
(SETDNO).
.... ; Loading and unloading operations are performed.
It is possible to work with the tool status "to be
unloaded" and "to be loaded".
CHKDNO ; Loading/unloading and the operation for renaming D
numbers are complete.
Individual tools and/or D numbers can be checked, and
collisions can be handled automatically according to
the return value.
2.1.6 Correction block for error during tool change
MD22550
If a tool preparation has been programmed in the part program and the NCK detects an error
(e.g., the data set for the programmed T number does not exist in the NCK), the user can
assess the error situation and perform appropriate tasks, in order to subsequently resume
machining.
The tool change can be programmed in a variety of ways, depending on machine data:
MD22550 $MC_TOOL_CHANGE_MODE: