FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 11

 

  Index      Manuals     FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     9      10      11      12     ..

 

 

 

FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 11

 

 

 

PROGRAMMING

 

B-63944EN/03

 

 

- 44 - 

3. PREPARATORY FUNCTION 

(G FUNCTION) 

Table 3.1 (a)  G code list 

G code 

Group 

Function 

G82 

Drilling cycle or counter boring cycle 

G83 

Peck drilling cycle 

G84 Tapping 

cycle 

G84.2 

Rigid tapping cycle (FS15 format) 

G84.3 

Left-handed rigid tapping cycle (FS15 format) 

G85 Boring 

cycle 

G86 Boring 

cycle 

G87 

Back boring cycle 

G88 Boring 

cycle 

G89 

09 

Boring cycle 

G90 Absolute 

programming 

G91 

03 

Incremental programming 

G91.1 

Checking the maximum incremental amount specified 

G92 

Setting for workpiece coordinate system or clamp at maximum spindle speed 

G92.1 

00 

Workpiece coordinate system preset 

G93 

Inverse time feed 

G94 

Feed per minute 

G95 

05 

Feed per revolution 

G96 

Constant surface speed control 

G97 

13 

Constant surface speed control cancel 

G96.1 

Spindle indexing execution (waiting for completion) 

G96.2 

Spindle indexing execution (not waiting for completion) 

G96.3 

Spindle indexing completion check 

G96.4 

00 

SV speed control mode ON 

G98 

Canned cycle : return to initial level 

G99 

10 

Canned cycle : return to R point level 

G107 00 

Cylindrical 

interpolation 

G112 

Polar coordinate interpolation mode 

G113 

21 

Polar coordinate interpolation mode cancel 

G160 

Infeed control cancel 

G161 

20 

Infeed control 

 
 

B-63944EN/03

 PROGRAMMING 

 

- 45 - 

3.PREPARATORY FUNCTION

(G FUNCTION)

3.2 

G  CODE LIST IN THE LATHE SYSTEM 

 

T

 

Table 3.2 (a)  G code list 

G code system 

A B C 

Group Function 

G00 

G00 

G00 

Positioning (Rapid traverse) 

G01 G01 G01 

Linear 

interpolation (Cutting feed) 

G02 G02 G02 

Circular 

interpolation 

CW or helical interpolation CW 

G03 G03 G03 

Circular 

interpolation 

CCW or helical interpolation CCW 

G02.2 G02.2 G02.2 

Involute interpolation CW 

G02.3 G02.3 G02.3 

Exponential interpolation CW 

G02.4 G02.4 G02.4 

Three-dimensional coordinate system conversion CW 

G03.2 G03.2 G03.2 

Involute interpolation CCW 

G03.3 G03.3 G03.3 

Exponential interpolation CCW 

G03.4 G03.4 G03.4 

01 

Three-dimensional coordinate system conversion CCW 

G04  

G04  

G04  

Dwell 

G05  

G05 

G05 

AI contour control (command compatible with high precision 
contour control), High-speed cycle machining 

G05.1 G05.1 G05.1 

AI contour control / Nano smoothing / Smooth interpolation 

G05.4 G05.4 G05.4 

00 

HRV3, 4 on/off 

G06.2 G06.2 G06.2 01 

NURBS 

interpolation 

G07  

G07 

G07 

Hypothetical axis interpolation 

G07.1 

(G107) 

G07.1 

(G107) 

G07.1 

(G107) 

Cylindrical interpolation 

G08 G08 G08 

Advanced preview control 

G09 G09 G09 

Exact 

stop 

G10 

G10 

G10 

Programmable data input 

G10.6 G10.6 G10.6 

Tool retract and recover 

G10.9 G10.9 G10.9 

Programmable switching of diameter/radius specification 

G11 G11 G11 

00 

Programmable data input mode cancel 

G12.1 

(G112) 

G12.1 

(G112) 

G12.1 

(G112) 

Polar coordinate interpolation mode 

G13.1 

(G113) 

G13.1 

(G113) 

G13.1 

(G113) 

21 

Polar coordinate interpolation cancel mode 

G17 

G17 

G17 

XpYp plane selection 

G18 G18 G18 

ZpXp 

plane 

selection 

G19 G19 G19 

16 

YpZp plane selection 

G20 

G20 

G70 

Input in inch 

G21 G21 G71 

06 

Input in mm 

G22 G22 G22 

Stored 

stroke check function on 

G23 G23 G23 

09 

Stored stroke check function off 

G25 G25 G25 

Spindle speed fluctuation detection off 

G26 G26 G26 

08 

Spindle speed fluctuation detection on 

 

PROGRAMMING

 

B-63944EN/03

 

 

- 46 - 

3. PREPARATORY FUNCTION 

(G FUNCTION) 

Table 3.2 (a)  G code list 

G code system 

A B C 

Group Function 

G27 

G27 

G27 

Reference position return check 

G28 

G28 

G28 

Return to reference position 

G29 G29 G29 

Movement 

from reference position 

G30 

G30 

G30 

2nd, 3rd and 4th reference position return 

G30.1 G30.1 G30.1 

Floating reference point return 

G31 G31 G31 

Skip 

function 

G31.8 G31.8 G31.8 

00 

EGB-axis skip 

G32 G33 G33 

Threading 

G34 

G34 

G34 

Variable lead threading 

G35 

G35 

G35 

Circular threading CW 

G36 G36 G36 

Circular threading CCW (When bit 3 (G36) of parameter No. 
3405 is set to 1) or Automatic tool offset (X axis) (When bit 3 
(G36) of parameter No. 3405 is set to 0) 

G37 G37 G37 

Automatic tool offset (Z axis) (When bit 3 (G36) of parameter No. 
3405 is set to 0) 

G37.1 G37.1 G37.1 

Automatic tool offset (X axis) (When bit 3 (G36) of parameter No. 
3405 is set to 1) 

G37.2 G37.2 G37.2 

Automatic tool offset (Z axis) (When bit 3 (G36) of parameter No. 
3405 is set to 1) 

G38 

G38 

G38 

Tool radius/tool nose radius compensation:  with vector held 

G39 G39 G39 

01 

Tool radius/tool nose radius compensation: corner rounding 
interpolation 

G40 

G40 

G40 

Tool radius/tool nose radius compensation : cancel 

G41 

G41 

G41 

Tool radius/tool nose radius compensation : left 

G42  

G42  

G42  

Tool radius/tool nose radius compensation : right 

G41.2 G41.2 G41.2 

3-dimensional cutter compensation : left (type 1) 

G41.3 G41.3 G41.3 

3-dimensional cutter compensation :  
(leading edge offset) 

G41.4 G41.4 G41.4 

3-dimensional cutter compensation : left (type 1) (FS16i-
compatible command) 

G41.5 G41.5 G41.5 

3-dimensional cutter compensation : left (type 1) (FS16i-
compatible command) 

G41.6 G41.6 G41.6 

3-dimensional cutter compensation : left (type 2) 

G42.2 G42.2 G42.2 

3-dimensional cutter compensation : right (type 1) 

G42.4 G42.4 G42.4 

3-dimensional cutter compensation : right (type 1) (FS16i-
compatible command) 

G42.5 G42.5 G42.5 

3-dimensional cutter compensation : right (type 1) (FS16i-
compatible command) 

G42.6 G42.6 G42.6 

07 

3-dimensional cutter compensation : right (type 2) 

G40.1 G40.1 G40.1 

Normal direction control cancel mode 

G41.1 G41.1 G41.1 

Normal direction control left on 

G42 .1 

G42 .1 

G42 .1 

19 

Normal direction control right on 

B-63944EN/03

 PROGRAMMING 

 

- 47 - 

3.PREPARATORY FUNCTION

(G FUNCTION)

Table 3.2 (a)  G code list 

G code system 

A B C 

Group Function 

G43 G43 G43 

Tool length compensation +  
(Parameter TCT (No.5040#3) must be "1".) 

G44 G44 G44 

Tool length compensation -  
(Parameter TCT (No.5040#3) must be "1".) 

G43.1 G43.1 G43.1 

Tool length compensation in tool axis direction  
(Parameter TCT (No.5040#3) must be "1".) 

G43.4 G43.4 G43.4 

Tool center point control (type 1)  
(Parameter TCT (No.5040#3) must be "1".) 

G43.5 G43.5 G43.5 

Tool center point control (type 2)  
(Parameter TCT (No.5040#3) must be "1".) 

G43.7 

(G44.7) 

G43.7 

(G44.7) 

G43.7 

(G44.7) 

Tool offset  
(Parameter TCT (No.5040#3) must be "1".) 

G49 

(G49.1) 

G49 

(G49.1) 

G49 

(G49.1) 

23 

Tool length compensation cancel  
(Parameter TCT (No.5040#3) must be "1".) 

G50 

G92 

G92 

Coordinate system setting or max spindle speed clamp 

G50.3 G92.1 G92.1 

00 

Workpiece coordinate system preset 

- G50 

G50 

Scaling 

cancel 

- G51 

G51 

18 

Scaling 

G50.1 G50.1 G50.1 

Programmable mirror image cancel 

G51.1 G51.1 G51.1 

22 

Programmable mirror image 

G50.2 

(G250) 

G50.2 

(G250) 

G50.2 

(G250) 

Polygon turning cancel 

G51.2 

(G251) 

G51.2 

(G251) 

G51.2 

(G251) 

20 

Polygon turning 

G50.4 G50.4 G50.4 

Cancel synchronous control 

G50.5 G50.5 G50.5 

Cancel composite control 

G50.6 G50.6 G50.6 

Cancel superimposed control 

G51.4 G51.4 G51.4 

Start synchronous control 

G51.5 G51.5 G51.5 

Start composite control 

G51.6 G51.6 G51.6 

Start superimposed control 

G52 

G52 

G52 

Local coordinate system setting 

G53 G53 G53 

Machine 

coordinate system setting 

G53.1 G53.1 G53.1 

00 

Tool axis direction control 

G54 

(G54.1) 

G54 

(G54.1) 

G54 

(G54.1) 

Workpiece coordinate system 1 selection 

G55  

G55  

G55  

Workpiece coordinate system 2 selection 

G56 G56 G56 

Workpiece 

coordinate system 3 selection 

G57 G57 G57 

Workpiece 

coordinate system 4 selection 

G58 G58 G58 

Workpiece 

coordinate system 5 selection 

G59 G59 G59 

14 

Workpiece coordinate system 6 selection 

G54.4 G54.4 G54.4 

26 

Workpiece setting error compensation 

G60 G60 G60  00 

Single 

direction positioning 

G61 

G61 

G61 

Exact stop mode 

G62 

G62 

G62 

Automatic corner override mode 

G63 G63 G63 

Tapping 

mode 

G64 G64 G64 

15 

Cutting mode 

G65 G65 G65  00 

Macro 

call 

G66 

G66 

G66 

Macro modal call A 

G66.1 G66.1 G66.1 

Macro modal call B 

G67 G67 G67 

12 

Macro modal call A/B cancel 

 

PROGRAMMING

 

B-63944EN/03

 

 

- 48 - 

3. PREPARATORY FUNCTION 

(G FUNCTION) 

Table 3.2 (a)  G code list 

G code system 

A B C 

Group Function 

G68 

G68 

G68 

04 

Mirror image on for double turret or balance cutting mode 

G68.1 G68.1 G68.1 

Coordinate system rotation start or three-dimensional coordinate 
system conversion mode on 

G68.2 G68.2 G68.2 

Tilted working plane command 

G68.3 G68.3 G68.3 

Tilted working plane command by tool axis direction 

G68.4 G68.4 G68.4 

17 

Tilted working plane command (incremental multi-command) 

G69 

G69 

G69 

04 

Mirror image off for double turret or balance cutting mode cancel

G69.1 G69.1 G69.1  17 

Coordinate system rotation cancel or three-dimensional 
coordinate system conversion mode off 

G70 G70 G72 

Finishing 

cycle 

G71 

G71 

G73 

Stock removal in turning 

G72 

G72 

G74 

Stock removal in facing 

G73 

G73 

G75 

Pattern repeating cycle 

G74 

G74 

G76 

End face peck drilling cycle 

G75 G75 G77 

Outer 

diameter/internal diameter drilling cycle 

G76 G76 G78 

00 

Multiple-thread cutting cycle 

G71 

G71 

G72 

Traverse grinding cycle 

G72 G72 G73 

Traverse 

direct sizing/grinding cycle 

G73 

G73 

G74 

Oscillation grinding cycle 

G74 G74 G75 

01 

Oscillation direct sizing/grinding cycle 

G80 G80 G80  10 

Canned cycle cancel for drilling 
Electronic gear box : synchronization cancellation 

G80.4 

G80.4 

G80.4 

Electronic gear box:  synchronization cancellation 

G81.4 G81.4 G81.4 

28 

Electronic gear box:  synchronization start 

G80.5 

G80.5 

G80.5 

Electronic gear box 2 pair:  synchronization cancellation 

G81.5 G81.5 G81.5 

27 

Electronic gear box 2 pair:  synchronization start 

G81 G81 G81 

Spot drilling (FS15-T format) 
Electronic gear box : synchronization start 

G82 

G82 

G82 

Counter boring (FS15-T format) 

G83 

G83 

G83 

Cycle for face drilling 

G83.1 G83.1 G83.1 

High-speed peck drilling cycle (FS15-T format) 

G83.5 G83.5 G83.5 

High-speed peck drilling cycle 

G83.6 G83.6 G83.6 

Peck drilling cycle 

G84 

G84 

G84 

Cycle for face tapping 

G84.2 G84.2 G84.2 

Rigid tapping cycle (FS15-T format) 

G85 

G85 

G85 

Cycle for face boring 

G87 

G87 

G87 

Cycle for side drilling 

G87.5 G87.5 G87.5 

High-speed peck drilling cycle 

G87.6 G87.6 G87.6 

Peck drilling cycle 

G88 

G88 

G88 

Cycle for side tapping 

G89 G89 G89 

10 

Cycle for side boring 

G90 G77 G20 

Outer 

diameter/internal diameter cutting cycle 

G92 G78 G21 

Threading 

cycle 

G94 G79 G24 

01 

End face turning cycle 

G91.1 G91.1 G91.1 

00 

Maximum specified incremental amount check 

G96 G96 G96 

Constant 

surface speed control 

G97 G97 G97 

02 

Constant surface speed control cancel 

B-63944EN/03

 PROGRAMMING 

 

- 49 - 

3.PREPARATORY FUNCTION

(G FUNCTION)

Table 3.2 (a)  G code list 

G code system 

A B C 

Group Function 

G96.1 G96.1 G96.1 

Spindle indexing execution (waiting for completion) 

G96.2 G96.2 G96.2 

Spindle indexing execution (not waiting for completion) 

G96.3 G96.3 G96.3 

Spindle indexing completion check 

G96.4 G96.4 G96.4 

00 

SV speed control mode ON 

G93 

G93 

G93 

Inverse time feed 

G98 

G94 

G94 

Feed per minute 

G99 G95 G95 

05 

Feed per revolution 

- G90 

G90 

Absolute 

programming 

- G91 

G91 

03 

Incremental programming 

G98 

G98 

Canned cycle : return to initial level 

- G99 

G99 

11 

Canned cycle : return to R point level 

 

4.INTERPOLATION FUNCTIONS

 PROGRAMMING 

B-63944EN/03

 

 

- 50 - 

INTERPOLATION FUNCTIONS 

 
Interpolation functions specify the way to make an axis movement (in 
other words, a movement of the tool with respect to the workpiece or 
table). 
 
Chapter 4, "INTERPOLATION FUNCTIONS", consists of the 
following sections: 
 
4.1 POSITIONING 

(G00) ..............................................................51 

4.2  SINGLE DIRECTION POSITIONING (G60).........................53 
4.3  LINEAR INTERPOLATION (G01) ........................................56 
4.4  CIRCULAR INTERPOLATION (G02, G03)..........................59 
4.5  HELICAL INTERPOLATION (G02, G03) .............................65 
4.6  HELICAL INTERPOLATION B (G02, G03) .........................67 
4.7  SPIRAL INTERPOLATION, CONICAL   

INTERPOLATION (G02, G03) ...............................................68 

4.8  POLAR COORDINATE INTERPOLATION (G12.1, G13.1) 76 
4.9  CYLINDRICAL INTERPOLATION (G07.1) .........................85 
4.10  CUTTING POINT INTERPOLATION FOR   

CYLINDRICAL INTERPOLATION (G07.1) .........................90 

4.11  EXPONENTIAL INTERPOLATION (G02.3, G03.3) ..........102 
4.12  SMOOTH INTERPOLATION (G05.1) .................................109 
4.13 NANO 

SMOOTHING............................................................113 

4.14  NURBS INTERPOLATION (G06.2).....................................121 
4.15  HYPOTHETICAL AXIS INTERPOLATION (G07) ............131 
4.16  VARIABLE LEAD THREADING (G34)..............................133 
4.17  CIRCULAR THREADING (G35, G36) ................................134 
4.18  SKIP FUNCTION (G31)........................................................139 
4.19  MULTI-STEP SKIP (G31).....................................................141 
4.20  HIGH-SPEED SKIP SIGNAL (G31).....................................142 
4.21  CONTINUOUS HIGH-SPEED SKIP FUNCTION ...............143 
4.22  TORQUE LIMIT SKIP ..........................................................145 
4.23  THREE-DIMENSIONAL CIRCULAR INTERPOLATION.149 
 

B-63944EN/03

 PROGRAMMING 

4.INTERPOLATION FUNCTIONS

 

 

- 51 - 

4.1 

POSITIONING (G00) 

 
The G00 command moves a tool to the position in the workpiece 
system specified with an absolute or an incremental programming at a 
rapid traverse rate. 
In the absolute programming, coordinate value of the end point is 
programmed. 
In the incremental programming the distance the tool moves is 
programmed. 
 

Format 

G00 

IP_ 

IP_ : 

For an absolute programming, the coordinates of an 
end point, and for an incremental programming, the 
distance the tool moves. 

 

Explanation 

Either of the following tool paths can be selected according to bit 1 
(LRP) of parameter No. 1401. 

 

Nonlinear interpolation type positioning 

 

The tool is positioned with the rapid traverse rate for each axis 
separately. The tool path is normally straight. 

 

Linear interpolation type positioning 

 

The tool is positioned within the shortest possible time at a speed 
that is not more than the rapid traverse rate for each axis. 

 

End position

Non linear interpolation type positioning

Start position 

Linear interpolation type positioning

 

The rapid traverse rate in G00 command is set to the parameter No. 
1420 for each axis independently by the machine tool builder. In the 
positioning mode actuated by G00, the tool is accelerated to a 
predetermined speed at the start of a block and is decelerated at the 
end of a block. Execution proceeds to the next block after confirming 
the in-position.   
"In-position " means that the feed motor is within the specified range. 
This range is determined by the machine tool builder by setting to 
parameter (No. 1826). 
 

 

 

 

 

 

 

 

Content      ..     9      10      11      12     ..