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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     40      41      42      43     ..

 

 

 

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

 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 292 - 

NOTE 

      If a tool group number is specified and a new tool 

is selected, the new tool selection signal is output. 

 

  - Tool length compensation in tool axis direction 
  - Tool center point control 

For these functions, a compensation value selected in tool life 
management is used for compensation. 
 

T

 

If the tool change type is the ATC type (bit 3 (TCT) of parameter No. 
5040 = 1), commands are specified in the same manner as for the M 
series except that neither H99 nor H00 is used for the T series.    See 
the description for the M series.    For details on the tool compensation 
types applied when the tool change type is the ATC type, refer to 
Section 5.7, “Extended Tool Selection,” in II “Programming,” of the 
lathe system user's manual (B-63944EN-1). 
The command specification method for the turret type (bit 3 (TCT) of 
parameter No. 5040 = 0) is explained below. 

 CAUTION 

      This function cannot be used if the same number 

as the tool selection number is to be used to 
specify geometry offset number (bit 1 (LGN) of 
parameter No. 5002 = 1). 

 

 - Commands 

 

      T

{{{{{{

99; 

The tool life management function ends counting the life of the tool 
used so far, selects, from the group specified by 

{{{{{{

, a tool 

whose life has not expired, outputs the T code signal for the tool, and 
starts counting the life of the tool. 
 
Example: 
 

Suppose that a T199 command (with a tool offset specified with 
the lower two digits) is issued to cause the life management 
function to select T10001 of tool group 1.    Then, T code 100 is 
output, and the tool offset number 1 is selected. 

 
If the condition that a new tool be selected is not met, and the second 
or subsequent selection of the same group is made since the entry of 
the control unit into the automatic operation start state from the reset 
state, the next to the currently selected T code is selected if more than 
one offset is registered. 
If the third selection is made, for example, the third offset is selected 
from among multiple offsets registered for the same tool. 
 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 293 - 

Example: 
 

Suppose that the tool offset is specified with the lower two digits, 
and that two offset numbers are set for the same tool number in 
group 1 with the following two T codes: 

  T10001 

 

T10002 

 

The first T199 command issued since the entry of the control unit 
into the automatic operation start state from the reset state selects 
the first T code, T10001.    Then, if T199 is issued again before 
the control unit is reset, the second T code, T10002, is selected.   
Furthermore, if T199 is issued again before the control unit is 
reset, the second T code, T10002, is selected because no third 
offset is present. 

 

Setting bit 1 (TSM) of parameter No. 6801 set to 1 enables life 
counting to be performed for each T code separately even if T 
codes specifying multiple offsets for the same number are 
registered. 

 

      T

{{{{{{

88; 

The offset of the tool whose life is currently counted by tool life 
management is canceled.    The tool offset code is set to 00, and the 
tool number is output as a T code signal. 
 
Example: 
 

Suppose that the tool number of the tool currently used by the 
life management function is 100.  Then, issuing a T188 
command (with a tool offset specified with the lower two digits) 
outputs T code 100 and selects offset number 0, canceling the 
offset. 

NOTE 

If life counting is not performed, or if the specified 
tool does not belong to the group for which life 
counting is being performed, alarm PS0155 is 
issued. 

 
The numbers of digits in 

{{{{{{

 and 99/88 vary as follows: 

No.5028 99

 

88 

T

{{{{{{{

 9 

               

         

 

Select group    Start life counting 

T

{{{{{{{

 8 

               

         

 

Select group    Cancel tool offset 

T

{{{{{{

 99 

               

       

 

Select group Start life counting 

T

{{{{{{

 88 

               

       

 

Select group    Cancel tool offset 

T

{{{{{

 999 

             

       

 

Select group Start life counting 

T

{{{{{

 888 

         

           

 

Select group Cancel tool offset 

The maximum number of digits in T codes is set in parameter No. 
3032. 
The number of digits used for specifying an offset number is selected 
by parameter No. 5028.  If 0 is selected, the number of digits 
depends on the number of tool offsets. 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 294 - 

Example: 
 

If there are one to nine tool offsets:  Lowest digit 

 

If there are 10 to 99 tool offsets: 

Lower two digits 

 

If there are 100 to 999 tool offsets:  Lower three digits 

 

NOTE 

  Offset start and cancel operations involve 

compensation by moving a tool or by shifting the 
coordinate system.    Using bit 6 (LWM) of 
parameter No. 5002 can select whether to perform a 
compensation operation if a T code is specified or if 
an axis move command is specified. 

  For details, refer to Subsection 5.1.5, “Offset 

Operation,” of the lathe system User's Manual 
(B-63944EN-1). 

 

      T

{{{{{{

∆∆

If the tool offset number in 

∆∆

 is neither 99 nor 88, the T code is 

treated as an ordinary T code.  If life counting is being currently 
performed, it is ended. 
 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 295 - 

Examples 

 

M

 

  - Tool change type A 

If a block specifying a tool change command (M06) also contains a 
tool group command (T code), the T code is used as a command for 
returning the tool to its cartridge.    By specifying a tool group number 
with a T code, the number of the tool used so far is output as a T code 
signal.    If the specified tool number is not a tool number of the tool 
group of the tool being used, alarm PS0155 is issued.  The alarm, 
however, can be suppressed by setting bit 6 (IGI) of parameter No. 
6800 to 1. 

Example:    Suppose that the tool life management ignore number is 100.

T101 ; 


M06 ; 


T102 ; 


M06 T101 ;



T103 ; 


M06 T102 ;


G43 H99 ; 

G41 D99 ; 

D00 ; 

H00 ; 

A tool whose life has not expired is selected from group 1. 
(Suppose that tool number 010 is selected.) 

 

Tool life counting is performed for the tool in group 1. 
(The life of tool number 010 is counted.) 

 

A tool whose life has not expired is selected from group 2. 
(Suppose that tool number 100 is selected.) 

 

Tool life counting is performed for the tool in group 2. 
(The life of tool number 100 is counted.) 
The number of the tool currently used (in group 1) is output 
with a T code signal.    (Tool number 010 is output.) 
A tool whose life has not expired is selected from group 3. 
(Suppose that tool number 200 is selected.) 

 

Tool life counting is performed for the tool in group 3. 
(The life of tool number 200 is counted.) 

 

Tool length offset for the tool selected from group 3 is used. 

 

Cutter compensation for the tool selected from group 3 is 
used. 
Cutter compensation is canceled. 

 

Tool length offset is canceled. 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 296 - 

  - Tool change types B and C 

If a block specifying a tool change command (M06) also contains a 
tool group command (T code), the T code is used to specify a tool 
group number for which life counting is to be performed by the next 
tool change command. 
 

Example:    Suppose that the tool life management ignore number is 100.

T101 ; 


M06 T102 ; 



M06 T103 ; 



G43 H99 ; 


G41 D99 ; 


D00 ; 


H00 ; 


M06 T104 ; 

A tool whose life has not expired is selected from group 1. 
(Suppose that tool number 010 is selected.) 

 

Tool life counting is performed for the tool in group 1. 
(The life of tool number 010 is counted.) 
A tool whose life has not expired is selected from group 2. 
(Suppose that tool number 100 is selected.) 
Tool life counting is performed for the tool in group 2. 
(The life of tool number 100 is counted.) 
A tool whose life has not expired is selected from group 3. 
(Suppose that tool number 200 is selected.) 
Tool length offset for the tool selected from group 2 is used. 

 
 

Cutter compensation for the tool selected from group 2 is 
used. 

 

Cutter compensation is canceled. 

 
 

Tool length offset is canceled. 

 
 

Tool life counting is performed for the tool in group 3. 
(The life of tool number 200 is counted.) 
A tool whose life has not expired is selected from group 4. 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 297 - 

  - Tool change type D 

For a tool selected by a tool group command (T code), life counting is 
performed by a tool change command (M06) specified in the same 
block as the tool group command.    Specifying a T code alone does 
not results in an alarm; however, specifying an M06 command alone 
results in alarm PS0153.    However, the alarm can be suppressed by 
setting bit 7 (TAD) of parameter No. 6805 to 1. 
 

Example:    Suppose that the tool life management ignore number is 100.

T101 M06 ; 




T102 M06 ; 



G43 H99 ; 


G41 D99 ; 


D00 ; 


H00 ; 


T103 M06 ; 


A tool whose life has not expired is selected from group 1. 
(Suppose that tool number 010 is selected.) 
Tool life counting is performed for the tool in group 1. 
(The life of tool number 010 is counted.) 
 
A tool whose life has not expired is selected from group 2. 
(Suppose that tool number 100 is selected.) 
Tool life counting is performed for the tool in group 2. 
(The life of tool number 100 is counted.) 
Tool length offset for the tool selected from group 2 is used. 

 
 

Cutter compensation for the tool selected from group 2 is 
used. 

 

Cutter compensation is canceled. 

 
 

Tool length offset is canceled. 

 
 

A tool whose life has not expired is selected from group 3. 
Tool life counting is performed for the tool in group 3. 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 298 - 

T

 

For the ATC type (bit 3 (TCT) of parameter No. 5040 = 1), commands 
are specified in the same manner as for the M series except that D99 
rather than H99 is used.    For the ATC type, see the description for 
the M series. 
The following shows how commands are specified if the turret type is 
used (bit 3 (TCT) of parameter No. 5040 = 0): 
 

Example:    Suppose that offset numbers are two digits long. 

T0199 ; 






T0188 ; 




T0299 ; 





T0299 ; 






T0301 ; 


A tool whose life has not expired is selected from group 1. 
(Suppose that T1001 is selected.    The tool number is 10, 
and the offset number is 01.) 
 
Tool life counting is performed for the tool in group 1. 
(The life of tool number 10 is counted.) 
 
The offset of the tool being used in group 1 is canceled. 
(Since the tool being used is T1001, the tool number is 10, 
and the offset number is 00.) 
 
 
A tool whose life has not expired is selected from group 2. 
(Suppose that T2002 is selected.    The tool number is 20, 
and the offset number is 02.) 
Tool life counting is performed for the tool in group 2. 
(The life of tool number 20 is counted.) 
 
If more than one offset number is specified for the currently 
used tool in group 2, the next offset number is selected. 
(Suppose that T2002 and T2003 are registered with tool 
number 20.    In this case, T2003 is selected.    The tool 
number is 20, and the offset number is 03.) 
 
 
Life counting for the tool in group 2 ends, and this command 
is treated as an ordinary T code. 
(The tool number is 03, and the offset number is 01.) 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 299 - 

10.5.4 

Tool Life Counting and Tool Selection 

 
Either use count specification or duration specification is selected as 
the tool life count type according to the state of bit 2 (LTM) of 
parameter No. 6800.  Life counting is performed for each group 
separately, and the life counter contents are preserved even after the 
power is turned off. 
 

Table 10.5.4    Tool life management count types and intervals 

Tool life count type

Use count specification 

Time specification 

Bit 2 (LTM) of 

parameter No. 6800

0 1 

Life count interval 

Incremented by one for tools 
used in one program 
 
Counting can be resumed by 
using tool life count restart M 
code (parameter No. 6811). 

Bit 0 (FCO) of parameter
No. 6805 
0:  Every second 
1:  Every 0.1 second 
 
Can be changed by 
override. 

 

Explanation 

 

M

 

  - Use count specification (LTM=0) 

If a tool group (T code) is specified, a tool whose life has not expired 
is selected from the specified tool group.  The life counter for the 
selected tool is then incremented by one by a tool change command 
(M06).    Unless a tool life count restart M code is specified, selection 
of a new tool and the increment operation can be performed only if a 
tool group number command and a tool change command are issued 
for the first time since the entry of the control unit into the automatic 
operation start state from the reset state. 
 

 CAUTION 

      No matter how many times the same tool group 

number is specified in a program, the use count is 
not incremented, and no new tool is selected. 

 

 

 

 

 

 

 

 

Content      ..     40      41      42      43     ..