8
Tool Offsets 04.00
8.2 Lan
ua
e commands for tool mana
ement
8
840D
NCU 571
840D
NCU 572
NCU 573
810D 840Di
ï›™
Siemens AG 2000. All rights reserved
8-266
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
8.2 Language commands for tool management
Explanation of the commands
T="WZ"
Select tool with name
NEWT("WZ",DUPLO_NO)
Create new tool, duplo number optional
DELT("WZ",DUPLO_NO)
Delete tool, duplo number optional
GETT("WZ",DUPLO_NO)
Determine T number
SETPIECE(x,y)
Set piece number
GETSELT(x)
Read preselected tool number (T No.)
"WZ"
Tool name
DUPLO_NO
Quantity
x
Spindle number, entry optional
If you use the tool manager you can create and call
tools by name, e.g. T="DRILL" or T="123".
NEWT function
With the NEWT function you can create a new tool
with name in the NC program. The function
automatically returns the T number created, which
can subsequently be used to address the tool.
Return parameter=NEWT("WZ", DUPLO_NO)
If no duplo number is specified, this is generated
automatically by the tool manager.
Example:
DEF INT DUPLO_NO
DEF INT T_NO
DUPLO_NO = 7
T_NO=NEWT("DRILL", DUPLO_NO)
Create new tool "DRILL" with duplo number 7. The T
number created is stored in T_NO.
DELT function
The DELT function can be used to delete a tool
without referring to the T number.
DELT("WZ",DUPLO_NO)