Siemens SINUMERIK 840D sl Function Manual page 32

Tools
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

W1: Tool offset
2.3 Tool offset memory
The following tools must be defined (all with cutting edge number 1):
T1, D1
T2, D10
T3, D100
The following command is then programmed:
Program code
DZERO
If one of the compensations is now activated (e.g. with T3 D100), an alarm is generated,
because D100 is not currently defined.
The D numbers are redefined with:
Program code
SETDNO( 1, 1, 100 )
SETDNO( 2, 1, 10 )
SETDNO( 3, 1, 1 )
Note
In the event of a power failure, the DZERO command can leave the NC 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 NC 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:
Program code
DZERO
....
....
CHKDNO
32
D no. of cutting edge CE=1
D no. of cutting edge CE=1
D no. of cutting edge CE=1
Comment
; T=1, cutting edge 1 is assigned the (new) D number 100
; T=2, cutting edge 1 is assigned the (old) D number 10
; T=3, cutting edge 1 is assigned the (new) D number 1
Comment
; All D numbers of the TO unit are tagged as invalid
; One or more loops over the locations of the magazine 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'.
; Loading/unloading and the operation for renaming D numbers are
complete.
; Individual tools and/or D numbers can be checked, and colli-
sions can be handled automatically according to the return value.
Function Manual, 06/2019, A5E47435126B AA
Tools

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents