FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 36

 

  Index      Manuals     FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     34      35      36      37     ..

 

 

 

FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 36

 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 244 - 

10 

TOOL FUNCTION (T FUNCTION) 

 
Chapter 10, "TOOL FUNCTION (T FUNCTION)", consists of the 
following sections: 
 
10.1  TOOL SELECTION FUNCTION..........................................245 
10.2  TOOL MANAGEMENT FUNCTION...................................247 
10.3  TOOL MANAGEMENT EXTENSION FUNCTION ...........265 
10.4  TOOL MANAGEMENT FUNCTION FOR OVERSIZE 

TOOLS ...................................................................................277 

10.5  TOOL LIFE MANAGEMENT ..............................................279 
 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 245 - 

10.1 

TOOL SELECTION FUNCTION 

 
By specifying an up to 8-digit numerical value following address T, a 
code signal and a strobe signal are transmitted to the machine tool.  
This is used to select tools on the machine. 
One T code can be commanded in a block.    Refer to the machine tool 
builder's manual for the number of digits commendable with address T 
and the correspondence between the T codes and machine operations. 
When a move command and a T code are specified in the same block, 
the commands are executed in one of the following two ways: 
(i)  Simultaneous execution of the move command and T function 

commands. 

(ii)  Executing T function commands upon completion of move 

command execution. 

The selection of either (i) or (ii) depends on the machine tool builder's 
specifications.  Refer to the manual issued by the machine tool 
builder for details. 
 
 

Explanations 

T

 

The value after the T code indicates the desired tool.  Part of the 
value is also used as a tool offset number that specifies the amount of 
tool offset or the like.    The tool can be selected as follows according 
to the specification method and parameter settings. 
 

Description of a T code (Note 1) 

LGN (No.5002#1) = 0 

LGN (No.5002#1) = 1 

How to specify the offset number for each 

parameter setting (Note 2) 

The tool wear offset number is specified using 
the low-order one digit of a T code. 

T

{{{{{{{

   

{

 

 

 

 

 

  Tool selection  Tool geometry 
  

tool wear 

  

offset 

T

{{{{{{{

   

{

 

 

 

 

 

  Tool selection  Tool wear 
 tool geometry offset 
 offset 

When parameter (No.5028) is set to 1 

The tool wear offset number is specified using 
the low-order two digits of a T code. 

T

{{{{{{

   

{{

 

 

 

 

 

  Tool selection  Tool geometry 
  

tool wear 

  

offset 

T

{{{{{{

   

{{

 

 

 

 

  Tool selection  Tool wear 
 tool geometry offset 
 offset 

When parameter (No.5028) is set to 2 

The tool wear offset number is specified using 
the low-order three digits of a T code. 

T

{{{{{

           

{{{

 

 

 

     

 

  Tool selection  Tool geometry 
  

tool wear 

  

offset 

T

{{{{{

           

{{{

   

 

 

     

 

  Tool selection  Tool wear 
 tool geometry offset 
 offset 

When parameter (No.5028) is set to 3 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 246 - 

NOTE 

1  The maximum number of digits of a T code can be 

specified by parameter (No.3032) as 1 to 8. 

2  When parameter (No.5028) is set to 0, the number 

of digits used to specify the offset number in a T 
code depends on the number of tool offsets. 

Example) 

 

  When the number of tool offsets is 1 to 9:     
   

Low-order one digit 

 

  When the number of tool offsets is 10 to 99:     
   

Low-order two digits 

 

  When the number of tool offsets is 100 to 999:     
   

Low-order three digits 

 
Refer to the machine tool builder's manual for correspondence 
between the T-code and the tool and the number of digit to specify 
tool selection. 
 
Example (T2+2) 

N1G00X1000Z1400; 
N2T0313;    (Select tool No. 3 and tool offset value No. 13) 
N3X400Z1050; 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 247 - 

10.2 

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 each tool is registered 
with a tool management data number. 
The following number of sets of tool management data can be used: 
 

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 

 

NOTE 

 

For the number of tool management data sets, 
refer to the relevant manual issued by the machine 
tool builder. 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 248 - 

  - Details of data 

The following details the tool management 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 <F064.3> or TLCHBx <F329.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. 
 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 249 - 

 

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) 

#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 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 250 - 

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

 

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 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 251 - 

NOTE 

 

For the maximum number of tool management 
function customization data items, refer to the 
relevant manual issued by the machine tool builder. 

 

  - 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 
4, up to four 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. 

 

 

 

 

 

 

 

 

Content      ..     34      35      36      37     ..