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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     109      110      111      112     ..

 

 

 

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

 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 842 - 

 

  - 

Machine coordinate display 

As for the axis whose the signal EAX* <Gn136> for control axis select (PMC axis control) is 1, the 
machine coordinate shows the actual machine coordinate (the machine position from the reference 
position) regardless of the bit 7 (PGM) of parameter No. 11320 and bit 4 (PGA) of parameter No. 3115 
setting. 
 

  - 

Workpiece coordinate system preset 

Please set the bit 6 (WPS) of parameter No. 3006 to 1 to do workpiece coordinate system preset 
automatically at the end of the high-speed program check mode. 
When the workpiece coordinate system preset is commanded by the soft  key operation or input signal 
during the high-speed program check mode, the workpiece coordinate system is established based on the 
actual machine coordinate. 
 

  WARNING 

 

When the coordinate system is set before the high-speed program check mode is 
turned on by the work coordinate system setting G92 (machining center system 
and G code system B or C of the lathe system), G50 (G code system A of the 
lathe system) and the local coordinate system setting G52, their setting values 
are deleted by the execution of the work coordinate system preset. 

 

  - 

Reference Position Return (G28) 

The alarm PS5364 occurs when the reference position is not established and G28 is specified during the 
high-speed program check mode. 
 

  - 

Machine Lock Signal 

During the high-speed program check mode, all-axis machine lock signal MLK <Gn044.1> and each-axis 
machine lock signals MLK1 to MLK8 <Gn108> are invalid except for PMC control axis. 
 

  - 

Control axis select signal (PMC axis control) 

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the alarm PS5364 occurs when the signal 
EAX* <Gn136> for control axis select (PMC axis control) is changed from 0 to 1 or from 1 to 0 during 
the high-speed program check mode. 
 

  - 

Save / restore of data 

The save/restore of the data before/after the program check of the high-speed program check function is 
realized by saving all data before the program check and restoring all data after the program check. 
Therefore, even when the data is changed without the program command such as the PMC window 
during the program check, the changed data returns to the value before the program check. 
 

  - 

Restore of data 

When the power off request alarm is generated during the high-speed program check mode and the CNC 
power is turned off immediately, the changed data still remain. Therefore, if a restore of data is necessary, 
turn off the CNC power after ending the high-speed program check mode and restoring the saved data. 
 

  - 

Programmable parameter input (G10) 

The bit 3 (PGR) of parameter No. 3454 and the bit 6 (PGS) of parameter No. 3001 can not be changed by 
programmable parameter input (G10). When G10 L52 is commanded to these parameter bits, the alarm 
PS5364 occurs. 
 

  - 

Cycle start 

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the signal ST <Gn007.2> for cycle start are 
invalid during the data saving and restoring. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 843 - 

 

  - 

Unusable functions 

The high-speed program check function can not be used in combination with the following functions. 

Angular axis control 

Flexible synchronization control 

If some of above functions are effective, the alarm PS5364 occurs at the start of the high-speed program 
check mode. 
 

  - 

Unavailable command 

Following functions can not be specified during the high-speed program check mode. If the following 
functions are specified, the alarm PS5364 occurs. 

Electronic gear box 

 

  - 

Restriction of commands 

During the high-speed program check mode, the axes movements of the following functions can not be 
checked with this function. 

PMC axis control 

 

The axis whose the signal EAX* <Gn136> for control axis select (PMC axis control) is 1 is not 
checked in the high speed program check mode. The stroke limit check of the PMC axis is done by 
the actual machine coordinate. 

 

  - 

Auxiliary function 

When the bit 6 (PGS) of parameter No. 3001 is set to 1, the M, S, T, and B codes are not saved/restored at 
the start/end of the high-speed program check mode. 
Therefore, the M, S, T, and B codes, which are output during the high-speed program check mode, are 
effective after the end of the high-speed program check mode. 
When the bit 6 (PGS) of parameter No. 3001 is set to 1, the M, S, T, and B codes are output to the PMC. 
Therefore, if it is not necessary to execute the M, S, T, and B command during high-speed program check 
mode, please modify ladder sequence not to execute M, S, T, and B code by referring to the signal 
<Fn290.5> for the high-speed program check mode. 
 

  - 

Tool management function 

When instructing in D99 and H99 by the tool management function, the window function notifies CNC 
side of the tool at the spindle position and the tool compensation is executed by using the tool offset 
amount of the tool. Therefore, in order to execute the tool compensation correctly with D99 and H99 in 
the tool management function, please set bit 6 (PGS) of parameter No. 3001 to 1 and execute the window 
function (code 329) by T code and M code in PMC ladder as well as usually operation. 
 

  - 

Multi path system 

In case that save/restore of data is effective (bit 1 (PGR) of parameter No. 3454 is set to 1)   
please make the state of the high-speed program check mode the same in all paths in the multi path 
system. 
 

  - 

Synchronous / Composite control 

In case that you execute the high-speed program check for program that uses the synchronous/composite 
control, please set paths related to synchronous/composite control into high-speed program check mode. 
When all of them are not under high-speed program check mode, the cycle start is disregarded and the 
program cannot be started. 
 

  - 

Superimposed control 

  WARNING 

 

When the Superimposed control is executed in the high-speed program check 
mode, the stroke limit is not checked correctly. 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 844 - 

Signal 

High-speed program check signal PGCK<Gn290.5> 

  [Classification]  Input signal 
 

[Function]  Specify the high-speed program check mode. 

 

[Operation]  When this signal is 1, the high-speed program check mode is effective. 

When this signal is 0, the high-speed program check mode is not effective. 

 

NOTE 

 

The alarm PS5365 occurs when the signal PGCK <Gn290.5> is 
changed while a program is executing. 

 

High-speed program check mode signal PRGMD<Fn290.5> 

  [Classification]  Output signal 
 

[Function]  Notify that the high-speed program check mode is active. 

 

[Operation]  This signal turns to 1 under both of the following conditions. 

The signal PGCK <Gn290.5> is 1. 

MEM or DNC mode is selected. 

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the data are saved under 
both of the above conditions. This signal turns to 1 when the save of data is completed. 
This signal turns to 0 under one of the following conditions. 

The signal PGCK <Gn290.5> is 0. 

A mode except MEM or DNC is selected. 

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the data are restored under 
one of the above conditions. This signal turns to 0 when the restore of data is completed. 

 

High-speed program check saving data signal PCKSV<Fn290.4> 

  [Classification]  Output signal 
 

[Function]  Notify that the data which are changed by automatic operation during the high-speed 

program check mode are saved. 

 

[Operation]  This signal turns to 1 under the following conditions. 

The save of the data, which are changed by automatic operation, is complete at the 
start of the high-speed program check mode. 

This signal turns to 0 under the following conditions. 

The restore of the data, which are changed by automatic operation, is complete at the 
end of the high-speed program check mode. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn290 

 

 

 

PGCK 

 

 

 

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn290 

 

 

 

PRGMD 

PCKSV 

 

 

 

 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1490 

 

PGF 

 

 

 

 

 

 

 

 

 

  [Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#7  PGF

  The feedrate specified for circular interpolation in the high-speed program check mode is: 

0: 

The dry run feedrate. 
At this time, manual feedrate override signals *JV0  to  *JV15  <Gn010  to  Gn011> 
can be used. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 845 - 

1: 

The maximum feedrate specified by the CNC. 

 

  CAUTION 

 

If this parameter is set to 1, feedrate clamp, override, and dry run for 
circular interpolation is disabled. If a movement around a stroke limit 
is specified, therefore, a stroke limit check cannot sometimes be 
made correctly. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3001 

 

 

PGS 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#6  PGS

  In the high speed program check mode, M, S, T, and B codes are: 

0: 

Not output. 

1: 

Output. 

 

  CAUTION 

1  If this parameter is set to 1, M, S, T, and B codes are neither saved 

nor restored at the start and end of the high speed program check 
mode. 
Accordingly, M, S, T, and B codes output in the high speed program 
check mode remain valid even after the high speed program check 
mode ends. 

2  If this parameter is set to 1, M, S, T, and B codes are output to the 

PMC in the high speed program check mode. 
Therefore, when M, S, T, and B commands need not be executed in 
the high speed program check mode, create a ladder sequence that 
references the high speed program check mode signal <Fn290.5> 
and suppresses the execution of any of the M, S, T, and B codes. 

3  If this parameter is set to 1, the operation of the M, S, T, and B 

codes depends on the status of auxiliary function lock signal AFL 
<Gn005.6>. 

4  In the high speed program check mode, an attempt to rewrite this bit 

parameter by using G10 results in an alarm PS5364, “ILLEGAL 
COMMAND IN PROGRAM CHECK”. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3006 

 

 

WPS 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#6  WPS

  Each axis workpiece coordinate system preset signal: 

0: 

Disabled. 

1: 

Enabled. 

When this parameter is set to 1, a workpiece coordinate system is preset after the end of 
the high speed program check mode. 
 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 846 - 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3454 

 

 

 

 

 

PGR 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#3  PGR

  In the high speed program check mode, data modified during automatic operation is: 

0: 

Neither stored nor restored. 

1: 

Stored and restored. 

 
If this parameter is set to 1, when the high speed program check mode  ends, data 
modified during automatic operation in the high speed  program check mode can be 
restored to the state present before the start of the high speed program check mode. 
After the high speed program check mode ends, therefore, it is  possible  to perform 
automatic operation in the state present before the start of the high speed program check 
mode. 
 

  WARNING 

 

In a multi-path system, when one of the paths enters the high-speed 
program check mode, data of all paths is stored. After there is no 
path left in the high-speed program check mode, the data of all 
paths is restored at a time. This means that when the time to 
change the status of the high-speed program check input signal 
PGCK<Gn290.5> differs among the paths, the end of the 
high-speed program check mode in a path may affect the operation 
of other paths. For example, if the high-speed program check mode 
of a path is turned off when machining is in progress on another 
path, data of the path on which machining is in progress is also 
restored, which poses serious danger. Therefore, when bit 3 (PGR) 
of parameter No. 3454 is set to 1 in a multi-path system, the status 
of the high-speed program check mode must be made consistent 
throughout the paths. Make sure that paths placed in the 
high-speed program check mode and paths placed in the normal 
mode are not present at the same time. 

 

  CAUTION 

1  When this parameter is set to 1, the workpiece coordinate system 

preset is executed at the end of high-speed program check mode 
regardless of the setting of the bit 6 (WPS) of parameter No. 3006. 

2  The absolute coordinate and relative coordinate of the axis, whose 

the signal EAX* <Gn136> for control axis select (PMC axis control) 
is 1 at the start/end of high-speed program check mode are not 
saved/restored. 

3  The data of the periodic maintenance screen are not 

saved/restored. 

4  During the high-speed program check mode, if G10 command is 

specified to this parameter bit, the alarm PS5364 occurs. 

5  During the high-speed program check mode, if the EAX* <Gn136> 

is changed from 0 to 1 or from 1 to 0, the alarm PS5364 occurs. 

 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 847 - 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11320 

 

PGM 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#7  PGM

  In the high speed program check mode, the machine position is displayed with: 

0: 

Actual machine coordinates. (Machine position relative to the reference position) 

1: 

Machine coordinates for the program check. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3115 

 

 

 

 

PGAx 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit axis 

 

 

#4  PGAx

  In the high speed program check mode, the machine position on each axis is: 

0: 

Displayed according to the setting of bit 7 (PGM) of parameter No. 11320. 

1: 

Displayed with machine coordinates used for program checking. 

 

NOTE 

1  When PMC axis select signal EAX*<Gn136> is set to 1 for an axis, 

the actual machine coordinate value on the axis is indicated 
regardless of the settings of bit 7 (PGM) of parameter No. 11320 
and bit 4 (PGA) of parameter No. 3115. 

2  In diagnosis data No. 301 (machine position), actual machine 

coordinates are always displayed regardless of the settings of bit 7 
(PGM) of parameter No. 11320 and bit 4 (PGA) of parameter No. 
3115. 

 

Alarm and message 

Number 

Message 

Description 

PS5364 

ILLEGAL COMMAND IN 
PROGRAM CHECK 

(1)  An invalid G code is specified in high-speed program check 

mode. 

(2)  Angular axis control is available. 
(3)  Following operation is done. 

During the high-speed program check mode, an axis, which 
is never established the reference position, is returned to 
the reference position. 

(4)  During the high-speed program check mode, the signal EAX* 

<Gn136> is changed. 

(5)  During the high-speed program check mode, G10 is 

commanded to the bit 3 (PGR) of parameter No. 3454. 

(6)  During the high-speed program check mode, G10 is 

commanded to the bit 6 (PGS) of parameter No. 3001. 

PS5365 

NOT CHANGE OF PROGRAM 
CHECK MODE 

Switching of high-speed program check input signal 
PGCK<Gn290.5> was performed during execution of the program. 

 

5.3.5 

Manual Handle Retrace 

Overview 

In this function, the program can be executed both forward and backward with a manual handle (manual 
pulse generator) under automatic operation. 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 848 - 

Therefore, errors of a program, interference, and so on can be checked easily by working a machine 
actually. 

 

  - 

Checking mode 

In this mode, the program can be executed forward and backward and the program can be checked. 
To change to the checking mode, it is necessary to change the mode to the MEM mode, and the checking 
mode signal MMOD<Gn067.2> is set to 1. This function makes the data to execute the program 
backward when the program is executed forward in the checking mode. 
To work a machine synchronizing with a pulse generated by a manual handle in the checking mode, the 
manual handle check signal MCHK <Gn067.3> is set to 1 in addition to the above-mentioned. As a result, 
it becomes possible to check the program with a manual handle. 

 

NOTE 

 

During the checking mode, it is not possible to change the parameter and offset. 

 

  - 

Forward movement with a manual handle 

The "forward movement" is that the program is executed forward by turning a manual handle in the 
positive direction (when the manual handle check signal is set to 1.) or in no relation to rotation of a 
manual handle (when the manual handle check signal is set to 0.). 
When the manual handle check signal is set to 1, the execution speed of the program is proportional to the 
number of rotations of a manual handle. The program is executed forward rapidly when a manual handle 
is turned to the positive direction rapidly. And, the program is executed forward slowly when a manual 
handle is turned to the positive direction slowly. The distance magnification traveled per pulse from 
manual handle can be switched as same as a usual manual handle feed function. 
When the manual handle check signal is set to 0, the execution of the program is controlled as same as an 
automatic operation. 
 

  - 

Backward movement 

The "backward movement” is that the program executed forward once is executed backward by turning a 
manual handle in the negative direction. 
The program can be executed backward only for the block executed forward. And, the number of blocks 
for it is about 190 blocks. This block number changes by the content of the commanded program. 
The program is executed backward rapidly when a manual handle is turned to the negative direction 
rapidly. And the program is executed backward slowly when a manual handle is turned to the negative 
direction slowly. The distance traveled per pulse from manual handle can switch magnification as well as 
a usual manual handle feed. 
 

NOTE 

 

In the system which exceeds 4 paths and 20 axes, the maximum number of 
blocks which can move backward becomes about 97 blocks.   

 

Explanation 

  - 

Control by the manual handle 

  Program execution start 

The checking mode signal MMOD<Gn067.2> is set to 1 in the MEM mode in order to change the 
checking mode. Then, the program execution is begun by turning ST signal from 1 to 0. 
If the manual handle check signal MCHK <Gn067.3> is set to 1 at this time, the execution of the program 
is controlled by a manual handle. The program is executed synchronizing with rotation of a manual 
handle.   
When a manual handle check signal MCHK<Gn067.3> is set to 0, it is controlled as usual execution.   
When check mode signal MMOD<Gn067.2> is set to 1 during the operation of the program, it is enabled 
a check mode from the block that next buffering is done. 
That is, even if check mode signal set to 1, check mode is not always enabled at once. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 849 - 

When check mode is enabled, check mode confirmation signal MMMOD<Fn091.3> is set to 1. 

 

NOTE 

 

After the signal MMOD is turned to 0 during the execution of the program, the 
program cannot be executed forward and backward. 

 

  Control with the manual handle 

The value of the parameter No.6410 and the scale factors decide the moving speed of the machine by one 
pulse generated by a manual handle. 
When a manual handle is turned, the actual movement speed of the machine is as follows. 
[Feedrate command value] 

×

 [Number of the handle pulse per a second]

×

 [Handle magnification] 

×

   

([Parameter setting value]/100) 

×

 (8/1000) (mm/min or inch/min) 

Example) 
 

When feedrate command value is 30mm/min, handle magnification is 100, parameter No.6410 is set 
to 1 and manual pulse generator is rotated at 100 pulse/rev, the feedrate of axis is decided as follow. 

 

[Feedrate]=30[mm/min] 

×

 100[pulse/s] 

×

 100 

×

 (1/100) 

×

 (8/1000)[s]=24[mm/min] 

 
When the feedrate exceeds the override 100% feedrate by turning a manual handle rapidly, the feedrate is 
clamped at the speed of override 100%. That is, if the pulse of the following formula exceeds 1, the 
feedrate is clamped. 
 

[Number of the handle pulse per a second]

×

 [Handle magnification] 

×

   

 

([Parameter setting value]/100) 

×

 (8/1000) 

The rapid traverse feedrate is clamped at 10%. However, the feedrate of the rapid traverse is clamped at 
100% when the bit 0 (RPO) of parameter No. 6400 is set to 1. 
And if parameter No.6405 is set to an optional value, it can be clamped to override by nearly optional 
value. 
When the parameter No.6405 is set to larger value than "100", it is clamped to nearly 100%. 
When parameter No.6405 is set to 0, the setting of bit 0 (RPO) of parameter No. 6400 becomes valid. 
The single block signal and the feed hold signal are effective in the checking mode. When the execution 
of a program is stopped by the single block stop or the feed hold stop, it is necessary to turn ST signal 
from 1 to 0 in order to restart the program. 
In the block with the movement and the block of dwell, the execution speed of the program can be 
controlled by turning a manual handle. As for the block of neither movement nor dwell such as the block 
of only address M, S, T, and F, the program advances to the following block even if a manual handle does 
not turn. 
The rotation of the spindle does not synchronize with a pulse of a manual handle. During the checking 
mode, the spindle rotates at the specified rotation speed. As for the feed per revolution, a program is 
executed at the feedrate which was converted from the rotation speed of the spindle to the corresponding 
feed per minute inside CNC. 

 

NOTE 

 

The manual handle used by this function is always the first. The 2nd and 3rd 
manual handle cannot be used in this function. 

 

  Forward movement and backward movement with a manual handle 

The program is executed forward when a manual handle is turned to the positive direction. And, the 
program is executed backward when a manual handle is turned to the negative direction. 
The program is executed backward if a manual handle is turned to the negative direction in executing the 
program forward.   
When a manual handle keeps being turned in a negative direction, the program is executed backward and 
the execution stops in the block of O number. Then, if a manual handle is turned to the positive direction, 
the program is executed forward again. 
Even if a manual handle controls the program execution, the program is executed forward in no relation 
to a pulse generated by a manual handle on setting the manual handle check signal to 0. 

 

 

 

 

 

 

 

Content      ..     109      110      111      112     ..