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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     58      59      60      61     ..

 

 

 

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

 

 

1. AXIS CONTROL

 

 

B-64693EN-1/01

 

- 434 - 

Program example 
 
1) 

ID number type (bit 3 (FAM) of parameter No.11561 is set to 0) 

 

Axis configuration and setting of parameter No.11560 

Path 1 

Path 2 

103 

 

 

 
1. Removal and assignment commands (with no alarm) 

Program 

Operation 

Path 1 

Path 2 

 

Path 1 

Path 2 

N1 G00 X1.0 ; 

N1 G00 Z1.0 ; 

Operation 

X move 

Z move 

Axis configuration 

X,Z,C,A 

X,Z,A 

N2 

G52.1 P103

 ;

 

N2 G00 Z2.0 ; 

Operation 

C is removed. 

Z move 

Axis configuration 

X

,

Z

,

X,Z,A 

N3 G00 X2.0 ; 

N3 

G52.2 P103 I3

 ;

 

Operation

 

X move 

The C-axis is assigned as the 
third axis. 

Axis configuration 

X,Z,A 

X,Z,

'C'

,A 

 
2. Commands getting in a wait state (bit 1 (FAW) of parameter No. 11561 = 0) 

Program 

Operation 

Path 1 

Path 2 

 

Path 1 

Path 2 

N1 G00 X1.0 ; 

N1 G00 Z1.0 ; 

Operation 

X move 

Z move 

Axis configuration 

X,Z,C,A 

X,Z,A 

N2 G00 X2.0 ;

 

N2 

G52.2 P103 I3

 ;

 

Operation

 

X move 

Waiting for C to be removed 

Axis configuration 

X,Z,C,A 

X,Z,A 

N3 

G52.1 P103

 ;

 

 

Operation

 

C is removed. 

After C is removed from path 
1, it is assigned as the third 
axis in path 2. 

Axis configuration 

X

,

Z

,

X,Z,

'C'

,A 

N4 G00 X3.0 ; 

N3 G00 Z2.0 ; 

Operation 

X move 

Z move 

Axis configuration 

X,Z,A 

X,Z,C,A 

 
3. Commands leading to alarm PS0514 (bit 1 (FAW) of parameter No. 11561 = 1) 

Program 

Operation 

Path 1 

Path 2 

 

Path 1 

Path 2 

N1 G00 X1.0 ; 

N1 G00 Z1.0 ; 

Operation 

X move 

Z move 

Axis configuration 

X,Z,C,A 

X,Z,A 

N2 G00 X2.0 ;

 

N2 

G52.2 P103 I3

 ;

 

Operation

 

X move 

Alarm PS0514 is issued 
because an attempt was made 
to assign C, yet to be 
removed, as the third axis in 
path 2. 

Axis configuration 

X,Z,C,A 

X,Z,A 

B-64693EN-1/01

 

 

1. AXIS CONTROL

 

- 435 - 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2) Axis name type (bit 3 (FAM) of parameter No.11561 is set to 1) 

a)    Invalid extended axis name (bit 0 (EEA) of parameter No.1000 is set to 0) 
 

Axis configuration 

Path 1 

Path 2 

 
 
 
 
 
 
 
 

Program 

Operation 

Path 1 

Path 2 

 

Path 1 

Path 2 

N1 G00 X1.0 ; 

N1 G00 Y1.0 ; 

Operation 

X move 

Y move 

Axis configuration 

X,Z,C 

X,Y 

N2 

G52.1 Z0 C0

 ;

 

N2 G00 Y2.0 ; 

Operation 

Z and C are removed. 

Y move 

Axis configuration 

X,Y 

N3 G00 X2.0 ; 

N3 

G52.2 Z3 C4

 ;

 

Operation

 

X move 

Z and C from path 1 are 
assigned, respectively, as 
the third and fourth axes. 

Axis configuration 

X,Y,

'Z'

,

'C'

 

 

b) Valid extended axis name (bit 0 (EEA) of parameter No.1000 is set to 1) 
 

Axis configuration 

Path 1 

Path 2 

XA 

XB 

ZA 

YB 

CA 

 

Turret 

1

 

Turret 

2

 

Workpiece 

X2 

X1 

Z1 

Path 1 

Path 2 

Z2 

Path 2 

Path 1 

1. AXIS CONTROL

 

 

B-64693EN-1/01

 

- 436 - 

Program 

Operation 

Path 1 

Path 2 

 

Path 1 

Path 2 

N1 G00 XA=1.0 ; 

N1 G00 YB=1.0 ; 

Operation 

XA move 

YB move 

Axis configuration 

XA,ZA,CA 

XB,YB 

N2 

G52.1 ZA=0 

CA=0

 ;

 

N2 G00 YB=2.0 ; 

Operation 

ZA and CA are 
removed. 

YB move 

Axis configuration 

XA 

XB,YB 

N3 G00 XA=2.0 ; 

N3 

G52.2 ZA=3 

CA=4

 ; 

Operation 

XA move 
 

ZA and CA from path1 are 
assigned, respectively, as 
the third and fourth axes. 

Axis configuration 

XA 

XB,YB,

'ZA'

,

'CA'

 

 

 

Controlled-axis exchange 

Axis exchange command G52.3 can be used to exchange arbitrary axes with each other. 
Axis names used after exchange are determined according to the setting of bit 1 (FAN) of parameter No. 
11562 as follows: 

If parameter FAN = 0, the name previously given to each axis is inherited. 

If parameter FAN = 1, the axis names are also exchanged. 

 
If the setting of the parameter FAN conflicts between paths, FAN = 0 is assumed. 
 

NOTE 

 

When the setting of bit 1 (FAN) of parameter No. 11562 is valid, an attempt to 
exchange an axis using an extended axis name with one using no extended axis 
name resulting in no axis name being displayed normally. Never attempt axis 
exchange between an axis using an extended axis name and one using no 
extended axis name. 

 

Program example 
1)    ID number type (bit 3 (FAM) of parameter No.11561 is set to 0) 
 

Axis configuration and setting of parameter No.11560 

Path 1 

Path 2 

Path 3 

102 

202 

302 

103 

203 

303 

 

B-64693EN-1/01

 

 

1. AXIS CONTROL

 

- 437 - 

1. Exchange command (with no alarm) 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 X1.0 ; 

N1 G00 Y1.0 ; 

N1 G00 
X1.0 ; 

Operation 

X move 

Y move 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

N2 

G52.3 

P103 Q203 
L2

 ;

 

N2 

G52.3 

P203 
Q103 L1

 ;

 

N2 

G52.3 

P303 Q103 
L2

 ;

 

Operation

 

A from path 
1 is 
exchanged 
with B from 
path 2. 

B from path 2 
is exchanged 
with A from 
path 1. 

The CNC waits 
for block N3 in 
path 2. 

Axis 
configuration 

X,Z,

'B'

 

X,Y,

'A'

 

X,Z,C 

N3 G00 B90.0;  N3 

G52.3 

P103 
Q303 L3

 ;

 

 

Operation 

B move 

A from path 2 
is exchanged 
with C from 
path 3. 

After execution 
of block N3 in 
path 2, C from 
path 3 is 
exchanged 
with A from 
path 2. 

Axis 
configuration 

X,Z,B 

X,Y,

'C'

 

X,Z,

'A'

 

 

2. When alarm PS0514 is issued 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 
X1.0 ; 

N1 G00 Y1.0 ;  N1 G00 X1.0 ;  Operation 

X move 

Y move 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

N2 

G52.3 

P103 Q203 
L2

 ;

 

N2 

G52.3 

P203 Q102 
L1

 ;

 

N2 G00 X2.0 ;  Operation 

Alarm PS0514 
is issued 
because of an 
axis ID number 
specification 
conflict 
between 
exchange 
commands. 
(*1) 

Alarm PS0514 is 
issued because 
of an axis ID 
number 
specification 
conflict between 
exchange 
commands. (*1) 

X move 
 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

 

*1: The alarm is issued on the path to which an exchange command is issued later. 

 

1. AXIS CONTROL

 

 

B-64693EN-1/01

 

- 438 - 

3.  When exchange commands are used in more than two paths (between paths 1 and 2 and 

between paths 2 and 3) 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 X1.0 ; 

N1 G00 Y1.0 ; 

N1 G00 X1.0 ; 

Operation 

X move 

Y move 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

N2 

G52.3 

P103 Q203 
L2

 ;

 

N2 

G52.3 

P202 Q302 
L3

 ;

 

N2 G00 X2.0 ; 

Operation 

The CNC 
waits for 
block N3 in 
path 2. 

The CNC 
waits for 
block N4 in 
path 3. 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

 

 

N3 G00 X3.0 ; 

Operation 

The CNC 
waits for 
block N3 in 
path 2. 

The CNC 
waits for 
block N4 in 
path 3. 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

 

 

N4 

G52.3 

P302 
Q202 L2

 ;

 

Operation

 

The CNC 
waits for 
block N3 in 
path 2. 

After 
execution of 
block N4 in 
path 3, Y 
from path 2 is 
exchanged 
with Z from 
path 3. 

Z from path 3 
is exchanged 
with Y from 
path 2. 

Axis 
configuration 

X,Z,A 

X,

'Z'

,B 

X,

'Y'

,C 

 

N3 

G52.3 

P203 Q103 
L1

 ;

 

N5 G00 X4.0 ; 

Operation 

After 
execution of 
block N3 in 
path 2, A 
from path 1 is 
exchanged 
with B from 
path 2. 

B from path 2 
is exchanged 
with A from 
path 1. 

X move 

Axis 
configuration 

X,Z,

'B'

 

X,Z,

'A'

 

X,Y,C 

N3 G00 X2.0 ; 

N4 G00 Z2.0 ;

 

N6 G00 Y5.0 ; 

Operation 

X move 

Z move 

Y move 

Axis 
configuration 

X,Z,B 

X,Z,A 

X,Y,C 

 
2) Axis name type (bit 3 (FAM) of parameter No.11561 is set to 1) 

a) 

Invalid extended axis name (bit 0 (EEA) of parameter No.1000 is set to 0) 

 

Axis configuration 

Path 1 

Path 2 

Path 3 

 

B-64693EN-1/01

 

 

1. AXIS CONTROL

 

- 439 - 

1. Exchanging axes having the same name 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 
X1.0 ; 

N1 G00 
X1.0 ; 

N1 G00 
X1.0 ; 

Operation 

X move 

X move 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

N2 

G52.3 X0 

L2

 ;

 

N2 

G52.3 X0 

L1

 ;

 

N2 

G52.3 Z0 

L1

 ;

 

Operation 

X from path 
1 is 
exchanged X 
from path 2. 

X from path 
2 is 
exchanged X 
from path 1. 

The CNC waits for 
block N3 in path 1. 

Axis 
configuration 

'X'

,Z,A 

'X'

,Y,B 

X,Z,C 

N3 

G52.3 Z0 

L3

 ;

 

N3 G00 
X0.0 ; 

 

Operation 

Z from path 1 
is exchanged 
Z from path 
3. 

X move 

After execution of 
block N3 in path 1, Z 
from path 1 is 
exchanged with Z 
from path 3. 

Axis 
configuration 

X,

'Z'

,A 

X,Y,B 

X,

'Z'

,C 

 

2. Exchanging axes having different same names 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 
X1.0 ; 

N1 G00 
X1.0 ; 

N1 G00 
X1.0 ; 

Operation 

X move 

X move 

X move 

Axis 
configuration 

X,Z,A 

X,Y,B 

X,Z,C 

N2 

G52.3 A0 

B0 L2

 ;

 

N2 

G52.3 B0 

A0 L1

 ;

 

N2 

G52.3 C0 

B0 L1

 ;

 

Operation

 

A from path 
1 is 
exchanged 
with B from 
path 2. 

B from path 2 
is exchanged 
with A from 
path 1. 

The CNC waits for 
block N3 in path 1. 

Axis 
configuration 

X,Z,

'B'

 

X,Y,

'A'

 

X,Z,C 

N3 

G52.3 B0 

C0 L3

 ;

 

N3 G00 
A180.0; 

 

Operation 

B from path 
1 is 
exchanged 
with C from 
path 3. 

A move 

After execution of 
block N3 in path 1, C 
from path 3 is 
exchanged with B 
from path 1. 

Axis 
configuration 

X,Z,

'C'

 

X,Y,A 

X,Z,

'B'

 

 

b) 

Valid extended axis name (bit 0 (EEA) of parameter No.1000 is set to 1) 

 

Axis configuration 

Path 1 

Path 2 

Path 3 

XA 

XB 

XC 

ZA 

ZB 

ZC 

CA 

AB 

CC 

AA 

 

 

 

1. AXIS CONTROL

 

 

B-64693EN-1/01

 

- 440 - 

Program 

Operation 

Path 1 

Path 2 

Path 3 

 

Path 1 

Path 2 

Path 3 

N1 G00 
XA=1.0 ; 

N1 G00 ZB=1.0 ;  N1 G00 

XC=1.0 ; 

Operation 

XA move 

ZB move 

XC move 

Axis 
configuration 

XA,ZA,CA,AA  XB,ZB,AB 

XC,ZC,CC 

N2 

G52.3 AA=0 

AB=0 L2

 ;

 

N2 

G52.3 AB=0 

AA=0 L1

 ;

 

N2 

G52.3 

CC=0 
AA=0 
L2

 ;

 

Operation

 

AA from path 
1 is 
exchanged 
with AB from 
path 2. 

AB from path 
2 is 
exchanged 
with AA from 
path 1. 

The CNC 
waits for 
block N3 in 
path 2. 

Axis 
configuration 

XA,ZA,CA,

'A

B'

 

XB,ZB,

'AA'

 

XC,ZC,CC 

N3 G00 AB=5.0; 

N3 

G52.3 AA=0   

CC=0 L3

 ;

 

 

Operation 

AB move 

AA from path 
2 is 
exchanged 
with CC from 
path 3. 

After 
execution of 
block N3 in 
path 2, CC 
from path 3 is 
exchanged 
with AA from 
path 2. 

Axis 
configuration 

XA,ZA,CA,AB  XB,ZB,

'CC'

 

XC,ZC,

'AA'

 

 

  - 

Fixed axis name of each path 

The name of the axis, which assigned by flexible path axis assignment, can be changed to the name which 
specified in each path.   
Set the axis name of  assigned  axis to parameter No.11555, and axis suffix to parameter No.11556 and 
No.11557. Select the axis which changes the name in the each path by the bit 0 of parameter  No. 
1l564(PAN). If the selected axis is assigned to another  path by flexible path axis  assignment, the axis 
name is changed to the name specified in the each path. 
This setting is available on only one axis in a path. 
 
Example) Identification number (parameter No.11560)(Z11,Z21,Z31)=(102,202,302),   
 

Specified axis name (No.11555) = 49(path1), 49(path2), 49(path3), 

 

Subscript (No.11556)=49(path1), 50(path2), 51(path3),   

 

No.11557 = 49(path1), 49(path2) 49(path3),   

 

Bit 0(PAN) of parameter No.11564=1(path1), 1(path2), 1(path3),   

 

Bit 3(FAM) of parameter No.11561 (FAM)=1 

 
Example of the program for each path 
 

Block 

number 

Path 1 

Path 2 

Path 3 

 

O1001 

O2001 

O3001 

N0010 

G52.1 Z11=0 ; 

G52.1 Z21=0 ; 

G52.1 Z31=0 ; 

O1001: Release Z11(ID 102) 
O2001: Release Z21(ID 202) 
O3001: Release Z31(ID 302) 

N0100 

G52.2 Z21=2 ; 

G52.2 Z31=2 ; 

G52.2 Z11=2 ; 

O1001: Assign Z21(ID 202) 
O2001: Assign Z31(ID 302) 
O3001: Assign Z11(ID 102) 

N0020 

G52.1 Z11=0 ; 

G52.1 Z21=0 ; 

G52.1 Z31=0 ; 

O1001: Release Z11(ID 202) 
O2001: Release Z21(ID 302) 
O3001: ReleaseZ31(ID 102) 

N0200 

G52.2 Z21=2 ; 

G52.2 Z31=2 ; 

G52.2 Z11=2 ; 

O1001: Assign Z21(ID 302) 
O2001: Assign Z31(ID 102) 
O3001: Assign Z11(ID 202) 

B-64693EN-1/01

 

 

1. AXIS CONTROL

 

- 441 - 

Block 

number 

Path 1 

Path 2 

Path 3 

 

O1001 

O2001 

O3001 

N0030 

G52.1 Z11=0 ; 

G52.1 Z21=0 ; 

G52.1 Z31=0 ; 

O1001: Release Z11(ID 302) 
O2001: Release Z21(ID 102) 
O3001: Release Z31(ID 202 

N0300 

G52.2 Z21=2 ; 

G52.2 Z31=2 ; 

G52.2 Z11=2 ; 

O1001: Assign Z21(ID 102) 
O2001: Assign Z31(ID 202) 
O3001: Z11(ID 302) 

 
-  The combination of the axis name of each path after axis assignment and identification number of 
flexible path axis assignment. 

Block No. 

 

Path 1 

Path 2 

Path 3 

N0100 

Axis name 

X11 

Z11 

Z12 

X21 

Z21 

Z22 

X31 

Z31 

Z32 

ID number 

 

202 

 

 

302 

 

 

102 

 

 

N0200 

Axis name 

X11 

Z11 

Z12 

X21 

Z21 

Z22 

X31 

Z31 

Z32 

ID number 

 

302 

 

 

102 

 

 

202 

 

 

N0300 

Axis name 

X11 

Z11 

Z12 

X21 

Z21 

Z22 

X31 

Z31 

Z32 

ID number 

 

102 

 

 

202 

 

 

302 

 

 

Parameter setting for axis exchange used together with other functions 

Some NC functions require specifying relative axis numbers within a path (intra-path relative axis 
number) using parameters (Tables 1.14(a) to (e)). When axes are exchanged between paths, it is likely 
that an axis number used with a function in the tables may fail to match a parameter value set as an 
intra-path relative axis number (Example 1). 
 
Example 1) 
 

In this example, a relative axis number is changed after axis exchange. 

 

(Before axis exchange, C in path 1 and Z in path 2 are, respectively, the fourth and second axes 
(relative axis number). After axis exchange, C in path 1 and Z in path 2 are the third axes in the 
respective paths.) 

 

Before assignment

 

 

After replacement

 

Path 1 

Path 2 

Path 1 

Path 2 

'Y' 

'Y' 

 

 

 

 

 

(1)  Case in which parameter setting requires using G10 

 

When using functions and parameters listed in Table 1.14 (a) to (c) in such a way that the axis 
order is changed during axis exchange, re-set the related parameters, using programmable 
parameter input (G10). 

 

 

 

 

 

 

 

 

Content      ..     58      59      60      61     ..