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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     265      266      267      268     ..

 

 

 

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

 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2090 - 

NOTE 

 

The parameter value is regarded as 0 when data outside the range 
is set to the setting value of each parameter.. 

 

Note 

NOTE 

1  The programs in the folder dedicated to embedded macros (MTB1 folder) can 

also be deleted by the following operations: 
-  SRAM initialization operation 
-  Clearing of program files with the IPL function 

2  The programs in the MTB1 folder can be saved/restored in a batch by the 

following operations: 
-  Saving/restoring of SRAM data in a batch with the BOOT function 
-  Saving/restoring with the automatic data backup function 
 

(when programs are included as targets) 

-  Output to an external device/input from an external device 

3  To the programs in the MTB1 folder, the following protection functions are 

applied in addition to the protection of this function based on the folder attribute: 
-  Parameter-based protection function for programs with O numbers in the 

eight thousands and nine thousands 

-  Protection function based on a key and program encryption 
-  Attribute setting for programs 

4  This function differs from the embedded macro function of the FS16/18/21

i

-B in 

the following: 
-  Program storage method 
-  Program creation procedure 
-  Program protection mechanism, etc. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

DATA INPUT/OUTPUT 

EDITING PROGRAMS 

PROGRAM MANAGEMENT 

 

12.7 

CANNED CYCLE FOR DRILLING 

12.7.1 

Canned Cycle for Drilling 

Overview 

Canned cycles for drilling make it easier for the programmer to create programs. With a canned cycle for 
drilling, a frequently-used machining operation can be specified in a single block with a G code; without 
canned cycles for drilling, normally more than one block is required. In addition, the use of canned cycles 
for drilling can shorten the program to save memory. 
 

Explanation 

A canned cycle for drilling consists of a sequence of six operations. 
Operation 1 

Positioning a hole position 

Operation 2 

Rapid traverse up to point R level 

Operation 3 

Hole machining 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2091 - 

Operation 4 

Operation at the bottom of a hole 

Operation 5 

Retraction to point R level 

Operation 6 

Rapid traverse up to the initial point 

 

Operation 1 

Operation 2 

Point R level 

Initial level 

Operation 6 

Operation 5 

Operation 3 

Operation 4 

Rapid traverse 

Cutting feed 

 

Fig. 12.7.1 (a) Canned cycle for drilling operation sequence 

 

  - 

Spindle control 

In some canned cycles for drilling, a spindle command to rotate the spindle in reverse direction may be 
output automatically. 
 
The following canned cycles for drilling require spindle control: 

<Machining center system> 

<Lathe system> 

Counter tapping cycle 

G74 

Face tapping cycle 

G84 

Fine boring cycle 

G76 

Side tapping cycle 

G88 

Tapping cycle 

G84 

 

Boring cycle 

G86 

 

Back boring cycle 

G87 

 

Boring cycle 

G88 

 

 
For spindle control, the following normal miscellaneous functions are used: 
See the description of the miscellaneous functions. 
 

M03 CW spindle rotation 

 

M04 CCW spindle rotation 

 

M05 Spindle stop 

 

M19 Spindle orientation (machining center system) 

When the rotation direction of the spindle is to be switched from one direction to the other (for example, 
when M04 is output during M03 operation), a parameter can specify whether to send M05 at the time 
switching. 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2092 - 

Timing charts are described in the following page: 

G74 (Counter tapping cycle) 

 

G76 (Fine boring cycle) 

 

G84 (Tapping cycle) 

 

Fig. 12.7.1 (b) Machining of canned cycle for machining center system (1/2) 

 

 

(Note) 

  It is possible to not output 

M05 code by using parameter M5T 
(No. 5105#3). 

To next block 
(G99 mode) 

FIN 

FIN 

Dwell 

FIN 

FIN 

MF 

MF 

M05 

MF 

MF 

M05 

M03 

Dwell 

(Note) 

X,Y 

M04 

(Note) 

To next block 
(G98 mode) 

 

(Note)  It is possible to not output M05 

code by using parameter M5T 
(No. 5105#3). 

To next block 
(G99 mode) 

FIN 

FIN 

Dwell 

FIN 

FIN 

MF 

MF 

M05 

MF 

MF 

M05 

M04 

Dwell 

(Note) 

X,Y 

M03 

(Note) 

To next block 
(G98 mode) 

 

(Note) 

  It is possible to not output 

M05 code by using parameter M5B 
(No. 5101#7). 

FIN 

FIN 

MF 

MF 

M03 

M03 

Return to initial 
level in G98 
mode 

To next block   
(G99 mode) 

FIN 

FIN 

MF 

MF 

M05 

Dwell 

(Note) 

 

X,Y 

M19 

To next block   
(G98 mode) 

(’

)

 

X or Y 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2093 - 

 

FIN 

MF 

M03 

X,Y 

FIN 

MF 

M05 

FIN 

MF 

M03 

To next block   
(G99 mode) 

To next block 
(G98 mode) 

Return to initial level in G98 mode 

G86 (Boring cycle) 

 

G87 (Back boring cycle) 

 

G88 (Boring cycle) 

 

Fig. 12.7.1 (c) Machining of canned cycle for machining center system (2/2) 

 

 

Manual feed 

Return to initial level in G98 
mode or R point level in G99 
mode. 

Dwell 

X,Y 

FIN 

MF 

M05 

Cycle start 

FIN 

MF 

M03 

 

MF 

FIN  FIN 

MF 

M05  M19 

(Note)  It is possible to not output M05 code using 

parameter M5B (No. 5101#7). 

 

Back boring cycle is not used in G99 mode but in 
G98 mode. 

X,Y 

X or Y 

X or Y 

FIN 

MF 

M03 

Dwell 

(Note) 

MF 

FIN  FIN 

MF 

M05  M19 

X or Y 

X or Y 

FIN 

MF 

M03 

(Note) 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2094 - 

G84 (Face tapping cycle) 
G88 (Side tapping cycle) 

 

Fig. 12.7.1 (d) Machining of canned cycle for lathe system 

 

  - 

M code used for C-axis clamp/unclamp 

T

 

When an M code specified in parameter No. 5110 for C-axis clamp is commanded, the CNC issues the M 
code for C-axis clamp after the tool is positioned and before the tool is fed in rapid traverse to the point-R 
level. The CNC also issues the M code (M code C-axis clamp +1) for C-axis unclamp after the tool 
retracts to the point-R level. The tool dwells for the time specified in parameter No. 5111. 
 

  - 

Tapping signal 

During a tapping cycle, the tapping signal TAP <Fn001.5> is output. The tapping signal is output not 
only during the tapping machining but also during the G code of the tapping cycle is valid. 
 

  - 

Override 

During tapping, cutting feedrate override is always set to 100%. 
 

  - 

Feed hold 

When the feed hold key is pressed during tapping, the movement is not stopped  immediately but the 
movement is stopped when the tool is returned to level R. 
 

  - 

Dry run 

The bit 5 (TDR) of parameter No. 1401 specifies whether dry run is valid during tapping. 
 

  - 

Small-hole peck drilling cycle execution signal 

M

 

In the small-hole peck drilling cycle mode, the small-hole peck drilling cycle execution signal PECK2 
<Fn066.5> is output when positioning at point R on the drilling direction axis is started after positioning 
at a specified hole position is performed with G83 specified. This signal is not output if another canned 
cycle is specified or this mode is canceled by G80, a reset, or an emergency stop. 
 

  - 

Overload torque detection signal 

M

 

For the overload torque detection signal in the small-hole peck drilling cycle, a skip signal SKIP

#1

 

<X004.7>, SKIP

#2

 <X013.7>, or SKIP

#3

 <X011.7> is used. The skip signal is valid (a retract operation is 

 

(Note 1)  When parameter M5T (No. 

5105#3)=0, M05 is not output. 

(Note 2)  Another M code can be used by 

parameter No. 5112 and 5113. 

To next block   
(G99 mode) 

FIN 

FIN 

Dwell 

FIN 

FIN 

MF 

MF 

M05 

MF 

MF 

M05 

M03 

Dwell 

(Note 1) 

X,C 

(Z,C) 

(X) 

Z(X) 

M04 

To next block 
(G98 mode) 

(Note 2) 

Z(X) 

(X) 

(Note 1) (Note 2) 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2095 - 

performed) only when the tool on the drilling direction axis is located between point R and point Z and 
the tool is moving forward or performing a cutting operation. 
 

Signal 

Tapping signal TAP<Fn001.5> 

  [Classification]  Output signal 
 

[Function]  Reports that the system is in tapping mode. 

 

[Output cond.]  The signal is set to “1” when: 

The system is in tapping cycle mode. 

 

(G74,G84 : for M series) 

 

(G84,G88 : for T series) 

The system is in tapping mode. 

 

(G63 : for M series) 

The signal is set to “0” when: 

The system is in neither tapping cycle mode nor tapping mode. 

A reset or emergency stop is specified. 

 

Overload torque detection signal SKIP

#1

<X004.7>, SKIP

#2

<X013.7>, SKIP

#3

<X011.7> 

M

 

  [Classification]  Input signal 
 

[Function]  Refracts the tool on which an overload torque is imposed. 

 

[Operation]  When this signal is set to “1”, the control unit performs the following operation: 

When an overload torque is imposed, the tool is retracted to point R then machining 
is repeated after changing the spindle speed and cutting feedrate. 

This signal is valid (a retract operation is performed) only when the tool on the 
drilling axis is located between point R and point Z and the tool is moving forward 
or performing a cutting operation. 

 

NOTE 

 

This signal is used also as a skip signal. 

 

Small-hole peck drilling cycle execution signal PECK2<Fn066.5> 

M

 

  [Classification]  Output signal 
 

[Function]  Posts whether the small-hole peck drilling cycle is being executed. 

 

[Output cond.]  This signal is set to “1” for the following period: 

Period from the start time of positioning at point R on the drilling direction axis after 
positioning at a hole position is performed with G83 specified in this cycle mode 
until another canned cycle, which may be G80, or a G code of group 01 is specified 
or until this mode is canceled by a reset or emergency stop. 

This signal is not set to “1” in a state other than the above. 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2096 - 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

X004 

 

SKIP

#1

 

 

 

 

 

 

 

 

 

X011 

 

SKIP

#3

 

 

 

 

 

 

 

 

 

X013 

 

SKIP

#2

 

 

 

 

 

 

 

 

 

Fn001 

 

 

 

TAP 

 

 

 

 

 

 

Fn066 

 

 

 

PECK2 

 

 

 

 

 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0001 

 

 

 

 

 

 

 

FCV 

 

 

 

[Input type]  Setting input 

 

[Data type]  Bit path 

 

 

#1  FCV

  Program format 

0: 

FANUC Series 16 program format 

1: 

FANUC Series 15 program format 

 

NOTE 

1  Programs created in the FANUC Series 15 program format can be 

used for operation on the following functions: 
1  Subprogram call M98 
2  Thread cutting G32 (T series) 
3  Canned cycle G90, G92, G94 (T series) 
4  Multiple repetitive canned cycle   

G71 to G76 (T series) 

5  Drilling canned cycle 

G83.1, G80 to G89 (T series) / G73, G74, G76, G80 to G89 (M 
series) 

2  When the FANUC Series 15 program format is used for this CNC, 

some limits may add. Refer to the Operator’s Manual. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1401 

 

 

 

TDR 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#5  TDR

  Dry run during threading or tapping (tapping cycle G74 or G84, rigid tapping) 

0: 

Enabled 

1: 

Disabled 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3708 

 

 

TSO 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2097 - 

 

#6  TSO

  During a threading or tapping cycle, the spindle override is: 

0: 

Disabled (tied to 100%). 

1: 

Enabled. 

 

NOTE 

 

During rigid tapping, the override is tied to 100%, irrespective of the 
setting of this parameter. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5101 

 

 

 

 

 

 

RTR 

EXC 

FXY 

 

M5B 

 

 

 

 

 

EXC 

FXY 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  FXY

  The drilling axis in the drilling canned cycle, or cutting axis in the grinding canned cycle 

is: 
0: 

Z-axis at all times. 

1: 

Axis selected by the program 

 

NOTE 

 

In the case of the T series, this parameter is valid only for the 
drilling canned cycle in the FANUC Series 15 program format. 

 

 

#1  EXC

  G81 

0: 

Specifies a drilling canned cycle 

1: 

Specifies an external operation command 

 

 

#2  RTR

  G83 and G87 

0: 

Specify a high-speed peck drilling cycle 

1: 

Specify a peck drilling cycle 

 

 

#7  M5B

  In drilling canned cycles G76 and G87: 

0: 

Outputs M05 before an oriented spindle stops 

1: 

Not output M05 before an oriented spindle stops 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5102 

 

RDI 

RAB 

 

 

F16 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#3  F16

  When the FANUC Series 15 program format is used (with bit 1 (FCV) of parameter No. 

0001 set to 1), a canned drilling cycle is specified using : 
0: 

FANUC Series 15 program format 

1: 

FANUC Series 16 program format. However, the number of repetitions is specified 
using address L. 

 

 

 

 

 

 

 

 

Content      ..     265      266      267      268     ..