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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     254      255      256      257     ..

 

 

 

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

 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 2002 - 

Table 11.4.4 

First geometry tool offset 

Second geometry tool offset 

No. 

X axis 

Z axis 

No. 

X axis 

Z axis 

01 

20.000 

5.000 

01 

0.000 

0.000 

10 

25.000 

8.000 

10 

0.000 

0.000 

11 

-20.000 

5.000 

11 

120.000 

10.000 

12 

-10.000 

3.000 

12 

120.000 

-30.000 

13 

-15.000 

0.000 

13 

120.000 

-70.000 

16 

-18.000 

7.000 

16 

120.000 

-190.000 

 

  - 

Offset data 

The data for the second geometry tool offset can be set for each path. The number of items of the data can 
be set with parameter No. 5024. The data remains stored even after the power is turned off. 
If the data is to be made common to paths, use the memory common to paths. 
 

Signal 

Second geometry tool offset signal G2SLC<Gn090.7> 

  [Classification]  Input signal 
 

[Function]  This signal selects whether to use the second geometry tool offset. 

 

[Operation]  When a tool number is specified with a T code, only the first geometry tool offset is used 

as the tool geometry offset value if this signal is 0; if this signal is 1, the value obtained 
by adding the second geometry tool offset to the first geometry tool offset is used as the 
tool geometry offset value. 

 

NOTE 

 

To switch this signal, use an M code for suppressing buffering. If 
the signal is switched without suppressing buffering during 
automatic operation, it is likely that no offset may work properly. 

 

Second geometry tool offset axis selection signals   

G2X,G2Z,G2Y<Gn090.4, Gn090.5, Gn090.6> 

  [Classification]  Input signal 
 

[Function]  These signals select the axis for which the second geometry tool offset is added to the 

first geometry tool offset. 

 

[Operation]  If these signals are set to 0, the second geometry tool offset is not added to the controlled 

axis corresponding to the axis bit. 
If these signals are set to 1, the second geometry tool offset is added to the controlled axis 
corresponding to the axis bit. 
These signals are valid when the second geometry tool offset signal G2SLC is set to 1. 

 

NOTE 

 

G2Y requires the Y-axis offset. 

 

Tool offset direction signals G2RVX,G2RVZ,G2RVY<Gn090.0, Gn090.1, Gn090.2> 

  [Classification]  Input signal 
 

[Function]  When a tool offset is used, these signals change the direction of the compensation 

amount. 
The direction of the tool offset for compensation is determined by tool movement as 
follows: 
0: 

The same direction as the direction indicated by the sign 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 2003 - 

1: 

The opposite direction to the direction indicated by the sign 

 

NOTE 

1  G2RVY requires the Y-axis offset. 
2  This signal cannot shift a coordinate. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn090 

 

G2SLC 

G2Y 

G2Z 

G2X 

 

G2RVY 

G2RVZ 

G2RVX 

 

Parameter 

3032 

 

Allowable number of digits for the T code 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  1 to 8 

Set the allowable numbers of digits for the T code. 
When 0 is set, the allowable number of digits is assumed to be 8. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3290 

 

 

 

GO2 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#5  GO2

  Setting the second geometric tool offset value by MDI key input is: 

0: 

Disabled. 

1: 

Not disabled. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5002 

 

 

LWM 

 

LGT 

 

 

LGN 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#1  LGN

  Geometry offset number of tool offset   

0: 

Is the same as wear offset number 

1: 

Specifies the geometry offset number by the tool selection number 

 

NOTE 

 

This parameter is valid when tool geometry/wear compensation is 
specified. 

 

 

#4  LGT

  Tool geometry compensation 

0: 

Compensated by the shift of the coordinate system 

1: 

Compensated by the tool movement 

 

NOTE 

 

This parameter is valid when tool geometry/wear compensation is 
specified. 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 2004 - 

 

#6  LWM

  Tool offset operation based on tool movement is performed: 

0: 

In a block where a T code is specified. 

1: 

Together with a command for movement along an axis. 

 

5024 

 

Number of tool compensation values 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0 to 999 

Set the maximum allowable number of tool compensation values used for each path. 
Ensure that the total number of values set in parameter No. 5024 for the individual paths 
is within the number of compensation values usable in the entire system. The number of 
compensation values usable in the entire system depends on the option configuration. 
If the total number of values set in parameter No. 5024 for the individual paths exceeds 
the number of compensation values usable in the entire system, or 0 is set in parameter 
No. 5024 for all paths, the number of compensation values usable for each path is a value 
obtained by dividing the number of compensation values usable in the entire system by 
the number of paths. 
Tool compensation values as many as the number of compensation values used for each 
path are displayed on the screen. If tool compensation numbers more than the number of 
compensation values usable for each path are specified, alarm PS0115 “VARIABLE NO. 
OUT OF RANGE” is issued. 
For example, 64 tool compensation sets are used, 20 sets may be allocated to path 1, 30 
sets to path 2, and 14 sets to path 3. All of 64 sets need not be used. 
 

5028 

 

Number of digits of an offset number used with a T code command 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  0 to 4 

Specify the number of digits of a T code portion that is used for a tool offset number 
(wear offset number when the tool geometry/wear compensation function is used). 
When 0 is set, the number of digits is determined by the number of tool compensation 
values. 
When the number of tool compensation values is 1 to 9: Lower 1 digit 
When the number of tool compensation values is 10 to 99: Lower 2 digits 
When the number of tool compensation values is 100 to 999: Lower 3 digits 

 

[Example]  When an offset number is specified using the lower 2 digits of a T code, set 2 in 

parameter No. 5028. 
Txxxxxx yy 
xxxxxx : Tool selection 
yy : Tool offset number 
 
In tool management function, set 4 in this parameter to set 4-digit number in parameter 
No.13265. 
 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 2005 - 

NOTE 

 

A value longer than the setting of parameter No. 3032 (allowable 
number of digits of a T code) cannot be set. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (For Lathe System) 
(B-64694EN-1) 

Second Geometry Tool Offset 

 

11.5 

TOOL LIFE MANAGEMENT 

Tools are classified into several groups, and a tool life (use count or use duration) is specified for each 
group in advance. Each time a tool is used, its life is counted, and when the tool life expires, a new tool 
that is sequenced next within the same group is selected automatically. With this function, the tool life 
can be managed while machining is being performed continuously. Data for tool life management 
consists of tool group numbers, tool life values, tool numbers, and codes for specifying a tool offset value. 
These data items are registered in the CNC. 

 

 

Tool group number m 

Tool life value l 

 

 
 

Tool number (T)  Code for specifying tool offset 

value (H/D) 

1st-tool management data 

2nd-tool management data 





nth-tool management data 

 

Tool life 
management data 

Tool group number 1 

         : 
         : 

Tool group number m 

         : 
         : 

Tool group number p 

 

Machining program 

          : 
          : 
          : 
Command for selecting 
tool group m 
          : 
          : 
Tool change command 
(M06) 
          : 
          : 

 

Select   

tool. 

Machine and CNC operations 

Machine 

CNC 

Places a 

selected tool 

in the wait 

state. 

Automatically 

selects, from tool 

group m, a tool 

whose life has not 

expired. 

Attaches the 

tool in the 

wait state to 

the spindle 

(tool 

change). 

Starts counting the 

life of the tool 

attached to the 

spindle. 

 

 

Fig. 11.5 (a) Tool selection from machining program 

 

M

 

A group is selected by a T code, and tool life counting is started by the M06 command. 

 

T

 

The T series has two tool change types (the turret type and the ATC type). The turret type uses only a T 
code to select a group, specify a tool offset value, and start tool life counting, whereas the ATC type, like 
the M series, uses a T code to select a group and the M06 command to start tool life counting. With the 
ATC type, only a D code is used for specifying a tool offset value. The tool change type is selected by bit 
3 (TCT) of parameter No. 5040. 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 2006 - 

  CAUTION 

 

This function cannot be used if bit 1 (LGN) of parameter No. 5002 is set to 1 to 
use the same number as the tool selection number to specify a geometric offset 
number. 

 

  - 

Life management B function 

If the tool life management B function is enabled, the maximum tool life value can be extended, and the 
tool life expiration prior notice signal TLCHB  <Fn064.3>  can be output to post tool life expiration in 
advance when the remaining life (the life value -  the life counter value) has reached the remaining life 
setting. The remaining life setting is registered as tool life management data in the CNC in advance. 
The tool life management B function is enabled by setting bit 4 (LFB) of parameter No. 6805 to 1. 
 

M

 

If the tool life management B function is enabled, the function for selecting a tool group by an arbitrary 
group number can be used. 

 

T

 

The tool life management B function can be used. However, the function for selecting a tool group by an 
arbitrary group number can be used only if the tool change type is the ATC type (bit 3 (TCT) of 
parameter No. 5040 = 1). 
 

  - 

Maximum number of tool life management groups and multi-path system 

Up to 256 tool life management groups can be used in the entire CNC system. 
For each path, set a maximum number of groups to be used in parameter No. 6813. 
The maximum number of groups must be a multiple of the minimum number of groups (eight groups). If 
the maximum number of groups is 0, the tool life management function is disabled. 
 

 

Multipath system (when tool life management is performed for three paths) 
Suppose that, of the total groups in the system (256 groups), 128 groups are 
allocated to path 1, 64 groups to path 2, and 64 groups to path 3.    Then, set 
parameter No. 6813 as follows: 

Tool life management data file 
(256 groups in total in system) 

Path 1 

Up to 128 groups 

Path 2 

Up to 64 groups 

Path 3 

Up to 64 groups 

 

  Parameter No. 6813 

Path 1 

Set 128 in parameter 

Path 2 

Set 64 in parameter 

Path 3 

Set 64 in parameter 

 

 

Fig. 11.5 (b) Group allocation in entire system 

 

Signal 

Tool change signal TLCH <Fn064.0> 

  [Classification]  Output signal 
 

[Function]  Informs that the life of the last tool in a group has expired. 

 

[Output cond.]  The signal becomes 1 when: 

The life of the last tool in a group has expired, after the next tool of the group was 
selected each time the life of each tool in the group expired. 

The signal becomes 0 when: 

There is no group whose life has expired. 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 2007 - 

 

When the signal is 1, it is reset to 0 by informing the CNC that tool change has been 
finished for all groups in which the life of all tools had expired, by inputting the tool 
change reset signal TLRST from the PMC or operating on the MDI. 

 

  CAUTION 

 

If the tool life is specified by use count, the tool change signal 
TLCH becomes 1 when the CNC is reset by a command such as 
M02 or M30 after the tool life has expired or when the tool life count 
restart M code is issued. 
If the tool life count type is specified by duration, the TLCH 
becomes 1 when the tool life expires, even if machining is in 
progress. Machining, however, continues until the end of the 
program. 

 

Tool change reset signal TLRST <Gn048.7> 

  [Classification]  Input signal 
 

[Function]  Clears all execution data, such as tool life count values and marks "*" and "@", for a 

group. 
After replacing all tools in the groups in which the life of all the tools has expired (as 
shown on the screen) with new ones, input this signal by specifying a group number, 
using the tool group number selection  signals (TL01 to TL512). Setting bit 4 (GRS) of 
parameter No. 6800 to 1 can clear execution data for all registered groups without 
inputting the tool group number select signal. 
Execution data can be cleared also by operating on the MDI. 

 

[Operation]  When the signal changes from 0 to 1, the control unit behaves as explained below. 

If the lives of all tools in the group specified by the tool group number selection 
signals (TL01 to TL512) have expired, the related information is cleared. Therefore, 
when a subsequent program command specifies the group number, tools are selected 
from the beginning. If the group specified by the tool group number selection signals 
(TL01 to TL512) contains at least one tool whose life has not expired, no special 
operation takes place. 

 

NOTE 

 

Set the tool change reset signal TLRST from 0 to 1 only when the 
control unit is not in the reset state (the RST signal is 1) and the 
following conditions are satisfied: 
1)  If bit 5 (TRS) of parameter No. 6805 = 0 
 

Reset state (the OP signal is 0) 

2)  If bit 5 (TRS) of parameter No. 6805 = 1 

<1> Reset state (the OP signal is 0) 
<2> Automatic operation stop state (the STL signal and the SPL 

signal are 0 and the OP signal is 1) 

<3> Automatic operation stop state (the STL signal is 0 and the 

SPL signal is 1) 

 

(In the automatic operation stop state, automatic operation 
pause state, and automatic operation start state (the STL 
signal is 1) during execution of a data setting command 
(G10 L3), however, the tool change reset signal TLRST is 
invalid.) 

 

Individual tool change signal TLCHI <Fn064.2> 

  [Classification]  Output signal 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 2008 - 

 

[Function]  When the tool life count is specified by duration, this signal informs that the life of the 

currently used tool has expired. The signal can be used to cause an interrupt to program 
execution, to run a tool change program, and, after tool exchange, to resume the 
interrupted program execution. 

 

[Operation]  The signal becomes 1 when: 

The life of the currently used tool has expired. 

The signal becomes 0 when: 

An individual tool change reset is executed. 

 

Individual tool change reset signal TLRSTI <Gn048.6> 

  [Classification]  Input signal 
 

[Function]  Resets the individual tool change signal TLCHI to 0. 

 

[Operation]  When this signal becomes 1, the control unit behaves as explained below. 

The individual tool change signal is reset to 

0

 

NOTE 

1  These signals are valid only for tool life management in which the 

tool life count type is specification by duration. 

2  The individual tool change signal TLCHI is not cleared by a reset. 

 

Tool skip signal TLSKP <Gn048.5> 

  [Classification]  Input signal 
 

[Function]  Skips a tool whose life has not expired and selects the next tool forcibly. One of the 

following two methods can be selected according to the setting of bit 3 (SIG) of 
parameter No. 6800: 
(i)  How to specify a group number by using the tool group number select signals (SIG 

= 1) 

 

Specify the group number of the tool to be skipped by using the tool group number 
selection signals (TL01 to TL512), then set the tool skip signal to 1. The next T code 
command will then select the next tool in the group which is specified to be skipped. 

(ii)  How not to specify  a group number by using the tool group number select  signals 

(SIG = 0) 

 

Set the tool skip signal TLSKP to 1 without specifying any group number. The 
group to which the currently selected tool belongs is then assumed to be specified. 

 

The next T code command will select the next tool in the group for which the skip is 
specified. 

When the tool skip signal TLSKP is set to 1 for the last tool, the tool change signal TLCH 
is set to 1. 

 

[Operation]  When this signal is set from 0 to 1, the control unit behaves as explained below: 

Among the tools whose lives have not expired in the group for which a skip 
operation is specified, the smallest tool number in the tool life management table is 
marked with "#". When the group is specified again by a T code command, the 
marked tool is skipped, and the next new tool is selected. 
When the tool skip signal TLSKP is set to 1 for the last tool, the tool change signal 
TLCH is set to 1. 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 2009 - 

  CAUTION 

 

The tool skip signal TLSKP can be used even in the automatic 
operation start state (the STL signal is 1), but a tool selection from 
a group by a T command is made when the command is buffered. 
This means that after the command is buffered, inputting the tool 
skip signal TLSKP does not select the next tool. Therefore, when 
supplying the tool skip signal TLSKP in the automatic operation 
start state (the STL signal is 1), disable tool selection, for example, 
by suppressing buffering before setting the signal from 0 to 1. 

 

New tool select signal TLNW <Fn064.1> 

  [Classification]  Output signal 
 

[Function]  Notifies the PMC that a new tool has been selected from a group. This signal can be used, 

for example, if the tool length offset value of a newly selected tool is to be measured 
automatically when the tool is selected. 

 

[Output cond.]  The signal becomes 1 if: 

 

  A next new tool is selected because the life of the tools used in the    group has expired 

when a tool group number is commanded by T code command. 

 

  After the code signal for the new tool is sent out, the TLNW becomes 1 at the same time 

when the tool function strobe signal TF is sent out. 

 

  The signal becomes 0 if: 

 

  The completion signal FIN for the strobe signal TF becomes to 1 when the TLNW is 1. 

 

T command 

Code signals T0 to T31 

Strobe signal TF 

New tool select signal  
TLNW 

Completion signal FIN 

 

 

Tool group number selection signals TL01 to TL512 <Gn047.0 to Gn048.1> 

  [Classification]  Input signal 
 

[Function]  These signals specify a tool group number. Before the tool change reset signal TLRST or 

the tool skip signal TLSKP is input, the target group for the tool change reset operation or 
tool skip operation is specified with these signals. 

 

[Operation]

 

The table given below shows the correspondence between tool group numbers and the 
tool group signals by providing several examples. A binary number plus 1 indicates a tool 
group number. A group with a specified number is then selected. 

 

TL512 

TL256 

TL128 

TL64 

TL32 

TL16 

TL08 

TL04 

TL02 

TL01 

Tool group 

number 

10 

15 

20 

 

 

 

 

 

 

 

Content      ..     254      255      256      257     ..