
FANUC Series 16i/18i/21i-MA/MB/TB TOOL MANAGEMENT FUNCTION A-78614EN
2002.08.08 Edition 04
124
short mgz_no; /* magazine number READ ONLY
READ ONLYREAD ONLY
READ ONLY */
short pot_no; /* pot number READ ONLY
READ ONLYREAD ONLY
READ ONLY */
short G_code; /* tool geometric compensation number G */
short W_code; /* tool wear compensation number W */
long reserved[5]; /* reserved */
long custom1; /* customizing data 1 */
long custom2; /* customizing data 2 */
long custom3; /* customizing data 3 */
long custom4; /* customizing data 4 */
long custom5; /* customizing data 5 */
long custom6; /* customizing data 6 */
long custom7; /* customizing data 7 */
long custom8; /* customizing data 8 */
long custom9; /* customizing data 9 */
long custom10; /* customizing data 10 */
long custom11; /* customizing data 11 */
long custom12; /* customizing data 12 */
long custom13; /* customizing data 13 */
long custom14; /* customizing data 14 */
long custom15; /* customizing data 15 */
long custom16; /* customizing data 16 */
long custom17; /* customizing data 17 */
long custom18; /* customizing data 18 */
long custom19; /* customizing data 19 */
long custom20; /* customizing data 20 */
} IODBTLMNG;
(Note) “Magazine number” and “Pot number” are the data
specified as READ ONLY. So, these data cannot
be used for writing data.
(Note) Above customizing data 5 .. customizing data 20 are
available at only "additional customized data on tool
management data option".
(Note) “Tool geometric compensation number G” and
“tool wear compensation number W” are available only for
the Lathe system. Succeeding “reserved” area is reduced by
1 long word in order to add these data.
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 start data number for the Tool management
data table(s_number) is invalid. Or, valid number
of the data on the Tool management data table exceeds.