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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     244      245      246      247     ..

 

 

 

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

 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1922 - 

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. 
 

NOTE 

 

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

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5040 

 

 

 

 

 

 

 

 

OWD 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  OWD

  In radius programming (bit 1 (ORC) of parameter No. 5004 is set to 1), 

0: 

Tool offset values of both geometry compensation and wear compensation are 
specified by radius. 

1: 

Tool offset value of geometry compensation is specified by radius and tool offset 
value of wear compensation is specified by diameter, for an axis of diameter 
programming. 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1923 - 

NOTE 

 

This parameter is valid when tool geometry/wear compensation is 
enabled (bit 6 (NGW) of parameter No.8136 is 0). 

 

Alarm and message 

Number 

Message 

Description 

PS0245 

T-CODE NOT ALLOWED IN 
THIS BLOCK 

One of the G codes, G50, G10, G04, G28, G29, G30, and G53, 
which cannot be specified in the same block as a T code, was 
specified with a T code. 

 

11.1.4 

Extended Tool Selection Function 

T

 

 

Overview 

In lathe system machines, tools are changed mainly with the following two methods: 
 
(1)  With a turret holding multiple tools, tools are changed by turning the turret (T command). 
(2)  With an automatic tool changer (ATC), tools are changed by using both cartridge indexing (T 

command) and tool change (such as M06) commands. 

 
To support the tool  change method explained in (2) above, the following tool selection specifications 
apply to this function: 
<1>  Tool compensation by a T command is disabled. This means that the T command performs auxiliary 

functions only. 

<2>  Tool compensation is enabled by using a G code instead of the T command. In this case, the 

following types of tool compensation are enabled: 

Tool length compensation 

Tool offset (compensation equivalent to that of a T command in the case of turret rotation type) 

 

Explanation 

  - 

Selecting a tool change method 

Bit 3 (TCT) of parameter No. 5040 selects a tool change method. 
This changes the way for specifying tool compensation. 
This parameter setting has influence on the range in the Table 11.1.4 (a)  : 
 

Table 11.1.4 (a)     

 

Bit 3 (TCT) of parameter No. 

5040 = 0 (Turret type) 

Bit 3 (TCT) of parameter No. 

5040 = 1 (ATC type) 

Operation of T command 

Auxiliary function (tool change) 

and tool compensation 

Auxiliary function (tool indexing) 

only 

Tool compensation 

Specified with T code 

Specified with G43.7 D_   

Compensation No. of tool 

compensation 

Specified with T code 

Specified with D code 

Compensation No. of tool-nose radius 

compensation 

Specified with T code 

Specified with D code 

Command such as G43, etc. (group 23) 

Disabled (alarm) 

Enabled 

Compensation number of G43, etc. 

(group 23) 

Specified with D code 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1924 - 

  - 

T command operation 

(1)  When bit 3 (TCT) of parameter No. 5040 is 0 

The T command performs an auxiliary function and tool compensation. 
The code signal issued to the machine is the T command value except the last 1 to 3 digits. 
For example, suppose that the following command is issued when 2 is set in parameter No. 5028 (the 
number of digits comprising the offset number in the T code command): 
    T0313 ; 
The T code signal sent to the machine indicates 03. 
The tool compensation number, indicated by the lowest 2 digits, is 13. 

(2)  When bit 3 (TCT) of parameter No. 5040 is 1 

The T command performs an auxiliary function only. 
In this case, the code signal issued to the machine is the T command value. 
For example, suppose that the following is specified: 
    T0313 ; 
The T code signal issued to the machine is 0313. The T code signal is not affected by the setting of 
parameter No. 5028 (the number of digits comprising the offset number in the T code command). 
The tool compensation number is not affected by this command. 

 

  - 

Tool compensation 

(1)  When bit 3 (TCT) of parameter No. 5040 is 0 

The T command performs tool compensation. 

(2)  When bit 3 (TCT) of parameter No. 5040 is 1 

The T command does not perform tool compensation. 
To provide tool compensation, specify G43.7 D_. 
Tool compensation is performed in the same way as with the T command when bit 3 (TCT) of 
parameter No. 5040 is 0. 

 

  - 

Compensation number of tool compensation 

(1)  When bit 3 (TCT) of parameter No. 5040 is 0 

The lowest 1 to 3 digits of the T command are used. The number of digits is set in parameter No. 
5028. 

 

When tool geometry/wear compensation is enabled (bit 6 (NGW) of parameter No.8136 is 0), tool 
geometry compensation and wear compensation may also be assigned different compensation values 
by setting bit 1 (LGN) of parameter No. 5002. 

 

For details, see Section "TOOL FUNCTIONS OF LATHE SYSTEM". 

(2)  When bit 3 (TCT) of parameter No. 5040 is 1 
 

Except that a compensation number is specified with a D command, the same operation as (1) above 
is performed. 

 

  - 

Compensation number of tool-nose radius compensation 

Same as for tool compensation described above. 
 

  - 

Specification of G43, etc. 

(1)  When bit 3 (TCT) of parameter No. 5040 is 0 

G codes of group 23 such as G43 cannot be specified. 
Specifying such a G code results in an alarm PS0366,  “IMPROPER G-CODE IN TURRET 
METHOD”. 

(2)  When bit 3 (TCT) of parameter No. 5040 is 1 

G codes of group 23 such as G43 can be specified. The following G codes can be specified: 
 

G43/G44:  Tool length compensation 

 

G43.7: 

Tool compensation 

Specify a compensation number with D_. The D code is specified in the same way as for tool 
compensation and tool-nose radius compensation. 
 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1925 - 

The reverse meanings can be set for G43/G44 and G43.7 by setting bit 4 (TLG) of parameter No. 
5040. 

 

  - 

Tool compensation memory 

As the compensation amount used by the functions listed below, only the value set in Z on the tool 
compensation memory screen is used, Values such as values set for the X, R, and Y-axis offsets are 
ignored. 
 
 

G43/G44: Tool length compensation 

 
As the compensation amount used in the following function, the values set for the X, Z, and Y-axis 
offsets on the tool compensation memory screen are used: 

 

 

G43.7:    Tool compensation 

 

Limitation 

  - 

Switching between tool compensation mode and another compensation mode 

In the tool compensation (G43.7) mode, a command such as a tool length compensation command 
(G43/G44) cannot be specified. Similarly, in a mode such as the tool length compensation mode 
(G43/G44), tool compensation (G43.7) cannot be specified. 
Specifying such a command results in the alarm PS0368,  “OFFSET REMAIN AT OFFSET 
COMMAND”. 
To switch between compensation types, specify G49 to cancel the current compensation mode before 
setting another compensation mode. 
 

  - 

Multiple repetitive canned cycle 

When a multiple repetitive canned cycle is executed with bit 3 (TCT) of parameter No. 5040 set to 1, note 
the following: 
 

  CAUTION 

1  When a G71 to G76 command is specified in the FS15 tape format, a value such 

as the depth of cut is specified with a D code. In this case, a D command 
specified after G71 to G76 is assumed to be the depth of cut. For example, 
suppose that the command shown below is specified. In this case, the D 
command <1> is assumed to be the tool compensation number, and the D 
command <2> is assumed to be the depth of cut. 
  Example: 
  D10 G71 P_Q_ U_ W_ D7000 F_ S_; 
   <1>                   <2> 

2  In the operation of G71 to G73, a G code such as G43 and a D command 

specified in the finish figure blocks (the portion enclosed by the sequence 
numbers specified with P_ and Q_) are ignored, and the compensation amount 
set when the G71 to G73 block is specified becomes valid. 

 

  - 

Changing bit 3 (TCT) of parameter No. 5040 

  WARNING 

 

Before changing the setting of bit 3 (TCT) of parameter No. 5040, cancel the 
offset. If the setting is changed while the offset is applied, the subsequent offset 
operation may not be performed correctly or an alarm PS0368 occurs. 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1926 - 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5040 

 

 

 

 

TLG 

TCT 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#3  TCT

  The tool change method is based on:   

0: 

Turret rotation. (Tool change operation is performed with a T command only.) 
With a T command, an auxiliary function and tool offset operation are performed. 

1: 

Automatic tool changer (ATC). 
(Tool change operation is performed with an M command (such as M06)). 

With a T command, an auxiliary function only is performed. 
This parameter is valid with a lathe system only. 
 

  WARNING 

 

Before changing the setting of this parameter, cancel the offset. If 
the setting is changed while the offset is applied, the subsequent 
offset operation may not be performed correctly or an alarm 
PS0368 occurs. 

 

 

#4  TLG

  When tool change operation is performed with the automatic tool changer (when bit 3 

(TCT) of parameter No. 5040 is set to 1), tool offset operation is specified by: 
0: 

G43.7. 
At this time, G43 and G44 function as G codes for tool length compensation. 

1: 

G43. 
At this time, G43.7 and G44.7 function as G codes for tool length compensation. 

 

Alarm and message 

Number 

Message 

Description 

PS0366 

IMPROPER G-CODE IN TURRET 
METHOD 

When the turret change tools method was selected (bit 3 
(TCT) of parameter No. 5040 = 0), G43, or G43.7 was 
commanded. 

PS0368 

OFFSET REMAIN AT OFFSET 
COMMAND 

When the ATC change tools method was selected (bit 3 
(TCT) of parameter No. 5040 = 1) during G43 mode, 
G43.7 was commanded. Or, G43 was commanded during 
G43.7 mode. 

After bit 3 (TCT) of parameter No. 5040 was changed in 
the state in which a tool offset remained, another tool 
offset was specified. 

 

Reference item 

Manual name 

Item name 

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

Extended tool selection function 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1927 - 

11.1.5 

Automatic Alteration of Tool Position Compensation (T 
Function) 

T

 

 

Overview 

After cutting tools are changed manually, entering the tool number of a new tool enables the previous tool 
position compensation values (tool geometry and wear compensation) to be changed to those for the new 
tool. 
 

Details 

After changing cutting tools manually, place the CNC in the JOG or HNDL (INC), or REF mode, enter 
the tool number of a new tool as a  manual tool compensation tool number signal MTLN  <Gn068, 
Gn069> or MT8N  <Gn525-Gn528> from the PMC, and set the  compensation command signal MTLC 
<Gn067.0> to 

1

. The CNC  will read the tool number and change the previous tool position 

compensation values to those for the specified tool. Upon completion of the compensation value change, 
the compensation completion signal MTLA <Fn061.5> is output. 

   

 

Manual tool 
change 

Compensation command 
signal 
MTLC(PMC

CNC) 

<Gn067.0>

 

Compensation 
completion signal 
MTLA(CNC

PMC) 

<Fn061.5> 

Manual tool 
compensation tool 
number signal 
MTLN(PMC

CNC) 

<Gn068,Gn069> 
<Gn525-Gn528>

 

Tool number (4 or 8 BCD digits) 

Changing compensation values (CNC) 

 

Fig. 11.1.5 (a) 

 
Four BCD digits are used to specify the manual tool compensation tool number MTLN <Gn068, Gn069>. 
If it is necessary to specify the manual tool compensation tool number with a number exceeding 4 digits, 
use MT8N <Gn525-Gn528> to specify it with 8 BCD digits. Which size to use can be selected using bit 7 
(MTL8D) of parameter No. 11400. The same rules as for the T code command in automatic operation are 
applied in specifying how many digits, 4 or 8, to use as the geometry or wear compensation numbers 
(parameter No. 5028). 
This function is available only if the CNC is in the JOG, HNDL, or REF mode. 
In any other operation mode, during automatic operation (running, pause, or stop), in the tool-nose radius 
compensation mode, (G41/G42 mode), setting the compensation command signal MTLC to 

1

 does not 

enable compensation. 
If compensation is unavailable, the compensation completion signal MTLA does not become 

1

. Instead 

the compensation uncompleted signal MTLANG <Fn061.4> becomes 

1

. The reason for MTLANG = 1 

can be known from diagnosis data No. 560. 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1928 - 

 

Compensation command 
signal 
MTLC(PMC

CNC) 

<Gn067.0>

 

 

Compensation  uncompleted 
signal 
MTLANG(CNC

PMC) 

<Fn061.5> 

Manual tool 
compensation tool 
number signal 
MTLN(PMC

CNC) 

<Gn068,Gn069> 
<Gn525-Gn528>

 

Tool number (4 or 8 BCD digits)

 

 

Manual tool 

change 

 

Compensation change is impossible (CNC) 

 

Compensation 
completion signal 
MTLA(CNC

PMC) 

<Fn061.4> 

 

 

Fig. 11.1.5 (b) 

 

Signal 

Manual tool compensation tool number signal (4 digits)   

MTLN00 to MTLN15<Gn068, Gn069> 

  [Classification]  Input signal 
 

[Function]  Specifies a tool number for manual tool compensation, using 4 BCD digits. 

 

Manual tool compensation tool number signal (8 digits)   

MT8N00 to MT8N31<Gn525-Gn528> 

  [Classification]  Input signal 
 

[Function]  Specifies a tool number for manual tool compensation, using 8 BCD digits. 

 

Manual tool compensation command number MTLC<Gn067.0> 

  [Classification]  Input signal 
 

[Function]  Requests to perform manual tool compensation. Setting this signal from 

0

 to 

1

   

causes manual tool compensation to be performed. Re-set it to 

0

 when the compensation 

completion signal becomes = 

1

 

Manual tool compensation completion signal MTLA<Fn061.5> 

  [Classification]  Output signal 
 

[Function]  Informs that manual tool compensation is completed. This signal becomes 

1

  when a 

compensation value is changed in manual tool compensation. It becomes 

0

  when the 

compensation command signal MTLC becomes 

0

 

Manual tool compensation uncompleted signal MTLANG<Fn061.4> 

  [Classification]  Output signal 
 

[Function]  Informs that manual tool compensation is uncompleted. This signal becomes 

1

  if an 

attempt to perform manual tool compensation fails in changing a compensation value for 
any reason. It becomes 

0

 when the compensation command signal MTLC becomes 

0

    The reason for the failure of the attempt can be known from diagnosis data No. 560. 

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1929 - 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn068 

 

MTLN07 

MTLN06 

MTLN05 

MTLN04 

MTLN03 

MTLN02 

MTLN01 

MTLN00 

 

Gn069 

 

MTLN15 

MTLN14 

MTLN13 

MTLN12 

MTLN11 

MTLN10 

MTLN09 

MTLN08 

 

Gn525 

 

MT8N07 

MT8N06 

MT8N05 

MT8N04 

MT8N03 

MT8N02 

MT8N01 

MT8N00 

 

Gn526 

 

MT8N15 

MT8N14 

MT8N13 

MT8N12 

MT8N11 

MT8N10 

MT8N09 

MT8N08 

 

Gn527 

 

MT8N23 

MT8N22 

MT8N21 

MT8N20 

MT8N19 

MT8N18 

MT8N17 

MT8N16 

 

Gn528 

 

MT8N31 

MT8N30 

MT8N29 

MT8N28 

MT8N27 

MT8N26 

MT8N25 

MT8N24 

 

Gn067 

 

 

 

 

 

 

 

 

MTLC 

 

Fn061 

 

 

 

MTLA 

MTLANG 

 

 

 

 

 

Diagnosis data 

0560 

 

Manual tool compensation status number 

 
 

[Data type]  Byte 

 

[Unit of data]  None 

[Valid data range] 0 to 255 

The following numbers are used to indicate whether compensation is completed or the 
reason for uncompleted compensation (if occur). 
0: 

Manual tool compensation is completed normally. 

1: 

The T code-specified data has exceeded the permissible range. 

2: 

The offset value is out of range. 

3: 

The offset number is out of range. 

4: 

The CNC is undergoing automatic operation or axis movement. 

5: 

The CNC is in the tool-nose radius compensation mode. 

6: 

The CNC is in a mode other than the JOG, HNDL (INC), or REF mode. 

7: 

A CNC parameter has specified an invalid number. 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11400 

 

 

 

 

 

 

 

 

MTL8D 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  MTL8D

  The number of digits in the T code used for automatic change of tool position 

compensation is specified as follows: 
0: 

4 digits (Existing DI signals <Gn068 and Gn069> are used.) 

1: 

8 digits (The DI signals <Gn525 to Gn528> are used.) 

 

Notes 

If the CNC is in the following conditions, setting the compensation command signal MTLC to 

1

 cannot 

change compensation values, and therefore, the compensation uncompleted signal MTLANG becomes 

1

 

 

 

 

 

 

 

Content      ..     244      245      246      247     ..