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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     242      243      244      245     ..

 

 

 

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

 

 

10. SPINDLE SPEED FUNCTION

 

 

B-64693EN-1/01

 

- 1906 - 

25803 

 

M code for Cs contour control OFF 

 

NOTE 

1  When this parameter is set, the power must be turned off before 

operation is continued. 

2  Don’t set M code used for any other function. 
3  Auxiliary function code signals M00 to M31<Fn010 to Fn013> and 

auxiliary function strobe signal MF<Fn007.0> are not output. 

4  If this parameter is set to 0, the spindle cannot use Cs contour 

control by program command. 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word spindle 

[Valid data range]  0 to 99999999 

Set M code for Cs contour control OFF. 
 

25804 

 

M code for spindle control mode OFF 1 

 

25805 

 

M code for spindle control mode OFF 2 

 

25806 

 

M code for spindle control mode OFF 3 

 

NOTE 

1  When this parameter is set, the power must be turned off before 

operation is continued. 

2  Don’t set M code used for any other function. 
3  If this parameter is set to 0, the spindle cannot use M code for 

spindle control mode OFF. 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word spindle 

[Valid data range]  0 to 99999999 

Set M code for spindle control mode OFF. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

25807 

 

 

 

 

 

 

 

 

ADP 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

NOTE 

 

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

 

 

#0  ADP 

In Spindle control mode changing by program command, when spindle selection by 
address P of Multi-spindle control is enabled, multi-spindle address P signals MSP00 to 
MSP15<Fn160.0 to Fn161.7> (the value is address P commanded with M code for 
spindle control mode changing) is: 
0: 

Not output. 

1: 

Output. 

 

B-64693EN-1/01

 

 

10. SPINDLE SPEED FUNCTION

 

- 1907 - 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3703 

 

 

 

 

 

MPP 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

NOTE 

 

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

 

 

#3  MPP 

In multi-spindle control, a spindle selection using a programmed  command instead of 
using the signals (SWS1 to SWS4<Gn027.0 to Gn027.2, Gn026.3>) is: 
0: 

Not made. 

1: 

Made. 

 

NOTE 

 

When this parameter is set to 1, set parameter No.3781 at the 
same time. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3712 

 

 

 

 

 

 

CSF 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#2  CSF 

In the Cs contour control mode, the function for setting machine coordinates and absolute 
coordinates based on the machine position of the spindle if the origin is already set up is: 
0: 

Disabled. 

1: 

Enabled. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3729 

 

 

 

 

 

NCSs 

 

 

ORTs 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit spindle 

 

 

#0  ORTs 

When a serial spindle is used, the spindle orientation function of stop position external 
setting type based on the position coder is: 
0: 

Not performed. 

1: 

Performed. 

 

NOTE 

 

When bit 0 (ORPUNT) of No.4542 is set to 1, if bit 0 (ORTs) of 
parameter No.3729 is changed, the power must be turned off 
before operation is continued. 

 

 

#3  NCSs 

When the Cs contour control mode is set: 
0: 

Switching to Cs contour control is completed when the spindle activating current is 
on (the spindle amplifier is ready for operation in the Cs contour control mode). 

1: 

Switching to Cs contour control is completed even when the  spindle activating 
current is off (the spindle amplifier is not  ready for operation in the Cs contour 
control mode). 

 

10. SPINDLE SPEED FUNCTION

 

 

B-64693EN-1/01

 

- 1908 - 

If this parameter is set to 1, the Cs contour control switch end signal  is output without 
waiting for the spindle to decelerate to a stop. 
 

3781 

 

P code for selecting the spindle in multi-spindle control 

 

 

[Input type]  Parameter input 

 

[Data type]  Word spindle 

[Valid data range]  0 to 32767 

If bit 3 (MPP) of parameter No. 3703 is set to 1, set the P code to select each spindle 
under multi-spindle control. Specify the P code in a block containing the S command. 
 

 

[Example]  If the P code value for selecting the second spindle is set to 2, 

S1000 P2; 
Causes the second spindle to rotate at S1000. 
 

NOTE 

1  This parameter is valid if bit 3 (MPP) of parameter No. 3703 is set 

to 1. 

2  If this parameter is set to 0, the corresponding spindle cannot be 

selected by a P code. 

3  Under multi-path control, the P code specified here is valid for each 

path. 

 

For instance, if the P code to select the first spindle of path 2 is set 
to 21, specifying S1000 P21; in path 1 causes the first spindle of 
path 2 to be rotated at S1000. 

4  Identical P code values cannot be used for different spindles. 

(Identical P code values cannot be used even if the paths are 
different.) 

5  When this parameter is used (when bit 3 (MPP) of parameter No. 

3703 is set to 1), the spindle command selection signal is invalid. 

6  To use this parameter, enabling the multi-spindle control (bit 3 

(MSP) of parameter No.8133 is 1) is needed. 

 

4031 

 

Stop position in orientation by a position coder (MAIN spindle) 

 

4204 

 

Stop position in orientation by a position coder (SUB spindle) 

 

 

[Input type]  Parameter input 

 

[Data type]  Word spindle 

 

[Unit of data]  Detection unit 

[Valid data range]  Depend on the bit 0 (ORPUNT) of No.4542 setting (Refer to the table below) 

Bit 0 (ORPUNT) of No.4542 

Least input increment 

Valid data range 

360/4096= 0.08789 

0 to 4095 

360/32768= 0.01098 

0 to 32767 

 
Each of these parameters specifies a stop position in orientation by a position coder. 
These parameters are valid when bit 0 (ORT) of parameter No.3729 is set to 0. 
 

4075 

 

Orientation completion signal detection level (limits of in-position)

MAIN spindle

 

 

4226 

 

Orientation completion signal detection level (limits of in-position)

SUB spindle

 

 

 

[Input type]  Parameter input 

B-64693EN-1/01

 

 

10. SPINDLE SPEED FUNCTION

 

- 1909 - 

 

[Data type]  Word spindle 

 

[Unit of data]  Detection unit 

[Valid data range]  Depend on the bit 0 (ORPUNT) of No.4542 setting (Refer to the table below) 

Bit 0 (ORPUNT) of No.4542 

Least input increment 

Valid data range 

360/4096= 0.08789 

0 to 100 

360/32768= 0.01098 

0 to 1000 

 
This data is used to set the detecting level of orientation completion signal (ORARA). 
ORARA is assumed to be 1 if the position error is within the setting. 
 

4077 

 

Stop position shift amount in orientation by a position coder(MAIN spindle) 

 

4228 

 

Stop position shift amount in orientation by a position coder(SUB spindle) 

 

 

[Input type]  Parameter input 

 

[Data type]  Word spindle 

 

[Unit of data]  Detection unit 

[Valid data range]  Depend on the bit 0 (ORPUNT) of No.4542 setting (Refer to the table below) 

Bit 0 (ORPUNT) of No.4542 

Least input increment 

Valid data range 

360/4096= 0.08789 

-4095 to 4095 

360/32768= 0.01098 

-32767 to 32767 

 
Each  of these parameters specifies a stop position shift amount in orientation by a 
position coder. 
This parameter is valid no matter what the setting of bit 0 (ORT) of parameter No.3729 
is. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

4353 

 

 

 

CSPTRE 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit spindle 

 

 

#5  CSPTRE 

Specifies whether to enable Cs axis positional data transfer, as follows: 
0: 

Disable. 

1: 

Enable. 

 
To use this function, reset bit 7 (RFCHK3) of parameter No. 4016 to 0. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

4542 

 

 

 

 

 

 

 

 

ORPUNT 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit spindle 

 

  #0  ORPUNT 

Least input increment for Stop position of spindle orientation, Stop position shift amount, 
In-position width 
0: 

360/4096 = 0.08789 [deg] 

1: 

360/32768 = 0.01098 [deg] 

 

10. SPINDLE SPEED FUNCTION

 

 

B-64693EN-1/01

 

- 1910 - 

  CAUTION 

 

In the 

α

i

 position coder, the effect is not achieved by the fine 

resolution application of stop position because the sensor 
resolution is 4096p/rev. 

 

NOTE 

 

To use this function, the corresponding serial spindle software is 
required. 

 

Alarm and message 

Number 

Message 

Description 

PS0552 

SP-MODE CHANGE COMMAND 
ERROR 

Spindle control mode changing command is illegal. Causes 
of the alarm are as follows. 
- Spindle control mode changing is commanded for 

disabling spindle. 

- Multiple M commands are commanded in spindle 

orientation ON/OFF command or Cs contour control 
ON/OFF command. 

- Illegal G code (G53, G54) is commanded at spindle 

control mode changing block. 

PS0553 

SP-MODE CHANGE IMPOSSIBLE 

Spindle control mode changing command cannot execute. 
Causes of the alarm are as follows. 
- Spindle control mode changing by program command is 

commanded during spindle orientation or Cs contour 
control by DI signal. 

- During spindle control mode changing, spindle control 

mode changing is commanded from the other path. 

- Spindle control mode changing is commanded when 

spindle control mode off signal MDOFF1 to 
MDOFF4<Gn586.4 to Gn586.7> is "1". 

PS0554 

S-CODE IS NOT COMMANDED 

M03/M04 is commanded alone without S code. 

PW0053 

SP-MODE CHANGE SETTING ERROR 

The setting of parameters Nos.25800 to 25806 is illegal. 
Causes of the alarm are as follows. 
- The setting value is out of range. 
- The same value is set when spindle selection by address 

P is not used. 

- The same value is not set to all spindles when spindle 

selection by address P is used. 

- The value except for 0 is set when spindle orientation or 

Cs contour control is not enabled (bit 4 (NOR) of 
parameter No.8135 is 1 or bit 2 (SCS) of parameter 
No.8133 is 0). 

- One of M code of spindle orientation ON/OFF is set. 
- One of M code of Cs contour control ON/OFF is set.   

 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1911 - 

11 

TOOL FUNCTIONS 

11.1 

TOOL FUNCTIONS OF LATHE SYSTEM 

T

 

 

Overview 

When address T followed by a numeric value is specified, the code signal and strobe signal are sent to the 
machine and are used to select a tool on the machine side. Just one T code can be specified in a block. 
When a move command and T code are specified within the same block, these commands are executed in 
one of the following two ways: 
(1)  The move command and tool function command are started at the same time. 
(2)  After the move command ends, the tool function command is started. 
 

Explanation 

A numeric value following the T code specifies selection of a tool. Part of the numeric value is also used 
as a tool offset number for specifying an offset value such as a tool offset value. Tools are selected 
according to the specification method and parameter setting as Table 11.1 (a): 
 

Table 11.1 (a)   

Meaning of T code (Note 1) 

Parameter setting and offset No. 

specification method (Note 2) 

Bit 1 (LGN) of parameter No. 

5002 =0 

Bit 1 (LGN) of parameter No. 

5002 =1 

T X X X X X X X X 
        

      

 

Tool selection    Tool geometry/ 
               tool wear offset 

T X X X X X X X X 
        

      

 

  Tool selection    Tool wear offset 
  Tool geometry offset 

Tool wear offset No. is specified by 

lowest 1 digit of T code. 

When parameter No. 5028 is set to 1 

T X X X X X X X X 
        

     

 

Tool selection   Tool geometry/ 
                tool wear offset 

T X X X X X X X X 
        

      

 

  Tool selection    Tool wear offset 
  Tool geometry offset 

Tool wear offset No. is specified by 

lowest 2 digits of T code. 

When parameter No. 5028 is set to 2 

T X X X X X X X X 
        

     

 

Tool selection    Tool geometry/ 
               tool wear offset 

T X X X X X X X X 
        

      

 

  Tool selection    Tool wear offset 
  Tool geometry offset 

Tool wear offset No. is specified by 

lowest 3 digits of T code 

When parameter No. 5028 is set to 3 

 

NOTE 

1  The maximum number of digits of the T code can be specified in parameter No. 

3032. (1 to 8 digits) 

2  If 0 is set in parameter No. 5028, the length of the offset number specified in the T 

code depends on the number of tool offsets. 
Example: When the number of tool offsets ranges from 1 to 9: 

Lowest 1 digit 

 

 

When the number of tool offsets ranges from 10 to 99: 

Lowest 2 digits 

 

 

When the number of tool offsets ranges from 100 to 999: Lowest 3 digits 

 

11. TOOL FUNCTIONS

 

 

B-64693EN-1/01

 

- 1912 - 

11.1.1 

Tool Offset 

T

 

 

Overview 

Tool offset is used to compensate for the difference when the tool actually used differs from the imagined 
tool used in programming (usually, standard tool).Tool nose moves on the programmed path by this 
compensation. 

 

Offset amount 
on X axis 

Standard tool 

Actual tool 

Offset amount on Z axis 

 

Fig. 11.1.1 (a)    Tool offset 

 

11.1.2 

Tool Geometry Offset and Tool Wear Offset 

T

 

 

Overview 

Tool geometry offset and tool wear offset are possible to divide the tool offset to the tool geometry offset 
for compensating the tool shape or tool mounting position and the tool wear offset for compensating the 
tool nose wear. When these values are not distinguished from each other, the total of the values is set as 
the tool offset value. 
By setting the bit 0 (WOF) of parameter No.3290, the modification of tool wear  offset values or tool 
position offset values by MDI key input can be disabled. 
By setting the bit 1 (GOF) of parameter No.3290, the modification of tool geometry offset values by MDI 
key input can be disabled. In order to permit an operator only to modify tool wear offset values, set the bit 
1 (GOF) of parameter No.3290 to 1. 
 

 

Fig. 11.1.2 (a)    If tool geometry compensation and tool wear compensation are   

distinguished from each other (left) and if they are not (right) 

Point on the program 

X axis geometry 
offset value 

X axis wear offset value 

Z axis geometry offset value 

Z axis wear offset value 

Offset amount 
on X axis 

Offset amount on Z axis 

Point on the program 

Imaginary tool 

Actual tool 

B-64693EN-1/01

 

 

11. TOOL FUNCTIONS

 

- 1913 - 

Set the distance from tool nose to the point on the program ( tool nose of standard tool, or tool mounting 
position ) to a tool geometry offset value. 
 
Generally, a sign of tool wear offset value is the opposite to a sign of tool geometry offset value. In the 
example of the above  figure, the geometry  offset  value is a positive and the wear offset value is a 
negative. 

 

11.1.3 

Offset 

T

 

 

Explanation 

  - 

Compensation methods 

Two methods are available to geometry compensation and wear compensation, compensation with tool 
movement and compensation with coordinate shift. Which compensation method to select can be 
specified with bits 2 (LWT) and 4 (LGT) of parameter No. 5002. When  the tool geometry/wear 
compensation is not enabled (bit 6 (NGW) of parameter No. 8136 is set to 1), however, compensation 
with tool movement is assumed unconditionally. 
 

Table 11.1.3 (a) 

Tool geometry 

and wear 

compensation   

NGW(No.8136#6) 

Compensation element 

Parameter 

LWT=0 

LGT=0 

LWT=1 

LGT=0 

LWT=0 

LGT=1 

LWT=1 

LGT=1 

Disable (NGW=1) 

Wear and geometry not 
distinguished 

Tool movement 

Enable (NGW=0) 

Wear compensation 

Tool movement  Coordinate shift  Tool movement  Coordinate shift 

Geometry compensation  Coordinate shift  Coordinate shift  Tool movement  Tool movement 

 

  - 

Compensation with tool movement 

The tool path is offset by the X, Y, and Z tool offset values for the programmed path. The tool offset 
distance corresponding to the number specified by the T code is added to or subtracted from the end 
position of each programmed block. 
The vector with tool offset X, Y, and Z is called the offset vector. Compensation is the same as the offset 
vector. 

 

This move command block 
contains the offset command 
with T code 
 

Tool path after offset 

Programmed path 

Compensation by tool offset X, Z (offset vector) 

 

Fig. 11.1.3 (a) Offset operation with tool movement 

 

 

 

 

 

 

 

 

Content      ..     242      243      244      245     ..