
FANUC Series 16i/18i/21i-MA/MB/TB TOOL MANAGEMENT FUNCTION A-78614EN
2002.08.08 Edition 04
133
Spindle speed (S) 10 data4
Feed rate (F) 11 data4
Tool geometric
compensation number (G) 12 data2
Tool wear compensation
number (W) 13 data2
Customizing data 1 31 data4
Customizing data 2 32 data4
Customizing data 3 33 data4
Customizing data 4 34 data4
Customizing data 5 35 data4
Customizing data 6 36 data4
Customizing data 7 37 data4
Customizing data 8 38 data4
Customizing data 9 39 data4
Customizing data 10 40 data4
: : :
: : :
Customizing data 20 50 data4
(Note) Above Customizing data 5 .. Customizing data 20 are
available at only "additional customized data on tool
management data option".
Return: EW_OK is returned on successful completion, otherwise any value except
EW_OK is returned. The major error codes are as follows.
(As for the details, see "1.1.5 Return status of Data window function" of
SPECIFICATION MANUAL OF DATA WINDOW LIBRARY.)
--------------------------------------------------------------
Return code Meaning/Error handling
--------------------------------------------------------------
EW_BUSY Other users (such as PMC) have accessed to the same
data window.
Try this function again.
EW_NUMBER The data number for the Tool management data
table(number) is invalid.
EW_ATTRIB The data_id at IDBTLM structure is invalid.
EW_DATA The member, item.data1, item.data2, item.data4,
in the IDBTLM structure is invalid.
In order to get more information for this err_no
return value, execute cnc_getdtailerr() function.
The following detail status will be set onto the member,
err_no of OBDERR structure.
0: error except EW_DATA
1: error of tool number
2: error of tool life counter
3: error of maximum of tool life
4: error of predictive tool life
5: error of state of tool life
7: error of tool information
8: error of tool length compensation number
9: error of cutter compensation number