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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     128      129      130      131     ..

 

 

 

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

 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 994 - 

- Threading start angle increment 

The threading start angle (Q) increment is 0.001 degrees. Note that no decimal point can be specified. 
Example: 
 

For a shift angle of 180 degrees, specify Q180000. 

 

Q180.000 cannot be specified, because it contains a decimal point. 

Note: Q1 is the command of 0.001 degree for the angle for shifting the threading start angle, regardless of 

the setting of the followings. 

- Increment system IS-A/B/C (Parameter No.1013#3-#0) 
- Pocket calculator type decimal point programming (Bit 0(DPI) of parameter No.3401) 
-  The least input increment is 10 times greater than the least command increment (Bit 7(IPR) of 

parameter No.1004) 

 

- Specifiable threading start angle range 

The threading start angle (Q) of between 0 and 360000 (in 0.001-degree units) can be specified. If a value 
greater than 360000 (360 degrees) is specified, it is rounded down to 360000 (360 degrees). 
If a minus value is specified, it works as a plus value. 
Example: 
 

If Q-90000 (-90 degrees) is specified, it works as Q90000 (90 degrees). 

 
 

T

 

- Multiple threading cycle (G76 (G code system A/B)) (G78 (G code system C)) 

The address Q of the G76/G78 multiple threading cycle command is used for the minimum cutting depth 
or the depth of cut in 1st cut. For this reason, the angle for shifting the threading start angle can not be 
commanded. 
However, if the FS15 tape format is used, in G76/G78 multiple threading cycle, the address Q is possible 
to specify the angle for shifting the threading start angle. 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3451 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GQS 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  GQS

  When threading is specified, the threading start angle shift function (Q) is: 

0: 

Disabled. 

1: 

Enabled. 

 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 995 - 

6.5.6 

Circular Threading 

T

 

Overview 

Using the G35 and G36 commands, a circular thread, having the specified lead in the direction of the 
major axis, can be machined. 

 

L:  Lead 

Circular thread 

 

Fig. 6.5.6 (a) 

 

NOTE 

 

The "thread cutting cycle retract" is not effective for G35, G36. 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3405 

 

 

 

 

 

G36 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#3  G36

  As a G code to be used with the automatic tool length measurement  function (M 

series)/automatic tool offset function (T series) is: 
0: 

G36 (T series only)/G37 is used. 

1: 

G37.1/G37.2/G37.3 is used. 

 

NOTE 

 

If it is necessary to perform circular threading G36 
(counterclockwise), set this parameter to 1. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3451 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GQS 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  GQS

  When threading is specified, the threading start angle shift function (Q) is: 

0: 

Disabled. 

1: 

Enabled. 

 

Alarm and message 

Number 

Message 

Description 

PS5058 

G35/G36 FORMAT ERROR 

A command for switching the major axis has been specified for 
circular threading. Alternatively, a command for setting the length 
of the major axis to 0 has been specified for circular threading. 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 996 - 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Circular threading 

 

6.5.7 

Arbitrary Speed Threading 

6.5.7.1 

Arbitrary speed threading 

Overview 

In conventional threading, spindle speed could not be changed because tool movement could not 
synchronize with spindle rotation, and machining accuracy of a screw is decreased. This function makes it 
possible to  change spindle speed during threading. This function can be used with threading, threading 
cycle, and multiple threading cycle. Changing spindle speed can prevent the vibration that occurs during 
threading at the  specific spindle speed for  a  large size machine. Besides, for repetitive machining, the 
same thread shape can be machined  even if spindle speed is changed between rough machining and 
finishing machining. Cs contour control is required for this function.   
 

 

Fig.6.5.7.1 (a)    Arbitrary speed threading 

 
Furthermore, even if a workpiece is removed from a chuck before threading is not finished, re-machining 
of this workpiece can be achieved. Refer to the section “6.5.7.2 Re-machining thread” for details. 
 

Format 

Mxx ;                              Start of arbitrary speed threading 

G32IP_F_;                         Threading command 

Myy ;                              Cancel of arbitrary speed threading 

xx 

: M code set in parameter No.11487 

yy 

: M code set in parameter No.11488 

 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 997 - 

Explanation 

The system enters arbitrary speed threading mode according to the sequence of arbitrary speed threading 
mode change by specifying the M code set in parameter No.11487 (start of arbitrary speed threading). 
Then, threading (threading, threading cycle, or multiple threading cycle) is specified. Arbitrary speed 
threading mode is canceled by specifying the M code set in parameter No.11488 (cancel of arbitrary 
speed threading). Arbitrary speed threading is enabled by setting bit 0 (AST) of parameter No.11485 to 1. 
Example of machining program 
 
N1G00 X10.Z50.; 
N2S_; 

 

  

 

: specifying the spindle speed 

N3Mxx;   

  

 

: start of arbitrary speed threading 

N4G92X151.0Z-200.F10.; 

: start of threading cycle 

N5X150.0;   
N6X149.0;   
N7X148.0;   
N8G00;   

  

 

: cancel of threading cycle 

N9Myy;   

  

 

: cancel of arbitrary speed threading   

 
The same thread shape can be machined in threading cycle specified N4 to N7 blocks, even if the spindle 
speed is changed. 
 

NOTE 

1  M code for arbitrary speed threading must be specified alone in a block. 
2  M code for arbitrary speed threading prevents buffering. 
3  Start command of arbitrary speed threading must be specified in canned cycle 

cancel mode for drilling. . 

4  M code of arbitrary speed threading cancel must be specified after canceling 

threading mode. If the M code is specified in threading mode, the alarm PS0529, 
“THREADING COMMAND IMPOSSIBLE” is issued. 

5  During arbitrary speed threading mode, feedback pulse of a position coder must 

be the one from the spindle which is commanded Mxx (xx is set in parameter 
No.11487). 

6  If threading, threading cycle, or multiple threading cycle is specified when 

arbitrary speed threading mode is canceled, usual threading is executed. 

 

- Command in arbitrary speed threading mode 

Arbitrary speed threading can be used with the following threading commands. 
 

Table 6.5.7.1 (a)  Threading commands used with arbitrary speed threading 

 

Machining center system 

Lathe system 

G code system 

Threading 

G33 

G32 

G33 

G33 

Threading cycle 

 

G92 

G78 

G21 

Multiple threading cycle 

 

G76 

G76 

G78 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 998 - 

NOTE 

1  When continuous threading is executed, the lead along the feed axis (the first 

axis on the plane) must not be changed between threading blocks. 

2  If the next block of threading command (G32: lathe system in G code system A, 

G33: machining center system) does not include threading, the feedrate is 
decelerated at the end point of threading command. 

3  If a taper angle is lower than that of the previous block in continuous threading, or 

if a chamfering angle is lower than the taper angle in threading cycle, the alarm 
PS0529 is issued. Machining program must be created as the direction of 
chamfering during arbitrary speed threading is in the hatching area of Fig. 6.5.7.1 
(b). 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fig. 6.5.7.1 (b)    Chamfering during arbitrary speed threading 

 

 

- Change of arbitrary speed threading mode   

Cs contour control high speed switching  signals are used for arbitrary speed threading. The spindle 
control mode is switched from spindle rotation control to Cs contour control without stopping spindle 
rotation when arbitrary speed threading mode is selected. To cancel arbitrary speed threading mode, Cs 
contour control change signal CON <Gn027.7> or Cs contour control change signals in each axis CONS 
<Gn274.0 to 3> is set to “0” in M code of canceling arbitrary speed threading, then, spindle control mode 
is switched from Cs contour control to spindle rotation control without stopping spindle rotation. The 
following parameter setting is required to change arbitrary speed threading mode. 
 

Table 6.5.7.1 (b)    Parameters to set for change of arbitrary speed threading mode 

Parameter number 

Description 

ROT(No.1006#0) 

Type of rotary axis(Please set to 1) 

ROS(No.1006#1) 

Type of rotary axis(Please set to 0) 

ROAx(No.1008#0) 

Whether to use the roll-over function of a rotary axis(Please set to 1) 

RRLx(No.1008#2) 

Whether Relative coordinates to be rounded by the amount of shift per rotation(Please set 
to 1) 

CSDRCT(No.4002#4) 

Whether to use the rotation direction signal (SFR/SRV) on Cs contouring control(Please 
set to 1) 

No.4504 

Cs contour control high speed switching : Reference position establishment speed 

No.4505 

Cs contour control high speed switching : Reference position establishment acceleration 

The case of Z- direction, X+ direction 

The case of Z+ direction, X+ direction 

The case of Z- direction, X- direction 

The case of Z+ direction, X- direction 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 999 - 

Parameter number 

Description 

No.4506 

Cs contour control high speed switching : Bell shaped acceleration/deceleration time 
constant for the reference position establishment 

No.4507 

Cs contour control high speed switching : Reference position establishment completion 
level 

AST(No.11485#0) 

Whether to use the function of arbitrary speed threading 

No.11487 

M code to start arbitrary speed threading mode 

No.11488 

M code to cancel arbitrary speed threading mode 

No.11489 

Acceleration in arbitrary speed threading 

 
Rotation direction in Cs contour control may be different from that in spindle rotation control according 
to machine configuration or parameter setting. In this case, SV reverse signals SVRVS1 to SVRVS8 
<Gn523> are set to “1” before changing to the arbitrary speed threading mode. Also when the arbitrary 
speed threading mode is canceled, SV reverse signal is set to “0”. 
 
Example of reverse rotation direction in Cs contour control 

-The case of the following machine configuration: 

When the motor rotation direction is plus, the spindle rotation direction is minus owing to the gear 
between the motor and the spindle.   
Forward rotation/Reverse rotation command signal SFR/SRV specifies the motor rotation direction in 
spindle rotation control, on the other hand these signals specify the spindle  rotation direction in Cs 
contour control. Therefore, the relationship between command, motor rotation direction, and spindle 
rotation direction is as follows.   

 
Spindle rotation control: 
 Command (+) – Motor rotation direction (+) – Spindle rotation direction (-) 
 
Cs contour control: 
Command (+) – Motor rotation direction (-) – Spindle rotation direction (+) 
 

NOTE 

1  When bit 1 (ART) of parameter No.11486 is set to 0, if reset operation is executed 

in arbitrary speed threading mode, Cs contour control change signal CON 
<Gn027.7> or Cs contour control change signals in each axis CONS <Gn274.0 to 
3> must be set to “0” to cancel arbitrary speed threading mode. If an automatic 
operation is restarted without performing this operation, alarm PS0529 
“THREADING COMMAND IMPOSSIBLE” is issued. When bit 1 (ART) of 
parameter No.11486 is set to 1, if reset operation is executed, arbitrary speed 
threading mode is maintained. To cancel arbitrary speed threading mode, the 
arbitrary speed threading mode cancellation M code (parameter No.11488) is 
specified, and Cs contour control change signal CON <Gn027.7> or Cs contour 
control change signals in each axis CONS <Gn274.0 to 3> must be set to “0”. 

2  Cs contour control change signal CON must be set to “1” after the speed arrival 

signal SARA to SARD <Fn045.3, Fn049.3, Fn168.3, Fn266.3> become “1” when 
arbitrary speed threading mode is changed. 

3  SV reverse signal setting must be decided after checking the rotation direction in 

spindle rotation control and that in Cs contour control by changing arbitrary speed 
threading mode with a speed of 0[min-1] (S0) once. 

4  Reference position return of Cs contour control axis must be performed once 

after power-on to detect one-rotation signal of a spindle. 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 1000 - 

- Sequence of arbitrary speed threading mode change 

 

Spindle rotation control 

Cs contour control 

spindle speed 

Reference position establishment 

0min

-1

 

Cs contour control change signal

 

CON<Gn027.7>

 

Cs contour control high speed   

switching signals 

CONH<Gn549.0~Gn549.3> 

Reference position establishment   

starting signals 

CSYC<Gn304.3, Gn308.3, 

Gn312.3, Gn316.3> 

 

Reference position establishment 

completion signal 

CSYFN<Fn047.7, Fn051.7, 

  Fn170.7, Fn268.7> 

One-rotation signal detection 

status signals for Cs contour control 

CS1DT<Fn047.6, Fn051.6, 

Fn170.6, Fn268.6> 

threading 

Mxx ; 

Myy ; 

Cs contour control high speed   

switching completion signals 

CSMC<Fn546.0~Fn546.3>

 

auxiliary function strobe signal 

MF<Fn007.0>

 

end signal

 

FIN<Gn004.3>

 

    

 

Fig.6.5.7.1 (c)    sequence of arbitrary speed threading mode change 

 

- Spindle speed override 

Spindle speed  override signals SOV0 to SOV7 <Gn030> are available. If the override for individual 
spindles is enabled, SOV20 to SOV27 <Gn376> (second spindle), SOV30 to SOV37 <Gn377> (third 
spindle), SOV40 to SOV47 <Gn378> (forth spindle) are available, too. 
However, changing the spindle speed override is disabled during the following period. 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 1001 - 

-

 

After the Cs contour control change signal CON is set to “1” until the reference   

 

position establishment completion signal CYSFN becomes “1”. 

-  After threading starts until the feedrate of feed axis (the first axis on the plane) arrives at the 

commanded speed. 

 

NOTE 

1  If spindle speed override in each path is used, not only the spindle speed of the 

spindle in arbitrary speed threading mode but also the spindle speed of spindles 
in the same path is not changed according to spindle speed override signals. 

2  As the spindle speed gets higher, the incorrect thread length is longer. Machining 

program must be created considering the incorrect thread length which is 
changed according to the range of spindle speed override in arbitrary speed 
threading mode. 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fig.6.5.7.1 (d)  Period in which changing spindle speed override is prohibited 

 

- Acceleration/Deceleration of spindle in arbitrary speed threading 

It is possible to switch the acceleration of a spindle according to spindle speed when the spindle speed 
override is changed in arbitrary speed threading. There are two switching points, which is set in parameter 
No.11020 and No.11021. Besides, acceleration of each section is set in parameter No.11030, No.11031, 
and No.11032. 
 

 

speed[min

-1

S

0

 

time[sec]

 

S

1

 

S

 

A

a

 

A

b

 

A

c

 

 

Fig.6.5.7.1 (e)  Acceleration/deceleration of spindle in arbitrary speed threading 

S

0

: value set in parameter No.11020 (Acceleration is switched at S

0

[min

-1

].) 

 

 

feedrate 

time 

Changing spindle speed override is 
prohibited in this period. 

 

 

 

 

 

 

 

Content      ..     128      129      130      131     ..