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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     283      284      285      286     ..

 

 

 

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

 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2234 - 

Canned cycle cancel (G80) 

Absolute programming (G90) 

Incremental programming (G91) 

Constant surface speed control cancel (G97) 

Canned cycle : return to initial level (G98) 

Canned cycle : return to R point level (G99) 

 

M

 

Scaling cancel (G50) 

Automatic corner override (G62) 

Mode off of coordinate system rotation or 3-dimensional coordinate system conversion (G69) 

Inverse time feed (G93) 

Feed per minute (G94) 

Feed per revolution (G95) 

 

T

 

Polar coordinate interpolation mode cancel (G13.1) 

Polygon turning cancel (G50.2) 

Mirror image for double turret off/balanced cutting mode cancel (G69) 

Mode off of coordinate system rotation or 3-dimensional coordinate system conversion (G69.1) 

Feed per minute (G98 (G94)) 

Feed per revolution (G99 (G95)) 

Polar coordinate interpolation mode cancel (G113) 

 

Alarm and message 

Number 

Message 

Description 

PS0438 

ILLEGAL PARAMETER IN 
TOOL DIRC CMP 

If on a 5-axis machine, a case below applies, a parameter is illegal. 
 

Tool center point retention type tool axis direction control (G53.6) is 
performed. 

Parameter settings 

Look-ahead acceleration/deceleration before interpolation is 
disabled. Set parameter No. 1660. 

Rapid traverse acceleration/deceleration before interpolation is 
disabled. Set bit 1 of parameter No. 1401, bit 5 of parameter No. 
19501, and parameter No. 1671. 

Any of machine configuration parameters Nos. 19680 to 19714 is 
illegal. 

The axis set in parameter No. 19681 or 19686 is not a rotation axis. 

The basic three axes are not set in parameter No. 1022. 

 

PS5324 

REFERENCE RETURN 
INCOMPLETE 

Manual reference position return cannot be performed during 
three-dimensional coordinate conversion, execution of the tilted working 
plane indexing. 

PS5456 

TOO MANY G68.2 
NESTING 

Tilted working plane indexing G68.2 was specified more than once. 
To perform another coordinate conversion, perform cancellation, then 
specify the coordinate conversion. 

PS5457 

G68.2/G68.3 FORMAT 
ERROR 

A G68.2/G68.3 format error occurred. 

PS5458 

ILLEGAL USE OF 
G53.1/G53.6 

G53.1/G53.6 is specified before a G68.2 command. 

G53.1/G53.6 is not specified alone. 

No tool is specified with a G53.6 command. 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2235 - 

Number 

Message 

Description 

PS5459 

MACHINE PARAMETER 
INCORRECT 

A machine configuration parameter (parameters Nos. 19665 to 
19667, 19680 to 19714, or 12321) is incorrect. 

The axis set in parameter No. 19681 or 19686 is not a rotation axis. 

The basic three axes are not set in parameter No. 1022. 

A rotary axis end point found by the NC with the tilted working plane 
indexing is not within the range set by parameters No 19741 to 
19744. 

When tool axis direction control (G53.1/G53.6) is specified on the 
following condition that parameter is set incorrectly if bit 7 (AIR) of 
parameter No.11221 is set 1. 
- In case that the movement range of rotation axis is set to the 
roll-over axis 
- In case that roll-over function is set to rotary axis (B type) 

5462 

ILLEGAL COMMAND 
(G68.2/G69) 

(1)  The modal setting used when G68.2 or G69 is specified is incorrect. 
(2)  An unspecifiable G code was specified in the G68.2 mode. 
(3)  The offset vector of tool radius/tool nose radius compensation is not 

canceled when G68.2 or G69 is specified. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Tilted working plane indexing 

 

12.17 

MACRO COMPILER/MACRO EXECUTER 

Overview 

The macro executor function converts custom macros created by machine tool builders to executable 
programs, registers them in the FLASH ROM module, and executes them to solve problems as described 
below. 
NC programs are divided into two types: Programs that are hardly modified after created (programs 
created using custom macros) and programs that differ depending on the workpiece (machining 
programs). Since different types of programs are processed in the same way, a custom macro may be 
destroyed due to a battery failure or operator error. 
 
Features 

Since the program is stored in executable form program, the execution speed is high. Machine time 
is then reduced, and precision is improved. 

Since the program is stored in FLASH ROM, there is no lost of data of battery failure or corruption. 
Reliability is improved. 

Stored programs are not displayed on the program screen, so know-how of the machine tool builders 
is kept protected. 

Since custom macros are stored in FLASH ROM, the program editing memory can be used 
effectively. 

The  user can call the macro without knowing the stored program. A custom macro can be created 
and executed in the program edit memory. 

An original screen can be created by using the graphic display or by selecting screens by the soft key. 

The machine tool builder can extend the control function by using such functions as machine 
program creation and edit control, RS-232C interface control, and PMC data read/write functions. 

 

Reference item 

Macro Executor PROGRAMMING MANUAL (B-63943EN-2) 
 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2236 - 

12.18 

OPTIONAL ANGLE CHAMFERING AND CORNER 
ROUNDING 

M

 

 

Overview 

Chamfering and corner rounding blocks can be inserted automatically between the following: 

Between linear interpolation and linear interpolation blocks 

Between linear interpolation and circular interpolation blocks 

Between circular interpolation and linear interpolation blocks 

Between circular interpolation and circular interpolation blocks 

It is possible to use this function with AI contour control. 
 

Limitation 

  - 

Macro executer 

Optional angle chamfering and corner rounding specified in the execution macro is disabled. 
 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5105 

 

 

 

 

 

 

 

 

SBC 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  SBC

  In a drilling canned cycle, chamfer cycle, or corner rounding cycle: 

0: 

A single block stop is not performed. 

1: 

A single block stop is performed.   

 

Alarm and message 

Number 

Message 

Description 

PS0050 

CHF/CNR NOT ALLOWED IN THRD 
BLK 

Chamfering or corner R is commanded in the thread cutting 
block. Modify the program. 

PS0051 

MISSING MOVE AFTER CNR/CHF 

Improper movement or the move distance was specified in the 
block next to the chamfering or corner R block. Modify the 
program. 

PS0055 

MISSING MOVE VALUE IN 
CHF/CNR 

In chamfering or corner R block, the move distance is less 
than chamfer or corner R amount. Modify the program. 

 

12.19 

CHAMFERING AND CORNER ROUNDING 

T

 

 

Overview 

A chamfering or corner rounding block can automatically be inserted between linear interpolation (G01) 
along a single axis and that along a single axis normal to that single axis. 
Chamfering or corner rounding is inserted for a command to move the tool along two axes on the plane 
determined by the plane selection (G17, G18, or G19) command. 
 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2237 - 

Format 

  - 

Chamfering 

 

First axis on the selected plane 

 second axis on the selected plane 

 

(G17 plane: X

P

 

 Y

P

, G18 plane: Z

P

 

 X

P

, G19 plane: Y

P

 

 Z

P

Format 

G17 plane:    G01 X

P

(U)_ J(C)

±

j ; 

G18 plane:    G01 Z

P

(W)_ I(C)

±

i ; 

G19 plane:    G01 Y

P

(V)_ K(C)

±

k ;

 

Explanation 

Tool movement 

X

P

(U)__ 

Y

P

(V)__ 

Z

P

(W)__

 

Specifies movement from point a to 
point b with an absolute or incremental 
programming in the figure on the right. 
X

P

 is the address of the X-axis of the 

three basic axes or an axis parallel to 
the X-axis. Y

P

 is the address of the 

Y-axis of the three basic axes or an axis 
parallel to the Y-axis. Z

P

 is the address 

of the Z-axis of the three basic axes or 
an axis parallel to the Z-axis. 

a

d

 c

 c

 b

 i, j, k

 i, j, k

 45

°

 45

°

Positive direction along
the second axis on the
selected plane

Negative direction
along the second axis
on the selected plane

Start point

 

Moves from a to d and c. 

(Positive direction along the second axis on the 
selected plane when a plus sign is specified at I, J, K, 
or C or negative direction when a minus sign is 
specified at I, J, K, or C) 

I(C)

±

J(C)

±

K(C)

±

Specify the distance between points b 
and c in the figure shown at right with a 
sign following address I, J, K, or C. (Use 
I, J, or K when bit 4 (CCR) of parameter 
No. 3405 is set to 0 or C when the bit is 
set to 1.) 

 

  - 

Chamfering 

 

Second axis on the selected plane 

 first axis on the selected plane 

 

(G17 plane: Y

P

 

 X

P

, G18 plane: X

P

 

 Z

P

, G19 plane: Z

P

 

 Y

P

)

 

Format 

G17 plane:    G01 Y

P

(V)_ I(C)

±

i ; 

G18 plane:  G01 X

P

(U)_ K(C)

±

k ; 

G19 plane:  G01 Z

P

(W)_ J(C)

±

j ;

 

Explanation 

Tool movement 

X

P

(U)__ 

Y

P

(V)__ 

Z

P

(W)__

 

Specifies movement from point a to 
point b with an absolute or incremental 
programming in the figure on the right. 
X

P

 is the address of the X-axis of the 

three basic axes or an axis parallel to 
the X-axis. Y

P

 is the address of the 

Y-axis of the three basic axes or an axis 
parallel to the Y-axis. Z

P

 is the address 

of the Z-axis of the three basic axes or 
an axis parallel to the Z-axis. 

Moves from a to d and c. 

(Positive direction along the first axis on the selected 
plane when a plus sign is specified at I, J, K, or C or 
negative direction when a minus sign is specified at I, 
J, K, or C) 
 

 

 d 

 c 

 c 

 b 

 i, j, k        

 i, j, k        

 45

°

        

Positive direction 
along the first axis on 
the selected plane

 

 

 45

°

        

Negative direction 
along the first axis on 
the selected plane

 

Start point 

 

 

I(C)

±

J(C)

±

K(C)

±

Specify the distance between points b 
and c in the figure shown at right with a 
sign following address I, J, K, or C. (Use 
I, J, or K when bit 4 (CCR) of parameter 
No. 3405 is set to 0 or C when the bit is 
set to 1.) 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2238 - 

  - 

Corner R 

 

First axis on the selected plane 

 second axis on the selected plane 

 

(G17 plane: X

P

 

 Y

P

, G18 plane: Z

P

 

 X

P

, G19 plane: Y

P

 

 Z

P

Format 

G17 plane:    G01 X

P

(U)_ R

±

r ; 

G18 plane:    G01 Z

P

(W)_ R

±

r ; 

G19 plane:    G01 Y

P

(V)_ R

±

r ;

 

Explanation 

Tool movement 

X

P

(U)__ 

Y

P

(V)__ 

Z

P

(W)__

 

Specifies movement from point a to 
point b with an absolute or incremental 
programming in the figure on the right. 
X

P

 is the address of the X-axis of the 

three basic axes or an axis parallel to 
the X-axis. Y

P

 is the address of the 

Y-axis of the three basic axes or an axis 
parallel to the Y-axis. Z

P

 is the address 

of the Z-axis of the three basic axes or 
an axis parallel to the Z-axis. 

 a

 d

 c

 c

 b

 r

 r

Positive direction along
the second axis on the
selected plane

Negative direction along
the second axis on the
selected plane

Start point

 

Moves from a to d and c. 

(Positive direction along the second axis on the 
selected plane when +r is specified at R or negative 
direction when -r is specified at R) 

R

±

 

Specify the radius of the arc connecting 
points d and c in the figure shown at 
right with a sign following address R. 

 

  - 

Corner R 

 

Second axis on the selected plane 

 first axis on the selected plane 

 

(G17 plane: Y

P

 

 X

P

, G18 plane: X

P

 

 Z

P

, G19 plane: Z

P

 

 Y

P

Format 

G17 plane:    G01 Y

P

(V)_ R

±

r ; 

G18 plane:    G01 X

P

(U)_ R

±

r ; 

G19 plane:    G01 Z

P

(W)_ R

±

r ;

 

Explanation 

Tool movement 

X

P

(U)__ 

Y

P

(V)__ 

Z

P

(W)__

 

Specifies movement from point a to 
point b with an absolute or incremental 
programming in the figure on the right. 
X

P

 is the address of the X-axis of the 

three basic axes or an axis parallel to 
the X-axis. Y

P

 is the address of the 

Y-axis of the three basic axes or an axis 
parallel to the Y-axis. Z

P

 is the address 

of the Z-axis of the three basic axes or 
an axis parallel to the Z-axis. 

Moves from a to d and c. 

(Positive direction along the first axis on the selected 
plane when +r is specified at R or negative direction 
when -r is specified at R) 

 

 d 

 c 

 c 

 b 

 r 

 r 

Positive direction 
along the first axis on 
the selected plane

 

Negative direction 
along the first axis on 
the selected plane

 

 a    Start point 

 

R

±

 

Specify the radius of the arc connecting 
points d and c in the figure shown at 
right with a sign following address R. 

 

Explanation 

By G01 specified for chamfering or corner R, the tool must be moved only along one of the two axes on 
the selected plane. The command in the next block must move the tool only along the other axis on the 
selected plane. 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2239 - 

Example: 
 

When the A-axis is set as an axis parallel to the basic X-axis (by setting parameter No. 1022 to 5), 
the following program performs chamfering between cutting feed along the A-axis and that along 
the Z-axis: 
 

G18 A0 Z0 

 

G00 A100.0 Z100.0 

 

G01 A200.0 F100 K30.0 

 

Z200.0 

 

The following program causes an alarm. (Because chamfering is specified in the block to move the 
tool along the X-axis, which is not on the selected plane) 
 

G18 A0 Z0 

 

G00 A100.0 Z100.0 

 

G01 X200.0 F100 K30.0 

 

Z200.0 

 

The following program also causes an alarm. (Because the block next to the chamfering command 
moves the tool along the X-axis, which is not on the selected plane) 
 

G18 A0 Z0 

 

G00 A100.0 Z100.0 

 

G01 Z200.0 F100 I30.0 

 

X200.0 

A radius value is specified at I, J, K, R, and C. 
 
In an incremental programming, use point b in the figure in "Format" as the start point in the block next to 
a chamfering or  corner R block. That is, specify the distance from point b. Do not specify the distance 
from point c. 
 

Example 

 

 

Limitation 

  - 

Alarms 

In the following cases, an alarm is issued: 

1) 

Chamfering or corner R is specified in a block for threading (alarm PS0050, “CHF/CNR NOT 
ALLOWED IN THRD BLK”). 

2) 

G01 is not specified in the block next to the G01 block in which chamfering or corner R is specified 
(alarm PS0051, “MISSING MOVE AFTER CNR/CHF” or PS0052, “CODE IS NOT G01 AFTER 
CHF/CNR”). 

3) 

An axis which is not on the selected plane is specified as a move axis in the block in which 
chamfering or corner R is specified or the next block (alarm PS0051 or PS0052). 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2240 - 

4) 

A plane selection command (G17, G18, or G19) is specified in the block next to the block in which 
chamfering or corner R is specified (alarm PS0051). 

5) 

When bit 4 (CCR) of parameter No. 3405 is set to 0 (to specify chamfering at I, J, or K), two or 
more of I, J, K, and R are specified in G01 (alarm PS0053, “TOO MANY ADDRESS 
COMMANDS”). 

6) 

Chamfering or corner R is specified in the G01 block to move the tool along more than one axis 
(alarm PS0054, “NO TAPER ALLOWED AFTER CHF/CNR”). 

7) 

The travel distance along an axis specified in the block in which chamfering or corner R is specified 
is smaller than the amount of chamfering or corner R (alarm PS0055, “MISSING MOVE VALUE 
IN CHF/CNR”). (See the Fig. 12.19 (a).) 

The solid line indicates
the tool path when
chamfering is not
performed.

50.0

   G18
   G01 W30.0 F100.0 I50.0 ;
   G01 U100.0 ;

z

x

Chamfering block to

be inserted

50.0

30.0 (smaller than 50.0)

 

Fig. 12.19 (a) Example of machining which causes alarm PS0055 

 

8) 

An invalid combination of a move axis and I, J, or K is specified for chamfering (alarm PS0306, 
“MISMATCH AXIS WITH CNR/CHF”). 

9) 

An invalid sign is specified at I, J, K, R, or C (chamfering or corner R in the direction opposite to the 
movement in the next block is specified) (alarm PS0051). (See the Fig. 12.19 (b).) 

The solid line indicates the
tool path when chamfering
is not performed.
(negative X direction)

   G18
   G01 W100.0 F100.0 I50.0 ;
   G01 U-100.0 ;

z

x

Chamfering block to
be inserted (positive X
direction)

 

Fig. 12.19 (b) Example of machining which causes alarm PS0051 

 
10)  In a shape program in the multiple repetitive canned cycle (G70, G71, G72, or G73), a command for 

the chamfering or  corner R in the last block is terminated in the middle  (alarm PS0069, ”LAST 
BLOCK OF SHAPE PROGRAM IS AN ILLEGAL COMMAND”). 

 

  - 

Single block operation 

When the block in which chamfering or corner R is specified is executed in the single block mode, 
operation continues to the end point of the inserted chamfering or corner R block and the machine stops 
in the feed hold mode at the end point. When bit 0 (SBC) of parameter No. 5105 is set to 1, the machine 
stops in the feed hold mode also at the start point of the inserted chamfering or corner R block. 
 

  - 

Macro executer 

Chamfering and corner rounding specified in the execution macro is disabled. 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2241 - 

 

  - 

Cutter compensation or tool nose radius compensation 

When applying cutter or tool nose radius compensation, note the following points: 
 
1. 

If the amount of inner chamfering or corner R is too small as compared with compensation and 
cutting is generated, alarm PS0041, “INTERFERENCE IN CUTTER COMPENSATION” is issued. 
(See the Fig. 12.19 (c).) 

 

Example of machining which does not 
cause alarm PS0041

   

Example of machining which 
causes alarm PS0041

 

(The solid line indicates the programmed path after chamfering.    The 
dotted line indicates the tool center path or tool nose radius center path.)

 

 

Fig. 12.19 (c) 

 
2.  A function is available which intentionally changes the compensation direction by specifying the I, J, 

or K command in the G01 block in the cutter or tool nose radius compensation mode (see the 
explanations of cutter or tool nose radius compensation). To use this function when the chamfering 
and corner R function is used, set bit 4 (CCR) of parameter No. 3405 to 1 so that I, J, and K are not 
used for specifying chamfering. Operation to be performed under each condition is explained below. 
 
(1)  When the chamfering and corner R function is not used 
 

In the G01 block in the cutter or tool nose radius compensation mode, the cutter or tool nose 
radius compensation direction can be specified at address I, J, or K. 

 

No chamfering is performed. 

 
(2)  When the chamfering and corner R function is used 

(2-1) When bit 4 (CCR) of parameter No. 3405 is set to 0 
 

In the G01 block in the cutter or tool nose radius compensation mode, chamfering can be 
specified at address I, J, or K. Corner R can also be specified at address R. 

 

The cutter or tool nose radius compensation direction cannot be specified. 

(2-2) When bit 4 (CCR) of parameter No. 3405 is set to 1 
 

In the G01 block in the cutter or tool nose radius compensation mode, the cutter or tool 
nose radius compensation direction can be specified at address I, J, or K. 

 

Chamfering or corner R can also be specified at address C or R. 

 

NOTE 

 

The chamfering and corner R function and direct drawing dimension programming 
function cannot be used simultaneously. When bit 0 (CRD) of parameter No. 3453 
is set to 0, chamfering and corner R is enabled. (At this time, direct drawing 
dimension programming is disabled.) 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3405 

 

 

 

 

CCR 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

 

 

 

 

 

 

Content      ..     283      284      285      286     ..