FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 248

 

  Index      Manuals     FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) B-64693EN-1/01

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     246      247      248      249     ..

 

 

 

FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 248

 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1938 - 

 

[Data type]  Real path 

 

[Unit of data]  mm, inch (offset unit) 

[Min. unit of data]  The increment system of a tool offset value is followed. 
[Valid data range]  The settings of bits 3 to 0 (OFE, OFD, OFC, and OFA) of parameter No. 5042 are 

followed. 

For metric input 

OFE 

OFD 

OFC 

OFA 

Valid data range 

0 to 9999.99mm 

0 to 9999.999mm 

0 to 9999.9999mm 

0 to 9999.99999mm 

0 to 999.999999mm 

 

For inch input 

OFE 

OFD 

OFC 

OFA 

Valid data range 

0 to 999.999inch 

0 to 999.9999inch 

0 to 999.99999inch 

0 to 999.999999inch 

0 to 99.9999999inch 

 
This parameter sets the maximum allowable tool wear compensation value. If an attempt 
is made to set a tool wear compensation value, the absolute value of which exceeds the 
value set in this parameter, the following alarm or warning is output: 

Input from MDI 

Warning: DATA IS OUT OF RANGE 

Input by G10 

Alarm PS0032: ILLEGAL OFFSET VALUE IN G10. 

When 0 or a negative value is set, no maximum allowable value is applied. 
 

 

[Example]  When 30.000 is set 

As a tool offset value, a value from -30.000 to +30.000 can be input. 
 

5014 

 

Maximum value of incremental input for tool wear compensation 

 

 

[Input type]  Parameter input 

 

[Data type]  Real path 

 

[Unit of data]  mm, inch (offset unit) 

[Min. unit of data]  The increment system of a tool offset value is followed. 
[Valid data range]  The settings of bits 3 to 0 (OFE, OFD, OFC, and OFA) of parameter No. 5042 are 

followed. 

For metric input 

OFE 

OFD 

OFC 

OFA 

Valid data range 

0to9999.99mm 

0to9999.999mm 

0to9999.9999mm 

0to9999.99999mm 

0to999.999999mm 

 

For inch input 

OFE 

OFD 

OFC 

OFA 

Valid data range 

0to999.999inch 

0to999.9999inch 

0to999.99999inch 

0to999.999999inch 

0to99.9999999inch 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1939 - 

Set the maximum allowable value for the tool wear compensation value, input as an 
incremental value. If the incremental input value (absolute value) exceeds the set value, 
the following alarm or warning message is output: 

Input from MDI 

Warning: DATA IS OUT OF RANGE 

Input by G10 

Alarm PS0032: ILLEGAL OFFSET VALUE IN G10. 

When 0 or a negative value is set, no maximum allowable value is applied. 
 

Alarm and message 

Number 

Message 

Description 

PS0032 

ILLEGAL OFFSET VALUE IN G10 

In setting an offset amount by G10 or in writing an offset 
amount by system variables, the offset amount was 
excessive. 

 

Warning message 

Description 

DATA IS OUT OF RANGE 

The value searched exceeds the permitted range. 

 

11.3 

TOOL MANAGEMENT FUNCTION 

11.3.1 

Tool Management Function 

Overview 

The tool management function totally manages tool information including information about tool offset 
and tool life. 
 

Explanation 

A tool type number is specified with a T code. The tool type number is any number the user can define 
freely. With tool type numbers, tools can be grouped by various conditions such as life, compensation 
value, and cutting conditions. When each type is assumed to have a single  tool, tool type numbers are 
equivalent to unique tool numbers. 
For each tool, an information storage area is prepared in the CNC (SRAM). This area contains 
information such as a tool type number, tool life, tool status (such as a breakage condition), tool 
compensation number (H, D, G, or W), spindle speed (S), cutting feedrate (F), and freely-definable 
customize data. Such data is called tool management data. 
A cartridge management table that links cartridge information and tool management data is provided so 
that the CNC can manage the cartridges of the machine and tool change operations. In addition, areas for 
managing the tools in the spindle and tool standby positions are prepared. 
When a tool type number is specified using a T code command, a tool that has the tool type number and 
the shortest life is searched for, and the cartridge number and pot number of the location where the tool is 
stored are output to the PMC. Then, a tool change operation using the cartridge number and pot number is 
enabled by the PMC ladder sequence. 
Tool information in the CNC is managed by the tool management data and cartridge management table 
(including the spindle management table and standby position table). 
 

  - 

Tool management data 

As tool management data, information about a tool is registered for each data number. 
 

Tool management function 64 sets 

64 sets in total 

Tool management function 240 sets 

240 sets in total 

Tool management function 1000 sets 

1000 sets in total 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1940 - 

Details of data 

The following details the data registered for each data number: 
 

Tool type number (T code) 

Item 

Description 

Data length 

4byte 

Valid data range 

0,1 to 99,999,999 

 

Tool life counter 

Item 

Description 

Data length 

4byte 

Unit of data 

When the number of use times is specified: Times 
When time is specified: Seconds 

Valid data range 

When the number of use times is specified: 0 to 99,999,999 times 
When time is specified: 0 to 3,599,999 s (999 hours 59 minutes 59 seconds) 

 

The value of an increment counter, that is, the number of use times (time) is indicated. The 
remaining life value is [the maximum tool life value minus tool life counter value]. 

 

Maximum tool life value 

Item 

Description 

Data length 

4byte 

Unit of data 

When the number of use times is specified: Times 
When time is specified: Seconds 

Valid data range 

When the number of use times is specified: 0 to 99,999,999 times 
When time is specified: 0 to 3,599,999 s (999 hours 59 minutes 59 seconds) 

 

Notice life value 

Item 

Description 

Data length 

4byte 

Unit of data 

When the number of use times is specified: Times 
When time is specified: Seconds 

Valid data range 

When the number of use times is specified: 0 to 99,999,999 times 
When time is specified: 0 to 3,599,999 s (999 hours 59 minutes 59 seconds) 

 

If a value other than 0 is set, the tool life expiration notice signal TLCHB <Fn064.3> or TLCHBx 
<Fn329.4 to 7> is output when the remaining life value of the tool (= maximum tool life value minus 
tool life counter value) has reached the set value. 

 

Tool life status 

Item 

Description 

Data length 

1byte 

Detail data 

0: Life management is not performed 
1: Tool not yet used 
2: Life remains 
3: Life expired 
4: Tool breakage (skip) 

 

The machine (PMC) determines tool breakage and stores corresponding information through the 
window. In tool management of the CNC, a broken tool is regarded as being equivalent to tools 
whose lives have expired. 

 

Tool information 

Item 

Description 

Data length 

1 byte (flag data) 

#0 RGS 
 

0: Tool management data is invalid (-) 
1: Tool management data is valid (R) 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1941 - 

Item 

Description 

#1 TIM 
 

0: Type for counting the number of use times (C) 
1: Type for counting time (T) 

#2 BDT 

0: Normal tool (N) 
1: Oversize tool (B) 

#3 LOC 

0: Data accessible (U) 
1: Data not accessible (L) 

#4 SEN 

When the tool life status indicates that tool management is not performed: 
0: This tool is not searched (-) 
1: This tool is searched (S) 

#5 to #7 

Reserved 

 

When RGS is set to 0 in tool management data, the tool management data is regarded as not being 
registered even when values are set for other items. 

 

NOTE 

 

Make sure you specify the same life count type for all tools of the same type. 
You can check tools of the same type for any difference in life count type, using 
the "check function." 

 

M

 

Tool length compensation number (H) 

Item 

Description 

Data length 

2byte 

Valid data range 

0 to 999 

 

Cutter compensation number (D) 

Item 

Description 

Data length 

2byte 

Valid data range 

0 to 999 

 

T

 

Tool geometry compensation number (G) 

Item 

Description 

Data length 

2byte 

Valid data range 

0 to 999 

 

Tool wear compensation number (W) 

Item 

Description 

Data length 

2byte 

Valid data range 

0 to 999 

 

 

NOTE 

 

When the machine control type is the combined system type, tool length 
compensation and cutter compensation numbers are used for paths for the 
machining center system, and for paths for the lathe system, tool geometry 
compensation and tool wear compensation numbers are used. 

 

Spindle speed (S) 

Item 

Description 

Data length 

4byte 

Unit of data 

min

-1

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1942 - 

Valid data range 

1 to 99,999 

 

Feedrate (F) 

Item 

Description 

Data length 

4byte 

Unit of data 

mm/min, inch/min, deg/min, mm/rev, inch/rev   

Valid data range 

0 to 99,999,999 

 
As additional tool management data, areas for setting customize data (5 data items including customize 
data 0 and customize data 1 to 4) are provided without defining specific usage. The user can use these 
customize data areas freely to set a warning life value, cutting resistance, override value, spindle current 
value, maximum and minimum S/F, and other items according to the targeted application. 
 

Customize data 0 

Item 

Description 

Data length 

1 byte (bit type) 

Valid data range 

0 or 1 on a bit-by-bit basis 

 

Customize data 1 to 4 (to 20) (to 40) 

Item 

Description 

Data length 

4byte 

Valid data range 

-99,999,999 to 99,999,999 

 

  - 

Cartridge management table 

The storage status of tools in cartridges is managed with the cartridge management table. 

Multiple cartridge numbers can be defined. (Numbers from 1 to 8, up to eight cartridges) 

The maximum number of pots for all cartridges is 64, 240, or 1000, which depends on whether a 
tool management data option is selected. 

Cartridge numbers and pot numbers can be assigned freely within cartridge management data by 
parameter setting (described later). 

The tool management data number adjacent to a pot number is linked with tool data defined in the 
tool management table. Therefore, the tool attached to the pot is indicated. 

Zero set as a data number indicates that no tool is attached. 

The cartridge management table can be read from and written to through the PMC window and 
FOCAS2

.

 

 

The spindle management table and standby position table are provided to indicate special cartridge 
positions. 

Spindle positions and standby positions, regarded as special cartridge positions, have fixed cartridge 
numbers 11 to 14 (the positions of the first to fourth spindles) and 21 to 24 (the first to fourth 
standby positions). 

With the PMC window, the spindle position table and standby position table can be read from and 
written to. 

Tool life counting is performed only for the tools at the spindle positions.

 

 

  - 

Multi-path system 

The tool management data and cartridge management table are common data among the paths. The 
spindle management table and standby position table, however, are treated as independent data for each 
path. 
When the spindle table or standby position table is specified as a cartridge from the PMC window, 
specify the Table 11.3.1 (a), in which the path number is set in the hundred’s place:

 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1943 - 

Table 11.3.1 (a) 

 

Spindle position 

First 

Second 

Third 

Fourth 

First path 

111(11) 

112(12) 

113(13) 

114(14) 

Second path 

211 

212 

213 

214 

Third path 

311 

312 

313 

314 

Fourth path 

411 

412 

413 

414 

 

 

Standby position 

First 

Second 

Third 

Fourth 

First path 

121(21) 

122(22) 

123(23) 

124(24) 

Second path 

221 

222 

223 

224 

Third path 

321 

322 

323 

324 

Fourth path 

421 

422 

423 

424 

 

NOTE 

 

When specifying 111, 121, and so on to specify the first path, you may specify 
just 11, 21, and so on. 

 

 

Tool management data 

-  Data of each tool such as type number, life status, and compensation number   
-  The number of sets of data is 64, 240, or 1000. 

Cartridge management table 

-  This table indicates the cartridge and pot to which each set of tool management 

data is assigned. 

-  Up to eight cartridges are used. 

Path 1 

Path 10

 

Path 2

 

Standby position table 

121 to 124 (21 to 24) 

Spindle position table 

111 to 114 (11 to 14) 

Standby position table 

221 to 224 

Spindle position table 

211 to 214 

Standby position table 

1021 to 1024 

Spindle position table 

1011 to 1014 

. . . . . . . . . . . 

 

 

NOTE 

 

The tool management data and cartridge management table are data common to 
the M and T series. 

 

  - 

Tool life management and tool change 

The CNC performs tool life management, regarding tools having the same tool type number as a group. 
When a tool type number (T code) is specified by an NC program, the tool management data registered in 
the CNC is searched to find a tool having the shortest life among the tools with the same tool type 
number. 
The cartridge number and pot number corresponding to the searched tool are output as a T code signal to 
the PMC. Based on the output cartridge number and pot number, the PMC performs preparation for a tool 
change (to the next tool). A different tool can also be selected on the PMC side. 
The CNC performs tool life counting for each tool that is at a spindle position in the spindle management 
table. 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1944 - 

 
When the lives of all tools having the tool type number specified by the T code have expired, alarm 
PS5317, “ALL TOOL LIFE IS OVER” is issued. If there is a tool in the spindle position or standby 
position, that tool is selected to continue machining. 
As the T code signal, a specified tool type number instead of the cartridge number and pot number can 
also be output directly by parameter setting. 
There are two types of tool life management counting methods: counting the number of use times and 
counting cutting time. One of the counting methods is set in tool information of tool management data. 
 
Other major specifications related to tool life management are as follows: 
Tool type number (T code) 

:  Up to 8 digits (1 to 99,999,999) 

Maximum tool life value 

:  99,999,999 times when the number of use times is specified 

 

:  999 hours 59 minutes 59 seconds when time is specified 

Life count interval when time is specified  :  1 second 
Tool life management count restart M code :  Enabled 
Tool life count override 

:  Enabled 

 

  - 

Examples of performing tool life management 

Operation examples of tool life management are given below, in which the tool management data and 
cartridge management table are set as Table 11.3.1 (b): 
 

Table 11.3.1 (b) 

Tool management data 

Data 

No. 

Tool type 

No. (T) 

Tool life 

counter 

Maximum 

tool life 

value 

Tool life 

status 

Tool 

information 

Tool length 

compensation 

No. (H) 

Cutter 

compensation 

No. (D) 

11111111 

985 

1000 

Not expired 

UNCR 

11111111 

1000 

Not expired 

UNCR 

11111111 

1000 

Not expired 

UNCR 

22222222 

2000 

Not expired 

UBCR 

31 

41 

 

Cartridge management table 

No. 

Cartridge No. 

Pot No. 

Tool management data No. 

12 

29 

29 

30 

30 

31 

11 

 

63 

29 

21 

64 

30 

 

Spindle management table 

               Standby position table 

Spindle 

name 

Cartridge No. 

(Spindle No.) 

Data No. 

 

Standby 

position name 

Cartridge No. 

(Standby position No.) 

Data No. 

Spindle 

position 

11 

 

Standby position 

21 

 
Tool life management is explained below by using the following sample program: 
 
 

Program example 

 

  : 

 

N10 T11111111 ; 

 

  : 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1945 - 

 

N80 M06 ; 

 

  : 

 

N200 G01 X100.0 F100.0 ; 

 

  : 

 

N999 M30 ; 

 

  - 

Selecting a tool having a tool type number and shortest life 

The following example explains how a tool having a tool type number specified by a T code is selected: 

 

  N10 T11111111 ; 

(1)  Among tools whose tool type number is 11111111, a tool having the shortest life is searched for(*1). 

Since the tool with the shortest life is assigned tool management data number 1, the numbers of the 
cartridge and pot holding this tool are obtained. 

 

The following tools are not searched: 

Tools not assigned to any cartridge 

Tools whose tool life status is 0 (Life management is not performed.)(*2) 

Tools whose tool life status is 3 (Life has expired.) 

Tools whose tool life status is 4 (tool breakage) 

Tools whose tool information bit 0 invalidates the tool management data 

Tool being edited on the tool management screen 

Tools whose tool life counter indicates the maximum tool life value. 

 
 

If multiple tools have the same life value, a search is made according to the following priority: 

 

 

High  

Spindle position 

 

 

 

 

Standby position 

 

 

Low  

Cartridge 

 
 

If a cartridge contains tools having the same life value, the tool with the smaller tool management 
number takes priority. 

 

NOTE 

1  If bit 6 (SWC) of parameter No. 13203 is 1, a tool whose customize data with a 

customize data number specified in parameter No. 13260 is smallest is searched 
for instead of a tool with the shortest life. 

2  Even when the tool life status of a tool shows that life management is not 

performed (= 0), the tool is targeted for a search operation if bit 4 (SEN) of its 
tool information is set to 1. In this case, the remaining life is not checked. The 
cartridge number and pot number of the tool found first are output as the search 
result. 

 
(2)  Since the tool with tool management data number 1 is stored at cartridge number 1 and pot number 

30, binary value 0001 is output at PMC addresses <Fn026 to Fn027>, and binary value 0030 is 
output at <Fn028 to Fn029>. 

(3)  On the machine side, the tool searched for is moved to the standby position. 
(4)  By using the PMC window (function code 329), the tool whose cartridge number 1 and pot number 

30 in the cartridge management table is moved to the standby position (cartridge number 21). 

 

 

 

 

 

 

 

Content      ..     246      247      248      249     ..