Detailed Description
2.1 Tool
Basic logic functions: Tool Offset (W1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
23
Let us assume you want to ensure that the required tools and cutting edges are available.
The status of the toolholding 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.