11.92 2 Description of Functions
2.2.1 Tool search
When the required tool has been found, the "T word is valid" bit is reset at the interface by the
tool management. Depending on the magazine in which the tool has been found, either the
"Position magazine/turret" bit (bit 71.2 in the channel DB) or the "Position chained magazine"
bit (bit 71.8 in the channel DB) is set. This signal enables the user to start function block FB
133 "Direction selection"(see Section 10, Block Description). As a result, the optimum angle of
rotation is determined for the magazine and the rotational direction output via block
parameters.
When the set position is reached, the tool is inserted within the L06 tool-changing cycle. The
user has to call FB 128 "Transfer" to transfer the data from the magazine location DW to a
data word of the tool buffer (feeder, spindle, etc.). When assigning input parameter "SP" (tool
transfer in the spindle), the D numbers listed in the reference list are transferred to the R
parameters R 101 to R 109 (see Section 5, Configuring). The D number which is activated by
the tool-changing cycle is assigned to the first cutting edge. If the next cutting edge is to be
used, the value of the corresponding R parameter must be transferred:
D = R 10x where x = number of next cutting edge (e.g. R 102 for the 2nd cutting edge).
Fig. 2.10 Preparing the tool (T = location, D No. fixed) for turning machines
Tool
data
TO
Turret
assignment
DB
Machine
program
Provide
D No.
Tool
selection
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Read disable
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
FB 123
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
FB 133
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Set
pos.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
T word
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
NC program
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
NC PLC
.
.
T<No.>D<No>
.
.
T<No.>D<No>
.
.
D<No.>
.
.
.
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1 2–17
SINUMERIK 840/880 (PJ)