04.00
8
840D
840D
NCU 571
NCU 572
NCU 573
GETT function
The GETT function returns the T number required to
set the tool data for a tool known only by its name.
Return parameter=GETT("WZ", DUPLO_NO)
If several tools with the specified name exist, the T
number of the first possible tool is returned.
Return parameter =–1: the tool name or duplo
number cannot be assigned to a tool.
Examples:
T="DRILL"
R10=GETT("DRILL", DUPLO_NO)
The "DRILL" must first be declared with NEWT or
$TC_TP1[ ].
$TC_DP1[GETT("DRILL",
DUPLO_NO),1]=100
SETPIECE function
This function is used to update the piece number
monitoring data.
The function counts all of the tool edges which have
been changed since the last activation of SETPIECE
for the stated spindle number.
SETPIECE(x,y)
x
y
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
8.2 Language commands for tool management
810D
840Di
Number of completed workpieces
y spindle number, 0 stands for master spindle (default setting)
Return T number for DRILL with duplo
number = DUPLO_NO
Write a tool parameter with tool name
Tool Offsets
8
8-267