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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     39      40      41      42     ..

 

 

 

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

 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 284 - 

10.5.2 

Registering, Changing, and Deleting Tool Life Management 

Data 

 
By programming, tool life management data can be registered in the 
CNC, and registered tool life management data can be changed or 
deleted. 
 

Explanation 

The program format varies depending on the following four types of 
operation: 
 

  - Registration after deletion of all groups 

After all registered tool life management data is deleted, programmed 
tool life management data is registered. 
 

  - Change of tool life management data 

Tool life management data can be set for a group for which no tool 
life management data is registered, and already registered tool life 
management data can be changed. 
 

  - Deletion of tool life management data 

Tool life management data can be deleted. 
 

  - Setting of tool life count type 

A count type (use duration or use count) can be set for each group 
separately. 
 

Format 

  - Registration after deletion of all groups 

 

M

 

Format Meaning 

G10L3; 
P-L-; 
T-H-D-; 
T-H-D-; 
 : 
P-L-; 
T-H-D-; 
T-H-D-; 
 : 
G11; 
M02(M30); 

G10L3:  Register data after deleting data of all groups. 
P-:  Group number 
L-:  Tool life value 
T-:  Tool number 
H-:    Code for specifying tool offset value (H code) 
D-:    Code for specifying tool offset value (D code) 
G11:  End of registration 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 285 - 

T

 

Format Meaning 

G10L3; 
P-L-; 
T-(D-); 
T-(D-); 
 : 
P-L-; 
T-(D-); 
T-(D-); 
 : 
G11; 
M02(M30); 

G10L3:  Register data after deleting data of all groups. 
P-:  Group number 
L-:  Tool life value 
T-:    For turret type (bit 3 (TCT) of parameter No. 5040 = 

0), tool number and tool offset number 

      For ATC type (bit 3 (TCT) of parameter No. 5040 = 

1), tool number 

G11:  End of registration 
(D-):    For ATC type (bit 3 (TCT) of parameter No. 5040 = 

1), code for specifying tool offset value 

 

NOTE 

      No H code is used even if the tool change type is 

the ATC type (bit 3 (TCT) of parameter No. 5040 = 
1). 

 
If more than one offset value is to be used for the same tool within one 
process, specify the command as shown below (on the assumption that 
tool offset numbers are two digits long). 
 

Format Meaning 

G10L3; 
P-L-; 
T0101; 
T0102; 
T0103; 
 : 
G11; 
M02(M30); 

 
 
Tool number 01, tool offset number 01 
Tool number 01, tool offset number 02 
Tool number 01, tool offset number 03 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 286 - 

  - Change of tool life management data 

M

 

Format Meaning 

G10L3P1; 
P-L-; 
T-H-D-; 
T-H-D-; 
 : 
P-L-; 
T-H-D-; 
T-H-D-; 
 : 
G11; 
M02(M30); 

G10L3P1:  Start changing group data. 
P-:  Group number 
L-:  Tool life value 
T-:  Tool number 
H-:    Code for specifying tool offset value (H code) 
D-:    Code for specifying tool offset value (D code) 
G11:    End of change of group 

T

 

Format Meaning 

G10L3P1; 
P-L-; 
T-(D-); 
T-(D-); 
 : 
P-L-; 
T-(D-); 
T-(D-); 
 : 
G11; 
M02(M30); 

G10L3P1:  Start changing group data. 
P-:  Group number 
L-:  Tool life value 
T-:    For turret type (bit 3 (TCT) of parameter No. 5040 = 

0), tool number and tool offset number 

    For ATC type (bit 3 (TCT) of parameter No. 5040 = 1), 

tool number 

G11:  End of registration 
(D-):    For ATC type (bit 3 (TCT) of parameter No. 5040 = 

1), code for specifying tool offset value 

 

NOTE 

      No H code is used even if the tool change type is 

the ATC type (bit 3 (TCT) of parameter No. 5040 = 
1). 

 

  - Deletion of tool life management data 

Format Meaning 

G10L3P2; 
P-; 
P-; 
P-; 
P-; 
 : 
G11; 
M02(M30); 

G10L3P2:  Start deleting group data. 
P-:  Group number 
G11:  End of deletion 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 287 - 

  - Setting of tool life count type 

Format Meaning 

G10L3 
(or G10L3P1); 
P-L-Q-; 
T-H-D-; 
T-H-D-; 
 : 
G11; 
M02(M30); 

 
 
 
Q:  Life count type 
 (1:  Use count.  2:  Duration.) 
 
 
 

 

 CAUTION 

      If the Q command is omitted, the life count type is 

set according to the setting of bit 2 (LTM) of 
parameter No. 6800. 

 

  - Arbitrary group number 

 

M

 

If the tool life management B function is enabled (bit 4 (LFB) of 
parameter No. 6805 = 1), and use of the function for specifying an 
arbitrary group number is set (bit 5 (TGN) of parameter No. 6802 = 1), 
an arbitrary group number can be registered by programming a 
command. 
 

Format Meaning 

G10L3; 
(or G10L3P1); 
P-L-T-; 
T-H-D-; 
T-H-D-; 
 : 
G11; 
M02(M30); 

 
 
 
T-:    Arbitrary group number (1 to 99999999) 
 

 

NOTE 

1  A group number that is the same as the group 

number of another group cannot be registered. 
An attempt to register such a group number results 
in alarm PS0431. 

2  If an arbitrary group number (T) is 0, alarm PS0431 

is issued. 

3  If ever an arbitrary group number is specified, the T 

command must be specified.    If the T command is 
omitted, alarm PS0149 is issued. 

 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 288 - 

T

 

The function for specifying an arbitrary group number is available 
only if the tool change type is the ATC type (bit 3 (TCT) of parameter 
No. 5040 = 1). 
If the tool change type is the ATC type, the format used for setting an 
arbitrary group number is the same as for the M series. 
 

Remaining life setting 

If the tool life management B function is enabled (bit 4 (LFB) of 
parameter No. 6805 = 1), and a remaining life value is to be set for 
each group separately (bit 3 (GRP) of parameter No. 6802 = 1), a 
remaining life value can be set as tool life management data by 
programming a command. 
 

Format Meaning 

G10L3; 
(or G10L3P1); 
P-L-R-; 
T-H-D-; 
T-H-D-; 
 : 
G11; 
M02(M30); 

 
 
 
R-:    Remaining life setting (remaining life until a new tool 
          is selected) 
 
 

 

NOTE 

1  If the remaining life setting (R) is 0 or omitted, the 

remaining life is assumed to be 0.    In this case, 
the tool life expiration prior notice function is 
disabled. 

2  The remaining life setting (R) cannot exceed the 

life value (L).    If an attempt is made to specify a 
value greater than the life value, alarm PS0431 is 
issued. 

3  The remaining life setting (R) must be an unsigned 

value having no decimal point. 

4  The unit of the remaining life setting (R) depends 

on the setting of bit 1 (FGL) of parameter No. 6805, 
which selects the unit of the tool life value. 

 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 289 - 

Tool life value 
  - If the life management B function is disabled 

If the tool life management B function is disabled (bit 4 (LFB) of 
parameter No. 6805 = 0), a tool life value is registered as a duration or 
a use count according to the setting of bit 2 (LTM) of parameter No. 
6800 or the setting of a count type (Q command).  The maximum 
values are listed below. 

Table 10.5.2 (a)    Life count types and maximum life values 

LFB 

(No.6805#4) 

LTM 

(No.6800#2)

Life count type 

Maximum life value 

Use count specification 

65535 times 

Duration specification 

4300 minutes 

If the count type is duration specification, the unit of a life value 
specified with address L in a program may be one minute or 0.1 
second, which is determined by the setting of bit 1 (FGL) of parameter 
No. 6805. 

Table 10.5.2 (b)    Life value unit and maximum value in L command 

LFB 

(No.6805#4) 

FGL 

(No.6805#1)

Life value 

unit 

Maximum 
value in L 

command 

Example 

1 minute 

4300 

L100:   

Life value is 100 minutes.

0.1 second

2580000 

L1000:   

Life value is 100 seconds.

 

  - If the life management B function is enabled 

If the tool life management B function is enabled (bit 4 (LFB) of 
parameter No. 6805 = 1) 

Table 10.5.2 (c)    Life count types and maximum life values 

LFB 

(No.6805#4) 

LTM 

(No.6800#2)

Life count type 

Maximum life value 

Use count specification

99999999 times 
100000 minutes 

Duration specification 

60000 minutes(Note) 

 

Table 10.5.2 (d)    Life value unit and maximum value in L command 

LFB 

(No.6805#4) 

FGL 

(No.6805#1)

Life value 

unit 

Maximum value 

in L command 

Example 

100000 L100: 

0 1 

minute

60000(Note) 

Life value is 100 minutes.

60000000 L1000: 

1 0.1 

second

36000000(Note)  Life value is 100 seconds.

 

NOTE 

If the life is counted every 0.1 second (bit 0 (FCO) 
of parameter No. 6805 = 1), the maximum value 
specified by duration is 60000 minutes. 

10.TOOL FUNCTION (T FUNCTION)

 PROGRAMMING 

B-63944EN/03

 

 

- 290 - 

10.5.3 

Tool Life Management Commands in Machining Program 

 

Explanation 

 

M

 

 - Commands 

The following commands are used for tool life management: 

 

      T

○○○○○○○○

Specifies a tool group number. 
The tool life management function selects, from a specified group, a 
tool whose life has not expired, and outputs its T code signal. 
In 

{{{{{{{{

, specify the sum of the tool life management 

ignore number specified in parameter No. 6810 and a desired group 
number. 
Example:  To specify tool group number 1 when the tool life 

management ignore number is 100, specify “T101;”. 

NOTE 

      If 

{{{{{{{{

 is not greater than a tool life 

management ignore number, the T code is treated 
as an ordinary T code. 

 

If an arbitrary group number is used (bit 4 (LFB) of parameter No. 
6805 = 1, and bit 5 (TGN) of parameter No. 6802 = 1), it must be a 
preset arbitrary group number rather than a tool group number 
specified in 

{{{{{{{{

Example:  To specify tool group number 1 when arbitrary group 

number 1234 is set for tool group number 1, specify T1234. 

NOTE 

1    If an arbitrary group number is used, the tool life 

management ignore number specified in parameter 
No. 6810 is not used. 

2    If the group specified by 

{{{{{{{{

 is not 

present, the CNC assumes that a tool not controlled 
under the tool life management function is selected. 

 

    M06; 

Terminates life management for the previously used tools, and begins 
counting the life of a new tool selected with the T code. 

NOTE 

1  M06 is treated as an M code not involving buffering. 
2  If more than one M code is to be specified within the 

same block, specify M06 first among these M 
codes. 

 

    H99; 

Selects the H code registered in tool life management data for the 
currently used tool to enable tool length offset.    Parameter No. 13265 
can be used to enable compensation according to an H code other than 
H99. 

B-63944EN/03

 PROGRAMMING 

10.TOOL FUNCTION (T FUNCTION)

 

 

- 291 - 

 

    H00; 

Cancels tool length offset. 
 

    D99; 

Selects the D code registered in tool life management data for the 
currently used tool to perform cutter compensation.     
Parameter No. 13266 can be used to enable compensation according to 
a D code other than D99. 
 

    D00; 

Cancels cutter compensation. 
 

NOTE 

      H99 and D99 must be specified after the M06 

command.    If a code other than H99 or D99 or a 
code other than the H or D code set, respectively, in 
parameter No. 13265 or 13266 is specified following 
M06, no H code or D code is selected for tool life 
management data. 

 

 - Types 

For tool life management, the four tool change types (types A to D) 
listed below are used.    Which type to use varies from one machine to 
another.  For details, refer to the relevant manual of each machine 
tool builder. 

Table 10.5.3  Differences among tool change types 

Tool change type 

 

 

 

 

M6T 

M6E M6T M6E M6T M6E M6T M6E 

Parameters M6T and 

M6E 

M6T (No.6800#7)   
M6E (No.6801#7) 

0 0 

1 0 1 0  1 

Tool group number 

specified in the same 

block as the tool change 

command (M06) 

Tool group already 

used 

Tool group to be used next 

Time when tool life is 

counted 

Life counting is performed for a tool in the specified tool group if M06 is 
specified next. 

Life counting is 
performed if a tool in 
the tool group 
specified in the 
same block as M06 
is specified. 

Remarks 

If the T command (retract tool 
group) following the M06 
command is not the currently 
used tool group, alarm PS0155 
is issued (if bit 6 (IGI) of 
parameter No. 6800 = 0). 

Normally, if a tool group number 
command is specified alone, type B is 
used.    However, even if a tool group 
number command is specified alone with 
type C, no alarm is issued.    (This means 
that there is no difference in operation 
between types B and C.) 

If M06 is specified 
alone, alarm PS0153 
is raised. 

 

 

 

 

 

 

 

 

Content      ..     39      40      41      42     ..