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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     135      136      137      138     ..

 

 

 

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

 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 1050 - 

1) 

The command position (R) can be used. 

2) 

Repeated specification in polygon synchronization mode is allowed. 

 
For polygon turning, see also the section about polygon turning. 
 

  - 

Mode command and command value change 

The G51.2 command is modal. Once specified, the P, Q, and R values stay unchanged until another G51.2 
is issued to change them or polygon synchronized mode is released. 
 
In polygon synchronized mode, the S command for the master axis controls the polygon synchronization 
axis so that it rotates at a speed of S 

×

 Q/P and its phase is R. 

 

  - 

Release command 

G50.2 command releases the polygon synchronization mode. This mode is released also when: 
<1>  Reset and emergency stop 
 

(Setting bit 0 (RPL) of parameter No.7603 to 1 prevents polygon synchronization mode from being 
released.) 

<2>  Power is turning off. 
<3>  An alarm condition occurs in the spindle control unit, and the serial spindle control unit stops in an 

emergency on the PMC signals *ESPA<Gn071.1> and *ESPB<Gn075.1>. 

<4>  Alarm PS0218, PS0219, PS0221, PS0314, or PS5018 occurs 
 

NOTE 

1  G51.2 and G50.2 must be issued separately from other commands. 
2  In a G51.2 issued to enter the polygon synchronization mode, R is omissible, but 

P and Q are required. 

3  When G51.2 is specified to change the P, Q, and R settings during the polygon 

synchronization mode, R can be specified independently. When P and Q are 
changed, however, be sure to specify both P and Q. 

4  When bit 0 (RPL) of parameter No.7603 = 0 regardless of the setting of bit 6 

(CLR) of parameter No.3402, a reset issues G50.2 (polygon synchronization 
release mode). When bit 0 (RPL) of parameter No. 7603 = 1, a reset does not 
clear G51.2 (polygon synchronization mode) in polygon synchronization mode. 

5  The following functions must be commanded with polygon turning cancel mode. 

-  Inch/metric conversion 
-  AI contour control 
-  Tilted working plane indexing 

Flexible path axis assignment 

 

  - 

Spindle operation during the polygon synchronization mode with two spindles 

When the start of polygon synchronization is specified by G51.2, the polygon synchronization axis speed 
is adjusted to Q/P times the master axis speed based on spindle speed command value for the master axis 
and then phase matching is performed. 

 

Master axis 

Polygon   
synchronization axis 

M03S100; 
When G51.2P1Q1R90.; is specified 
Spindle state during polygon   
synchronization 
 
Master axis speed = S (=100 (min

-1

) ) 

polygon synchronization axis speed 
 

          

= S

×

Q / P 

                     = 100

×

1 / 1 

                     = 100 (min

-1

Phase R = 90 (deg) 

Forward rotation 
100 (min

-1

)   

 

Forward rotation 
100 (min

-1

)   

Phase R=90 (deg) 

 

Fig. 6.9.2 (a) 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 1051 - 

 
When the spindle is accelerated or decelerated or when phase matching is being performed, the 
synchronization state of rotation ratio of P to Q is not guaranteed. Therefore, in an actual cutting block 
command, control the spindle speed arrival signal SAR<Gn029.4> after checking that the signal state of 
the polygon spindle speed arrival signal for polygon turning with two spindles PSAR<Fn063.2> is 1 or 
take sufficient wait time in the program. 
 
Each time any of the following changes is made during polygon synchronization, control the speed and 
then perform phase matching. 
1) 

The spindle speed command for the master axis is changed. 

2) 

The speed ratio commands P and Q are specified by G51.2 again. 

3) 

The phase command value R is specified by G51.2 again. 

4) 

The polygon spindle stop signal *PLSST

 <Gn038.0>

 is changed from “0” to “1”. 

 
How to specify the spindle speed for the master axis (multi-spindle control or spindle output control by 
PMC) does not change regardless of whether polygon synchronization mode or normal operation is 
selected. Spindle speed specification for the polygon synchronization axis is disabled in polygon 
synchronization mode. 
 
If the speed of the polygon synchronization axis (S 

×

  Q / P(min

-1

): where S is the master axis speed) 

exceeds the clamp speed set in parameter No. 7621 after the command is executed, an alarm (PS5018) 
occurs and the polygon synchronization state is cleared. 
 
The diagnostic display bit 2 (QCL) of No. 471 can be used to check whether the clamp speed is exceeded 
after the command is executed. 
 

  - 

PMC sequence 

Although this function is based on the G-code system, it is necessary to add or change PMC ladder 
sequences because control on the part of the spindle is also required. 
(See the description of the PMC sequence in this section.) 
 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 1052 - 

  - 

Example of polygon turning with two spindles 

This example of polygon turning with two spindles produces a square using single-edged cutting tools 
(for roughing and finishing). 

 


Mxy; 
Txxyy;   
G00 X100. Z20. M03 S1000 ; 

G51.2 P1 Q2 R0 ; 









G01 X80. F10. ; 

G04 P4000 ; 

G00 X100. ; 

G51.2 R180.; 

[Repeat steps 4, 5, and 6.] 

G50.2 ; 
Myz;   
Tyyzz;   

S2000; 
G51.2 P1 Q2 R0 ; 


[Repeat steps 4, 5, and 6.] 

[Repeat step 7.] 

[Repeat steps 4, 5, and 6.] 

G50.2 ; 



M05S0; 

 
Mount a roughing tool on the polygon synchronization axis (tool 
rotation axis). 
Start rotating the workpiece (with the master axis at 1000 (min

-1

)) 

 
Start rotating the tool. 
In the PMC ladder, the polygon synchronization axis is energized 
by polygon synchronization under way signal PSYC<Fn063.7>. 
After acceleration to 2000 (min

-1

) is performed as the polygon 

synchronization axis, positioning is performed. The phase is 0. 
In the PMC ladder, the spindle speed arrival signal 
SAR<Gn029.4> is controlled based on the polygon spindle speed 
arrival signal PSAR<Fn063.2> during the polygon 
synchronization mode. 
 
Starts cutting along the X-axis after SAR<Gn029.4> becomes 
logical 1 in signal control at step 3. 
Polygonal turning (roughing 1) 
 
Retract the tool along the X-axis. 
 
Change the phase by 180 degrees. 
 
Polygonal turning (roughing 2) 
 
Release the polygon synchronization mode. Change to a finishing 
tool. 
 
 
Change the spindle speed for finishing 
Start rotating the tool. (master axis at 2000 min

-1

 and polygon 

synchronization axis at 4000 min

-1

 with a phase difference of 0). 

 
Polygonal turning (finishing 1) 
 
Change the phase by 180 degrees. 
 
Polygonal turning (finishing 2) 
 
Release the polygon synchronization mode. 
The polygon synchronization axis (tool rotation axis) stops. 
The master axis rotates at 2000 (min

-1

). 

 
The master axis stops. 

 
Step 1. 
 
Step 2. 
 
Step 3. 
 
 
 
 
 
 
 
 
 
Step 4. 
 
Step 5. 
 
Step 6. 
 
Step 7. 
 
Step 8. 
 
Step 9. 
 
 
 
Step 10. 
 
 
 
Step 11. 
 
Step 12. 
 
Step 13. 
 
Step 14. 
 
 
 
Step 15. 

 

 

Diagnosis data 

For polygon turning with two spindles, the following information is displayed on the diagnosis screen. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

470 

 

SC0 

LGE 

 

SCF 

PSC 

PEN 

PSU 

SPL 

 

Polygon turning with two spindles 
Indication of information about the polygon synchronization mode 

 

SPL  Polygon synchronization with two spindles under way 

 

PSU  Polygon synchronization mode with two spindles being activated 

 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 1053 - 

NOTE 

 

If only PSU becomes 1, but no change occurs, and the program 
stops in a block containing a G51.2 command, the speed of an 
spindle does not reach the targeted polygon synchronization speed, 
for example, because bit 7 (PST) of parameter No. 7603 = 0 keeps 
the spindle from being energized. 

 

 

PEN  Polygon synchronization mode with two spindles released 

 

PSC  Spindle speed being changed during polygon synchronization mode with two spindles 

 

SCF  Spindle speed has been changed during polygon synchronization mode with two spindles 

 

LGE  The loop gain is different between the spindles during polygon synchronization mode 

with two spindles. 

 

NOTE 

 

When the speed is changed during polygon synchronization mode, 
LGE is set to 1 if the spindle synchronization control loop gain used 
by the serial spindle control unit is different between the master 
spindle and polygon synchronization axis. 

 

Diagnosis display indicates the loop gain because this function 
requires that both spindles be controlled with the same loop gain. 
However, no alarm is issued even if the loop gain is different 
between the spindles. 

 

(For the serial spindle control unit, the parameters used are 
changed according to the state of the CTH1 and CTH2 signals.) 

 

 

SC0  Actual speed command is 0 during polygon synchronization mode with two spindles. 

 

NOTE 

 

Signal SC0 is not a value specified by the program. It is set to 1 
under any of the following conditions: 
1.  When the S command value is adjusted according to the signals 

related to spindle control, SSTP<Gn029.6> and SOV0- 
SOV7<Gn030> and the signal related to multi-spindle control 
<Gn027>, the result is 0. 

2.  The S command value is smaller than the spindle control 

resolution (the result of multiplying the S command value by a 
value of 4095/(maximum spindle speed) is less than 1). 

 

The S command value is specified by SIND control <Gn032, 
Gn033>, and it is 0. 

 

If SC0 = 1, the spindle speed becomes 0 and bit 0 (SCU) of 
diagnosis data No. 471 becomes 1. In this case, the polygon 
synchronization rotation ratio is impractical, but alarm PS5018 does 
not occurs, because it is regarded as the result of the command. 

 
If the following status is indicated during the polygon synchronization mode, there are no abnormalities. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

470 

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

471 

 

NPQ 

PQE 

QMS 

NSP 

SUO 

QCL 

 

SCU 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 1054 - 

Polygon turning with two spindles 
Indication of causes for alarms PS5018, PS0314, and PS0218 

 

 

#0 to #3  Causes for alarm PS5018 

Alarm PS5018 is cleared by a reset, but the indication of its causes remains until the 
causes are cleared or the polygon synchronization mode is released. 

 
 

SCU  The specified speed is too low during polygon synchronization mode with two spindles. 

(The unit of speed calculated internally becomes 0.) 

 

NOTE 

 

SCU becomes 1 also when the specified spindle speed is 0 (bit 
7(SC0) of diagnosis data No.470 is 1). In this case, however, alarm 
PS5018 is not issued (because the command is 0). When bit 
7(SC0) of diagnosis data No.470 is 0 and bit 0(SCU) of diagnosis 
data No.471 is 1, alarm PS5018 occurs. Normally this does not 
occur with speed at which the spindle can rotate. 

 

 

QCL  The polygon synchronization axis is clamped. 

 

NOTE 

 

QCL becomes 1, when the polygon synchronization axis receives a 
command with a polygon synchronization speed that is higher than 
the value specified in parameter No. 7621 and is clamped at that 
speed. 

 

 

SUO  The  specified speed is too high during the polygon synchronization mode with two 

spindles. 
(It is clamped to the upper limit calculated internally.) 

 

NOTE 

 

SUO occurs, if a result of (speed specified for the master 
spindle)/(value specified at P) is higher than 59998. In other words, 
the master spindle must rotate at a speed lower than 59998 min

-1

 

assuming P = 1. 

 

 

#4  Causes for alarm PS0314 

When alarm PS0314 occurs, the polygon synchronization mode is released, but the 
indication of its causes remains until the alarm PS0314 is cleared by a reset. 

 

 

NSP  A spindle necessary for control is not connected. 

(For example, there is not a serial spindle or the second spindle.) 
The axis settings for polygon turning are not correct. 

 

 

#5 to #7  Causes for alarm PS0218 

When alarm PS0218 occurs, the polygon synchronization mode is released, but the 
indication of its causes remains until the alarm PS0218 is cleared by a reset. 

 

 

QMS  When bit 1 (QDR) of parameter No. 7603 = 1, a negative value is specified at Q. 

 

 

PQE  In a G51.2, either P or Q has a value out of the specifiable range. 

Or, P and Q are not specified as a pair. 

 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 1055 - 

 

NPQ  In a G51.2, R is specified when P and Q have not been specified at all, or none of P, Q, 

and R has been specified. 

 

Indication of values specified during the polygon synchronization mode with two spindles 

 

474  

Rotation ratio for the master axis during the polygon synchronization mode with two spindles (P 

command value) 

 

This indication is the current rotation ratio (P command value) of the master axis during 
the polygon synchronization mode with two spindles. 

 

475  

Rotation ratio for the polygon synchronization axis during the polygon synchronization mode with two 

spindles (Q command value) 

 

This indication is the current rotation ratio (Q command value) of the polygon 
synchronization axis during the polygon synchronization mode with two spindles. 

 

476  

Phase difference between the two spindles under polygon synchronization control with two spindles(R 

command value) 

 

This indication is the current phase value (R command value) specified during the 
polygon synchronization mode with two spindles. (The increment system for the 
reference axis used.) 
 
However, if bit 5 (RDG) of parameter No. 7603 = 1, the indication is the amount of 
shifting specified for the serial spindle (number of pulses after conversion is performed 
assuming 360 degrees = 4096 pulses). 
Indication of the actual speed of each spindle during the polygon synchronization mode 
with two spindles 

 

477 

 

Actual master axis speed (min

-1

) during the polygon synchronization mode with two spindles 

 

This indication is the actual speed of the master axis during the polygon synchronization 
mode with two spindles. 

 

478  

Actual polygon synchronization axis speed (min

-1

) during the polygon synchronization mode with two 

spindles 

 

This indication is the actual speed of the polygon synchronization axis during the polygon 
synchronization mode with two spindles. 

 

6. INTERPOLATION FUNCTION

 

 

B-64693EN-1/01

 

- 1056 - 

Spindle tuning screen 

During the polygon synchronization mode with two spindles, information for the spindle synchronization 
control mode is displayed. 
 
The following information is displayed on the spindle tuning screen. 
”Positional deviation” indicates the positional deviation of the spindle currently being displayed. 
”Synchronous deviation” indicates the absolute value of a synchronization error in polygon 
synchronization during polygon turning with two spindles. The synchronization error value is displayed 
on the spindle tuning screen for the spindle used as the polygon synchronization axis. 
For details, please refer to Spindle tuning screen of MAINTENANCE MANUAL (B-64695EN). 
 
 
 
 
 
 
 
 

Signal 

Polygon spindle stop signal *PLSST<Gn038.0> 

 [Classification] 

Input 

signal 

 

[Function]  This function is enabled when bit 7 (PST) of parameter No. 7603 is set to 1. This signal is 

used to stop the spindle during the polygon synchronization mode with two spindles. 
 0 = polygon spindle stop 
 1 = polygon spindle operable 
During the polygon synchronous mode with two spindles, the rotation of the spindle is 
controlled with a position loop created. 
The spindle is rotated by move command pulses based on the polygon synchronization 
speed. 
When the activated spindle is turned off by the spindle stop (for example, M05) command, 
move command pulses are generated even when activation is off unless the spindle speed 
command is set to 0 using the spindle stop signal *SSTP<Gn029.6> or the like, some 
error pulses being accumulated. When activation is turned on at this time, the spindle may 
rotates at high speed because the accumulated error pulses are moved at a time. 
This signal can be used to stop the delivery to the polygon spindle only during the 
polygon synchronous mode with two spindles. The signal must be controlled according to 
the activation status (on/off) of the polygon spindle. 
 
For details on usage, see the section that describes PMC sequences. 

 

Polygon synchronization under way signal PSYN<Fn063.7> 

 [Classification] 

Output 

signal 

 

[Function]  Informs the PMC that the system is in the polygon synchronization mode. 

 

[Output cond.]  The polygon synchronization mode command (G51.2) sets this signal to logical “1”. It 

stays at 1 as long as the system is in the polygon synchronization mode. It is turned to 0 
when the polygon synchronization mode is cleared (G50.2 command or a reset). It stays 
at 0 when the system is not in the polygon synchronization mode. 

 

NOTE 

 

The same address is used for this signal in both polygon turning 
(using the servo axis) and the polygon turning with two spindles. 

 

Motor speed 

Spindle speed 

Positional deviation S1 

Positional deviation S2 

Synchronous deviation 

 

B-64693EN-1/01

 

 

6. INTERPOLATION FUNCTION

 

- 1057 - 

Polygon spindle speed arrival signal PSAR<Fn063.2> 

  [Classification] Output signal 
 

[Function] Informs the PMC that the spindle has reached its constant-speed for polygon 

synchronization during polygon turning with two spindles. 

 

[Output cond.]  During polygon synchronization mode with two spindles, whether the constant-speed is 

reached for polygon synchronization is output as shown below: 
0 = not reached (during phase change or acceleration/deceleration under way) 
1 = reached 
During the polygon synchronization mode, this signal becomes logical 1 when the speed 
of each spindle reaches the acceptable level specified in parameter No. 7631 and remains 
there for a period specified in parameter No. 7632. 
If the speed of either spindle goes off the acceptable level, or a change is made to the S 
command, the signal returns to logical “0” and begins monitoring the above condition. 
When this signal is “0”, the specified speed ratio and phase are not guaranteed for 
polygon turning. If the signal is confirmed before actual turning is started, however, the 
operation is more efficient than when a dwell command (like G04) is used to allow wait 
time. 

 

Polygon master axis not arrival signal PSE1<Fn063.0> 
Polygon synchronization axis not arrival signal PSE2<Fn063.1> 

 [Classification] 

Output 

signal 

 

[Function] Informs the PMC whether the actual speed of each spindle has reached the specified 

speed during polygon turning mode with two spindles. 

 

[Output cond.]  During the polygon synchronization mode with two spindles, whether each spindle has 

reached the polygon synchronization speed is output as shown below: 
0 = reached 
1 = not reached (during phase change or acceleration/deceleration under way) 
During the polygon synchronization mode with two spindles, this signal becomes logical 
1 when the speed of master axis and polygon synchronization axis does not reach the 
acceptable level specified in parameter No. 7631. 

 

Signal address 

 

 

#7 #6 #5 #4 #3 #2 #1 #0 

Gn038 

 

 

 

 

 

 

 

 

*PLSST 

 

 

 

#7 #6 #5 #4 #3 #2 #1 #0 

Fn063 

 

PSYN 

    

PSAR 

PSE2 

PSE1 

 

 

 

 

 

 

 

 

Content      ..     135      136      137      138     ..