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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     108      109      110      111     ..

 

 

 

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

 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 834 - 

SBV=1  :  Single block operation in custom macro statements is suppressed using macro system variable 

#3003. Execution of custom macro statements is stopped after each block execution. 

 

NOTE 

1  In the cutter or tool nose radius compensation mode, the block look-ahead 

operation is performed even in single-block operation to calculate a path 
intersection after offsetting. So, a macro statement is also executed when read in 
advance. Therefore, turn off the cutter or tool nose radius compensation mode, 
when the single block operation is enabled for custom macro statements by 
SBM=1 or SBV=1. 

2  When the single block operation is enabled for custom macro statements by 

SBM=1 or SBV=1, a custom macro statement block is assumed to be an NC 
statement block that does not involve movement. Therefore, the motion may 
differ between the normal operation and the single block operation. 

 
When M99 is executed by the single block operation, operation stops after executing the next block of 
M99.  However, when the single block stop is invalidated by the system variable #3003, and the single 
block stop is validated again by the system variable #3003, the single block stop is done with the first 
M99. However, when bit 0 (M99) of parameter No.11648 is set to 1, operation can be stopped with M99. 
When the CNC is in the automatic operation stop state during single block operation, the mode can be 
changed to manual data input (MDI), manual handle feed (HNDL), incremental feed (INC), or jog feed 
(JOG), by using the mode select signals (MD1, MD2, and MD4). 
 

Signal 

Single block signal SBK<Gn046.1> 

    [Classification]  Input signal 
 

  [Function]  Enables single block operation. 

 

  [Operation]  When this signal is set to 1, single block operation is performed.   

When this signal is set to 0, normal operation is performed. 

 

Single block check signal MSBK<Fn004.3> 

    [Classification]  Output signal 
 

  [Function]  Notifies the PMC of the state of the single block signal. 

    [Output cond.]  This signal is set to 1 in the following case: 

When single block signal SBK is set to 1 

This signal is set to 0 in the following case: 

When single block signal SBK is set to 0 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn046 

 

 

 

 

 

 

 

SBK 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn004 

 

 

 

 

 

MSBK 

 

 

 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

6000 

 

SBV 

 

SBM 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 835 - 

 

#5  SBM

  Custom macro statement 

0: 

Not stop the single block 

1: 

Stops the single block 

If you want to disable the single blocks in custom macro statements using system variable 
#3003, set this parameter to 0. If this parameter is set to 1, the single blocks in custom 
macro statements cannot be disabled using system variable #3003. To control single 
blocks in custom macro statements using system variable #3003, use bit 7 (SBV) of 
parameter No. 6000. 
 

 

#7  SBV

  Custom macro statement 

0: 

Not stop the single block 

1: 

Enable/disable single block stop with system variable #3003 

 

Bit 5 (SBM) of parameter No. 6000 

Bit 7 (SBV) of 

parameter No. 

6000 

Disables single block stop. 

Enables single block stop. (With 
variable #3003, single block stop 
cannot be enabled/disabled. Single 
block stop is enabled at all times.) 

Enables single block stop. (With 
variable #3003, single block stop 
can be enabled/disabled.) 

 

NOTE 

1  In the cutter or tool nose radius compensation mode, the block 

look-ahead operation is performed even in single-block operation to 
calculate a path intersection after offsetting. So, a macro statement 
is also executed when read in advance. Therefore, turn off the 
cutter or tool nose radius compensation mode, when the single 
block operation is enabled for custom macro statements by SBM=1 
or SBV=1. 

2  When the single block operation is enabled for custom macro 

statements by SBM=1 or SBV=1, a custom macro statement block 
is assumed to be an NC statement block that does not involve 
movement. Therefore, the motion may differ between the normal 
operation and the single block operation. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11648 

 

 

 

 

 

 

 

 

M99 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 
 

#0  M99

  When the M99 is executed in the single block operation: 

0: 

Operating stops after executing the previous return block. 

1: 

Operating stops before executing the previous return block. 

 
This function is effective only for M99 commanded in the following programs.   

-

 

Execution macro of macro executor 

-

 

Programs in "//CNC_MEM/SYSTEM" folder (*1)   

-

 

Programs in "//CNC_MEM/MTB1" folder (Embedded macro) (*1)   

-

 

Programs in "//CNC_MEM/MTB2" folder(*1)   

-

 

Programs of O number within the range specified by parameter 11656 and 11658.   

(*1)  It is effective only to the program  put on the right under of each folder.  When the 

subfolder is made and the program is put, parameter M99 is invalid to such a 
program. 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 836 - 

11656 

 

The first O number of the program for parameter M99(No.11648#0) make effective 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  1 to 99999999 

Specify the first O number for parameter M99(No.11648#0) make effective. 
When this parameter is 0, the specification of O number in which parameter M99 is made 
effective is invalid. 
 

11657 

 

The number of programs for parameter M99(No.11648#0) make effective 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  1 to 99999999 

Specify the number of programs for parameter M99(No.11648#0) make effective. 
When this parameter is 0, the specification of O number in which parameter M99 is made 
effective is invalid. 
 

CAUTION 

  CAUTION 

1  Operation in thread cutting 

When the SBK signal turns to 1 during thread cutting, operation stops after 
execution of the first non-thread cutting block after the thread cutting command. 

2  Operation in canned cycle   

When the SBK signal turns to 1 during canned cycle operation, the operation 
stops at each positioning, approach, drilling and retreat instead of the end of the 
block. The SPL signal turns to 1 while the STL signal turns to 0, showing that the 
end of the block has not been reached. When the execution of one block is 
completed, the STL and SPL signals turn to 0 and the operation is stopped. 

3  When a parameter M99(No.11648#0) is set to 1, the tool path might be different 

because of a single block operation and a continuous operation, when the block 
where the movements do not exist is commanded just before or just behind M99 
in the cutter compensation and tool nose radius compensation mode. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Single block 

 

5.3.4 

High-speed Program Check Function 

Overview 

High-speed program check function has following features. 

The program format check and the stroke limit check are available without axes movements. 

The program check is executed with the maximum feedrate of CNC system and without the 
acceleration/deceleration regardless of the specified data. 

After the program check is completed, the  reference position return is not necessary because the 
workpiece coordinate system preset is executed automatically at the end of the high-speed program 
check mode. 

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the data, which are changed during the 
high-speed program check mode, are restored to the data at the start of the high-speed program 
check mode when ending the high-speed program check mode. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 837 - 

By this, after ending the high-speed program check mode, the automatic operation can be executed 
with the data before the start of the high-speed program check mode. 

 

Explanation 

  - 

Basic operation procedure of the high-speed program check 

(1)  Set the high-speed program check mode. 
(2)  Perform a cycle start operation. The high-speed program check is then performed. 
(3)  After program execution is completed and the check ends, the high-speed program check mode ends. 
 

  - 

Start of High-speed program check mode   

The high-speed program check mode is started under both of the following conditions. 

The signal PGCK <Gn290.5> for high-speed program check is 1. 

MEM or DNC mode is selected. 

When the mode is except MEM or DNC mode, the high-speed program check mode is not started even if 
the signal PGCK <Gn290.5> is 1. 

 

  - 

End of High-speed program check mode 

The high-speed program check mode is ended under one of the following conditions. 

The signal PGCK <Gn290.5> is changed from 1 to 0. 

A mode except MEM or DNC is selected during the high-speed program check mode. 

 

NOTE 

 

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

 

  - 

Program Check Start 

The program check is started when the signal ST <Gn007.2> for cycle start signal is changed from 1 to 0 
at the high-speed program check mode. 
Then, the program execution is started without axes movements. 
 

  - 

Stroke Limit Check 

Following the stroke limit check is executed without axes movements during the high-speed program 
check mode. 

Stored stroke check 1 

Stored stroke check 2, 3 

Stroke limit check before move 

 

NOTE 

 

The stroke limit check during the high-speed program check mode is similar to 
the normal stored stroke limit check. (The alarm 500 etc. occurs at exceeding the 
stroke limit.) 

 

As for the details of occurrence alarms, refer to chapter of stored stroke check in 
Operator's Manual. 

 

  - 

Program Check Feedrate 

During the high-speed program check mode, the feedrate of program execution becomes the maximum 
feedrate of CNC system regardless of the specified feedrate. 
The feedrate clamp, override and dry run are not effective. 
 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 838 - 

Table 5.3.4 (a) 

Increment system 

Program check execution feedrate 

IS-A 

IS-B 

IS-C 

Millimeter machine (unit: mm/min) 

999000 

999000 

999000 

Inch machine (unit: inch/min) 

96000 

9600 

9600 

Rotary axis (unit: deg/min) 

999000 

999000 

999000 

 

  CAUTION 

 

The program check execution feedrate at circle interpolation is according to the 
bit 7 (PGF) of parameter No. 1490 setting.   

 

NOTE 

1  The execution time of dwell is the same as a normal operation. 
2  The PS011 alarm occurs when there is no F command in a normal operation. 

However, it is executed at maximum speed without the alarm in the high-speed 
program check mode even if there is no F command. 

 

  - 

Acceleration / deceleration 

During the high-speed program check mode, the acceleration/deceleration after interpolation and before 
interpolation is not executed regardless of the acceleration/deceleration setting value. 
(Acceleration/deceleration time constant becomes to 0.) 
 

  - 

Workpiece Coordinate System Preset 

When the high-speed program check mode is ended, the workpiece coordinate system preset is executed 
automatically. 
Therefore, the program execution can be done without doing the reference position return after the 
program check. 
 

  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. 

 

NOTE 

1  When the bit 3 (PGR) of parameter No. 3454 is set to 0, set the bit 6 (WPS) of 

parameter No. 3006 to 1 to do workpiece coordinate system preset at the end of 
the high-speed program check mode. When the bit 3 (PGR) of parameter No. 
3454 is set to 1, workpiece coordinate system preset is executed at the end of the 
high-speed program check mode regardless of the bit 6 (WPS) of parameter No. 
3006 setting.   

2  When the bit 3 (PGR) of parameter No. 3454 is set to 1 in multi-path system, all 

paths must be in the high-speed program check mode simultaneously. If some 
paths are in the high-speed program check mode, the automatic operation can 
not be executed in other paths. 

 

  - 

Machine Coordinate Display For Program Check 

During the high-speed program check mode, it is possible to change the display of machine coordinates 
from  the actual machine coordinates to the machine coordinates for the program check by setting bit 7 
(PGM) of parameter No.11320. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 839 - 

And it is possible to change the display of machine coordinate for each axis from the actual machine 
coordinate to the machine coordinate for the program check by setting bit 4 (PGA) of parameter No.3115. 
 

NOTE 

1  When the signal EAX* <Gn136> for control axis select (PMC axis control) is set 

to 1, the machine coordinate of the axis shows the actual machine coordinate 
regardless of the parameter PGM and PGA setting. 

2  The diagnosis data No. 301 (machine position) always shows the actual machine 

coordinate (the machine position from the reference position) regardless of the 
parameter PGM and PGA setting.   

 

  - 

Display during High-speed program check mode 

During the high-speed program check mode, "PRG-CHK" blinks on the lower right of the CNC display. 
 

  - 

Tool life 

If tool life management command or tool management command is specified during the high-speed 
program check mode, tool life is not counted. 
 

  - 

Auxiliary function 

When the bit 6 (PGS) of parameter No. 3001 is set to 0, the auxiliary function is not executed during the 
high-speed program check mode. This is same as when the signal AFL <Gn005.6> for auxiliary function 
lock is 1. That is, M, S, T, and B function code signals and strobe signals are not output. 
When the bit 6 (PGS) of parameter No. 3001 is set to 1, the M, S, T, and B function code signals and 
strobe signals are output during the high-speed program check mode. This is  same as the normal 
operation. 
 

  WARNING 

 

Please note that the spindle rotates by S command under the either of following 
conditions during the high-speed program check mode. To prohibit the rotation of 
the spindle in the high-speed program check mode, take countermeasure in PMC 
ladder using the signal PRGMD<Fn290.5>. 

-  Lathe system 
-  Constant surface speed control is effective 
-  T type gear selection method (bit 4 (GTT) of parameter No. 3706 =1)   

 

  CAUTION 

1  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.   

2  If M code (Parameter No.11275), which turns on each axis workpiece coordinate 

system preset signal, is commanded in the high-speed program check mode with 
bit 6 (PGS) of parameter No. 3001=0, the alarm PS5364 occurs. In the machine 
that uses such a program, set bit 6 (PGS) of parameter No. 3001 to 1. 

3  In case of using the tool management function, set bit 6 (PGS) of parameter No. 

3001 to 1 and execute the window function (code 329) by T code and M code as 
well as usually operation in order to execute the tool compensation correctly with 
D99 and H99. 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 840 - 

  - 

Data save at start of high-speed program check mode   

When the bit 3 (PGR) of parameter No. 3454 is set to 1, the following data are saved at the start of the 
high-speed program check mode. 

 

Modal G-code 

 

F, S, T, M, B, H, D-code 

 

Tool life management data 

 

Tool management data 

 

Variable data changed by programmable data entry (G10) 

Tool offset values 

External workpiece origin offset values 

Workpiece origin offset values (1 to 6) 

Workpiece origin offset values of additional workpiece coordinate systems (1 to 48 or 1 to 300) 

Rotary table dynamic fixture offset values (Machining center system) 

Parameters 

Tool data of the path interference check function (Lathe system and multi path system) 

Workpiece coordinate system shift values (Lathe system) 

Graphic parameters 

 

Macro variables 

Local variables #1 to #33 

Common variables #100 to #149 (#199), #500 to #531 (#999) 

 

NOTE 

1  The data of the periodic maintenance screen are not saved.   
2  When the bit 6 (PGS) of parameter No. 3001 is set to 1, the M, S, T, and B codes 

are not saved.   

3  In multi path system, the data in all paths is saved when one path becomes the 

high-speed program check mode.   

 
  - 

Data restore at end of high-speed program check mode   

In case that the bit 3 (PGR) of parameter No. 3454 is set to 1, the data, which are changed during the 
high-speed program check mode, are restored to the data at the start of the high-speed program check 
mode when ending the high-speed program check mode. 
By this, after ending the high-speed program check mode, the automatic operation can be executed with 
the data before the start of the high-speed program check mode. 
The data to be restored are the same as those of described on "Data save at start of high-speed program 
check mode". 
 

  WARNING 

1  In multi path system, the data in all paths is saved when one path becomes the 

high-speed program check mode, and the data in all paths is restored when all 
paths get out of the high-speed program check mode. That is, when there is 
different timing of changing the high-speed program check signal 
PGCK<Gn290.5> in each path, the completion of the high-speed program check 
mode in a path might influence the operation of other paths. For instance, if the 
high-speed program check mode of a path is turned off when machining is in 
progress on another path, it might face dangerous situation because the data of 
other paths during machining also changes. Therefore, in multi path system, 
please keep the timing of the state of the high-speed program check mode 
simultaneously in all paths when you set bit 3 (PGR) of parameter No. 3454 to 1. 
Please do not have both paths of the high-speed program check mode and paths 
of normal mode in a multi path system. 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 841 - 

  WARNING 

2  The coordinate value set 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 is not 
restored.   

 

  CAUTION 

1  After restoring the data, the absolute coordinate is calculated from machine 

coordinate by using the restored data. 

2  In case that the relative position display is preset (the bit 3 (PPD) of parameter 

No. 3104 is set to 1) in the coordinate system setting, the relative coordinate is 
not restored and presets same value as the absolute coordinate. 

3  The data of the periodic maintenance screen are not restored. 
4  When the bit 6 (PGS) of parameter No. 3001 is set to 1, the M, S, T, and B codes 

are not restored. 

5  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.   

 

Limitation 

  - 

High-speed program check signal 

The alarm PS5365 occurs when the signal PGCK <Gn290.5> is changed from 0 to 1 or from 1 to 0 while 
a program is executing. 
 

  - 

Stroke limit check 

When a command that exceeds a stroke limit is specified  in the high speed program check mode, an 
overtravel alarm occurs after the stroke limit is exceeded regardless of the bit 7 (BFA) of parameter No. 
1300 setting. 
The process of the overtravel alarm cancellation is as follows. 
(1)  Change to the mode except MEM or DNC. 

(2)  Push 

 

  key or input reset signal. 

 
The alarm cancellation of stroke limit check 1 is based on the bit 4 (OF1) of parameter No. 1301. 
Therefore, when the parameter OF1 is set to 0, the alarm is cancelled by the above process and when this 
parameter is set to 1, the alarm is cancelled automatically when the high-speed program check mode is 
ended. 
 
Bit 4 (OF1) of parameter No. 1301: 
 

If the axis is moved into the allowable range after an OT alarm is generated by stored stroke check 1, 
0: 

The alarm is not canceled before a reset is made. 

1: 

The alarm is immediately canceled. 

 

  - 

Stroke limit check before move 

When there is a movement command that exceeds the stroke limit in the high-speed program check mode, 
an alarm of the stroke limit check before move and a usual overtravel alarm might occur at the same time. 
 

  - 

Stored stroke check 2, 3 

In case that there is narrow forbidden area, the alarm might not be able to be detected in the block which 
crosses the forbidden area in the high-speed program check mode. 

 

 

 

 

 

 

 

Content      ..     108      109      110      111     ..