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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     332      333      334      335     ..

 

 

 

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

 

 

16. PMC CONTROL FUNCTION

 

 

B-64693EN-1/01

 

- 2626 - 

16.3 

EXTENDED EXTERNAL MACHINE ZERO POINT SHIFT 

Overview 

The conventional external machine zero point shift value function cannot make shifts on multiple axes 
simultaneously. 
With this extended function, external machine zero point shifts can be performed on all controlled axes. 
An external machine zero point shift value is to be set in a parameter-set R area. A shift value must be 
specified using a binary code, and the absolute value of a number from -32767 to 32767 must be specified. 
 

Explanation 

  - 

Setting 

This function is enabled by setting bit 0 (EMS) of parameter No. 1203 to 1. Enter a desired external 
machine zero point shift value at the location starting at the address (R area of the PMC) set in parameter 
No. 1280. 
If 100 is set in parameter No. 1280, enter shift values at the location starting at R100 of the PMC. Set an 
even number in parameter No. 1280. 
 
Example) When 100 is set in parameter No. 1280 

R0100 

External machine zero point shift value for the 1st axis (Low) 

R0101 

External machine zero point shift value for the 1st axis (High) 

R0102 

External machine zero point shift value for the 2nd axis (Low) 

R0103 

External machine zero point shift value for the 2nd axis (High) 

R(0100+2(n-1)) 

External machine zero point shift value for the n-th axis (Low) 

R(0100+2(n-1)+1) 

External machine zero point shift value for the n-th axis (High) 

 

  - 

Shift value 

Specify a shift value by using a two-byte binary code for each axis. 
A value from -32767 to 32767 can be specified. 
A shift value is assumed to be specified as an absolute value. 
The unit is the detection unit. 
 
Example) 
 

Suppose that the incremental system is IS-B, the machine is a millimeter machine (bit 0 of parameter 
No. 1001 = 0), 

 

the detection unit is 0.0002 mm (CMR (parameter No. 1820) = 10), 

 

and parameter No. 1280 is set to 100. 

 

When the following values are written to the R area : 

 

R102 = 11001100 (CCh) 

 

R103 = 11101101 (EDh) 

 

the machine position on the second axis is shifted, and the shift value at that time is: 

 

 

EDCCh [pulse] * 0.0002 [mm/pulse] = -0.932 mm 

 

  - 

Relationship with the error compensation functions 

This function is superposed on error compensation functions such as the pitch error compensation 
function and straightness compensation function. 
 

  - 

Coordinate system 

If the machine is moved by this function, the coordinates are not updated. 
 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2627 - 

  - 

Multi-path control 

In multi-path control, the locations of the R area are used in ascending order of axis numbers in the paths 
as shown in the example below. 
 
Example) 
 

When, in parameter No. 1280, 100 is set for path 1 and 200 is set for path 2 

 

Axis number 

Path (Prm.981) 

 

Shift value of path 1 

 

R100—101 

 

R102—103 

 

R104—105 

 

Shift value of path 2 

 

R200—201 

 

R202—203 

 

 

 

R204—205 

 

 

  - 

Multi-path PMC 

With a multi-path PMC, the PMC R area allocated to each path is used. 
 
Example) 
 

When the first PMC is assigned to path 1, and the second PMC is assigned to paths 2 and 3, the R 
area of the first PMC is assigned to shift values for path 1, and the R area of the second PMC is 
assigned to shift values for paths 2 and 3. 

 

CNC 

 

PMC 

Path 1 
No.1280 = 100 

 

1st PMC 
  R100~ 

Path 2 
No.1280 = 100 

 

Path 3 
No.1280 = 200 

 

2nd PMC 
  R100~ 
  R200~ 

 

 

 

Signal 

Extended external machine zero point shift signal   

EMZ0 to EMZ15 <Rn to Rn+2*controlled axis count-1> 

  [Classification]  Input signal 
 

[Function]  Sets an external machine zero point shift value. 

 

[Operation]  When an external machine zero point shift value is set with this signal, the machine 

position is shifted by the specified value. 
A set value is regarded as an absolute value. 
As a signal address, specify an arbitrary R address with parameter No. 1280. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Rn 

 

EMZ7 

EMZ6 

EMZ5 

EMZ4 

EMZ3 

EMZ2 

EMZ1 

EMZ0 

 

 

 

 

 

 

 

 

 

 

Rn+1 

 

EMZ15 

EMZ14 

EMZ13 

EMZ12 

EMZ11 

EMZ10 

EMZ9 

EMZ8 

 

 

 

 

 

 

 

 

 

Rn+2*con- 

trolled axis 

count-1 

 

EMZ15 

EMZ14 

EMZ13 

EMZ12 

EMZ11 

EMZ10 

EMZ9 

EMZ8 

 
n represents the value set in parameter No. 1280. 

16. PMC CONTROL FUNCTION

 

 

B-64693EN-1/01

 

- 2628 - 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1203 

 

 

 

 

 

 

 

 

EMS 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  EMS

  The extended external machine zero point shift function is: 

0: 

Disabled. 

1: 

Enabled. 

 

NOTE 

1  To use the extended external machine zero point shift function, the 

external machine zero point shift function or the external data input 
function is required. 

2  When the extended external machine zero point shift function is 

enabled, the conventional external machine zero point shift function 
is disabled. 

 

  WARNING 

 

Set an appropriate value to parameter No.1280 beforehand when 
you set 1 to this parameter. 
If an internal relay of the set address in parameter No.1280 is used 
by another usage, it may cause an unexpected machine behavior. 
Be careful enough that you must prevent the competition of the 
used internal relay. 

 

1280 

 

Start address of signals used with the extended external machine zero point shift function 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  Even number from 0 to 59999 

 
Set the start address of signals used with the extended external machine zero point shift 
function. If a nonexistent address value is specified, this function is disabled. 
If 100 is set, for example, this function uses R100 and up. The last R address to be used 
depends on the number of controlled axes. When eight controlled axes are used, R100 to 
R115 are used. 
 

NOTE 

1  If a nonexistent R address or an address in the system area is set, 

this function is disabled. 

2  Set an even number in this parameter. 
3  When this parameter is 0, an internal relay from address R0 is 

used. 

 

  WARNING 

 

If an internal relay of the set address in this parameter is used by 
another usage, it may cause an unexpected machine behavior. Be 
careful enough that you must prevent the competition of the used 
internal relay. 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2629 - 

Warning and Note 

 

  WARNING 

1  When writing an external machine zero point shift value to the R area, write a 

shift value for one axis as a word. If data for one axis is written in two operations, 
one byte in one operation, an incorrect shift operation can result. 

2  When writing data with the PMC or FOCAS2 function, provide an interval of 

about 8 ms after one write operation before starting the next write operation. If 
this write timing is not observed, an incorrect shift operation can result. 

 

NOTE 

This function can not use together with flexible path axis assignment function. 

 

16.4 

IMPROVEMENT OF EXTERNAL MACHINE ZERO POINT 
SHIFT 

Overview 

In case of the external machine zero  point shift  or the extended external machine zero point shift,  the 
maximum shift value per one execution cycle is extended. 
 

Explanation 

In case of the external machine zero point shift or the extended external machine zero point shift, when all 
of following conditions are satisfied, the maximum shift value per one execution cycle is multiplied by 10. 
(The positive side is 1270. The negative side is -1280.) 
-

 

Bit 1 (EMF) of parameter No. 1814 = 1 

-

 

Increment system is B or C. 

-

 

Bit 2 (HPE) of parameter No. 1816 = 1 

 

NOTE 

1  In case of the compensation functions, when this function is valid, the maximum 

compensation value per one execution cycle is multiplied by 10. (The positive 
side is 1270. The negative side is -1280.) 
-  Stored pitch error compensation 
-  Bi-directional pitch error compensation 
-  Interpolation type pitch error compensation 
-  Smooth backlash compensation 

2  Bit 1 (EMF) of parameter No.1814 is invalid on the following axes. 

-  Axis for Cs contour control 
-  Axis for Spindle positioning 

 

16. PMC CONTROL FUNCTION

 

 

B-64693EN-1/01

 

- 2630 - 

Parameter 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1814 

 

 

 

 

 

 

 

EMF 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit axis 

 

 

#1  EMF

  In case of the external machine zero point shift  or the extended external machine zero 

point shift, the maximum shift value per one execution cycle is: 
0: 

Conventional specification. (The positive side is 127. The negative side is -128.) 

1: 

Multiplied by 10. (The positive side is 1270. The negative side is -1280.) 

When all of following conditions are satisfied, this parameter is valid. 

Increment system is B or C. 

Bit 2 (HPE) of parameter No. 1816 = 1 

 

NOTE 

1  In case of the compensation functions, when this parameter is 

valid, the maximum compensation value per one execution cycle is 
multiplied by 10. (The positive side is 1270. The negative side is 
-1280.) 
- Stored pitch error compensation 
- Bi-directional pitch error compensation 
- Interpolation type pitch error compensation 
- Smooth backlash compensation 

2  This parameter is invalid on the following axes. 

- Axis for Cs contour control 
- Axis for Spindle positioning 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1013 

 

 

 

 

 

 

 

ISCx 

ISAx 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit axis 

 

NOTE 

 

When at least one of these parameters is set, the power must be 
turned off before operation is continued. 

 

 

#0  ISAx

   

 

#1  ISCx

  Increment system of each axis

 

 

 

Increment system 

Bit 1 (ISC) 

Bit 0 (ISA) 

IS-A 

IS-B 

IS-C 

 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2631 - 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1816 

 

 

 

 

 

 

HPE 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit axis 

 

 

#2  HPE

  The compensation amount by the error compensation can be output based on: 

0: 

Detection unit 

1: 

1/1000 of the detection unit (same unit as for nano compensation) 

 

NOTE 

1  This parameter is valid in the following error compensation. 

-  Smooth backlash compensation 
-  Interpolation type straightness compensation 
-  Interpolation type straightness compensation 3072 points 
-  Interpolation type pitch error compensation 

2  In error compensation, set compensation data such as pitch error 

data by the detection unit regardless of the setting of this 
parameter. 

3  This parameter is valid on the following axes. 

-  Servo axis 
-  Axis for which Cs contour control or Spindle positioning is 

enabled 

4  When this parameter is 1, the compensation amount by following 

error compensation can be output based on the detection unit. 
-  Backlash compensation 
-  Stored pitch error compensation 
-  Straightness compensation 
-  Inclination compensation 
-  Bi-directional pitch error compensation 

 

16. PMC CONTROL FUNCTION

 

 

B-64693EN-1/01

 

- 2632 - 

16.5 

EXTERNAL WORKPIECE NUMBER SEARCH 

Overview 

A machining program stored in the part program memory can be started by an external signal. 
When automatic operation is started in the memory operation mode during the reset state, the program is 
searched for from a specified workpiece number and then executed from the beginning. 
For a machine with a function for automatically loading several types of workpieces, this function can be 
used to automatically select and execute the program according to the workpiece. 
This function searches the following folder for a target program: 
When parameter No. 3467 is set to 0: 
 

Searches the default foreground folder for the program. 

When parameter No. 3467 is set to other than 0: 
 

Searches the initial folder specified in parameter No. 3467 for the program. 

 

NOTE 

1  Parameter No. 3467 is also used by the “external program number search”. 
2  Parameter No. 3467 is also used by the “macro executor program reference and 

write function”. 

 

Signal 

External workpiece number search signals   

PN1,PN2,PN4,PN8,PN16 <Gn009.0 to Gn009.4> 

  [Classification]  Input signal 
 

[Function]  These signals specify a workpiece number to be executed in the memory operation mode. 

These are 5-bit code signals and correspond to the workpiece numbers as shown Table 
16.5 (a) (binary codes). 

Table 16.5 (a) 

External workpiece number search signals 

Workpiece number 

PN16 

PN8 

PN4 

PN2 

PN1 

00 

01 

02 

Omission 

30 

31 

 
Of these numbers, workpiece number 00 has special meaning "making no search". 
Therefore, a number from 01 to 31 can be specified as a workpiece number. 
 

NOTE 

 

The signals are also used to specify a file number for finding the 
beginning of the file in inputting an external program. 

 

 

[Operation]  Searches the program number corresponding to the workpiece number specified by these 

signals when: 
 

Automatic operation is started (the automatic operation start signal (ST) changes 
from “1” to “0”) in the memory operation mode if automatic operation is in the reset 
state (the automatic operation signal (OP) is “0”). 

When the workpiece number is 00, however, no search is carried out.   
The searched program is used in: 

 

Automatic operation in the memory operation mode 

 

Foreground edit in the memory edit mode 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2633 - 

Extended external workpiece number search signals   

EPN0 to EPN13 <Gn024.0 to Gn025.5> 

  [Classification]  Input signal 
 

[Function]  These signals specify a workpiece number to be executed in the memory operation mode. 

The correspondence with the workpiece numbers is shown Table 16.5 (b) (binary codes). 

 

Table 16.5 (b) 

Extended external workpiece number search signals 

Workpiece 

number 



13 



12 



11 



10 





















0000 

0001 

0002 

Omission 

9998 

9999 

Of these numbers, workpiece number 0000 has special meaning "making no search". 
Therefore, a number from 0001 to 9999 can be specified as a workpiece number. 
These signals are used in place of the external workpiece number search signals (PN1 to 
PN16) when the signal is selected by bit 1 (EPN) of parameter No. 3006. 
 

 

[Operation]  Operation of these signals is same as operation of external workpiece number search 

signals. 

 

External workpiece number search start signal EPNS <Gn025.7> 

  [Classification]  Input signal 
 

[Function]  This signal executes only the search function of the workpiece number search and does 

not perform automatic operation. When this signal changes from ”1”  to  ”0”, the search 
function is executed. 
When bit 2 (EPS) of parameter No. 3006 is set to 1, this signal is enabled and the search 
function by ST is disabled. 
 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn009 

 

 

 

 

PN16 

PN8 

PN4 

PN2 

PN1 

 

 

 

 

 

 

 

 

 

 

Gn024 

 

EPN7 

EPN6 

EPN5 

EPN4 

EPN3 

EPN2 

EPN1 

EPN0 

 

 

 

 

 

 

 

 

 

 

Gn025 

 

EPNS 

 

EPN13 

EPN12 

EPN11 

EPN10 

EPN9 

EPN8 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3006 

 

 

 

 

 

 

EPS 

EPN 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#1  EPN

  As signals for specifying workpiece numbers for external workpiece number search: 

0: 

The external workpiece search signals (PN1 to PN16) are used. (A number from 1 to 
31 can be specified.) 

1: 

The extended external workpiece number search signals (EPN0 to EPN13) are used. 
(A number from 1 to 9999 can be specified.) 

 

 

 

 

 

 

 

Content      ..     332      333      334      335     ..