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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     316      317      318      319     ..

 

 

 

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

 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2498 - 

5021 

 

Number of interpolation cycles of pulses stored until the tool is about to touch the touch sensor 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  0 to 8 

When a touch sensor with one contact signal input is used for the "direct input of offset 
value measured B" function or when the movement direction determination specification 
is enabled, set the number of interpolation cycles of pulses stored until the tool is about to 
touch the touch sensor by manual operation. When 0 is set, the specification of the 
maximum value 8 is assumed. 
 

NOTE 

 

This parameter is valid when bit 3 (TS1) of parameter No. 5004 or bit 
4 (TSD) of parameter No. 5009 is set to 1. 

 

5024 

 

Number of tool compensation values 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0 to 999 

Set the maximum allowable number of tool compensation values used for each path. 
Ensure that the total number of values set in parameter No. 5024 for the individual paths 
is within the number of compensation values usable in the entire system. The number of 
compensation values usable in the entire system depends on the option configuration. 
If the total number of values set in parameter No. 5024 for the individual paths exceeds 
the number of compensation values usable in the entire system, or 0 is set in parameter 
No. 5024 for all paths, the number of compensation values usable for each path is a value 
obtained by dividing the number of compensation values usable in the entire system by 
the number of paths. 
Tool compensation values as many as the number of compensation values used for each 
path are displayed on the screen. If tool compensation numbers more than the numbers of 
compensation values usable for each path are specified, alarm PS0115 “VARIABLE NO. 
OUT OF RANGE” is issued. 
For example, 64 tool compensation sets are used, 20 sets may be allocated to path 1, 30 
sets to path 2, and 14 sets to path 3. All of 64 sets need not be used. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

5051 

 

 

 

 

 

 

 

2AT 

2NR 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  2NR

  When the direct input of offset value measured B for 2 spindle lathe is used: 

0: 

One touch sensor is used. 

1: 

Two touch sensors are used. 

 

 

#1  2AT

  When a workpiece coordinate system shift amount is set in the workpiece coordinate 

system memory with the direct input of offset value measured B for 2 spindle lathe: 
0: 

A setting is made at the current cursor position. 

1: 

An automatic selection is made. 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2499 - 

5053 

 

Tool compensation number shift amount for the direct input of offset value measured B for 2 spindle 

lathe 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0 to number of tool compensation values 

When the direct input of offset value measured B for 2 spindle lathe is used, tool 
compensation numbers used to set measured tool compensation values are divided into 
two groups, one for spindle 1 and the other for spindle 2. 
 

 

[Example]  When there are 32 tool offset pairs   

 

Setting 

10 

Spindle 1 

1 to 8 

1 to 10 

Spindle 2 

9 to 32 

11 to 32 

 
When this parameter is set to 0 or a value greater than the maximum number of tool offset 
pairs, the table below is applied. 
 

Number of tool offset pairs 

32 pairs 

64 pairs 

99 pairs 

200 pairs 

400 pairs 

499 pairs 

999 pairs 

Spindle 1 

1 to 16 

1 to 32 

1 to 49 

1 to 100 

1 to 200 

1 to 249 

1 to 499 

Spindle 2 

17 to 32 

33 to 64 

50 to 98 

101 to 200  201 to 400  250 to 498  500 to 998 

 

5054 

 

Workpiece coordinate system memory for spindle 1 

 

5055 

 

Workpiece coordinate system memory for spindle 2 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  54 to 59 

Specify a workpiece coordinate system from G54 to G59 for which a workpiece 
coordinate system shift amount is set. When parameter No. 5054 or No. 5055 is set to 0 
or a value beyond the valid data range, the specification of 54 is assumed for the 
workpiece coordinate system memory for spindle 1, or the specification of 57 is assumed 
for the workpiece coordinate system memory for spindle 2. 
 

NOTE 

 

These parameters are valid when bit 1 (2AT) of parameter No. 
5051 is set to 1. 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2500 - 

Alarm and message 

Number 

Message 

Description 

PS5195 

DIRECTION CAN NOT BE 
JUDGED 

Measurement is invalid in the tool compensation measurement value direct 
input B function. 
[For 1-contact input] 
1.  The recorded pulse direction is not constant. 

The machine is at a stop in the offset write mode. 

The servo power is off. 

Pulse directions are diverse. 

2.  The tool is moving along the two axes (X-axis and Z-axis). 
[For the movement direction discrimination specification] 
1.  The recorded pulse direction is not constant. 

The machine is at a stop in the offset write mode. 

The servo power is off. 

Pulse directions are diverse. 

2.  The tool is moving along the two axes (X-axis and Z-axis). 
3.  The direction indicated by the tool compensation write signal does not 

match the movement direction of the axis. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Setting and displaying data 

 

15.4.3 

Chattering Prevention of "Direct Input of Offset Value 
Measured B" 

Overview 

This function is provided by the "direct input of offset value measured B" function to prevent an invalid 
offset value from being set even when the input signal from a touch sensor chatters due to mechanical 
vibration. 
 

Explanation 

If the "direct input of offset value measured B" function encounters a chattering input signal from a touch 
sensor, for example, due to mechanical vibration, the same signal input later can be ignored. Once an 
offset value is measured with a signal from the touch sensor, any signal input that follows is rejected until 
movement over at least the distance set by parameter No. 5019 later is specified. Signals are ignored if 
input. 
 
Assuming that an offset value is measured correctly at point A in Fig. 15.4.3 (a), even when movement 
from A to B is specified, measurement at point C is invalid and ignored as the travel distance is smaller 
than the setting of parameter No. 5019. 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2501 - 

 

 

Touch 

sensor 

Touch 

sensor 

Touch 

sensor 

Next measurement is ignored unless travel 
distance after measurement exceeds the setting 
of parameter No. 5019. 

Setting of parameter No. 5019 

 

Fig. 15.4.3 (a) Chattering prevention 1 

 
When movement from A to D is specified, measurement at point E is valid and an offset value is 
measured as the travel distance is larger than the setting of parameter No. 5019. 

 

 

 

Next measurement is enabled when travel 
distance after measurement exceeds the 
setting of parameter No. 5019. 

Touch 

sensor 

Touch 

sensor 

Touch 

sensor 

Setting of parameter No. 5019 

 

Fig. 15.4.3 (b) Chattering prevention 2 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2502 - 

Parameter 

5019 

 

Chattering preventive distance of "direct input of offset value measured B" 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

 

[Unit of data]  Detection 

[Valid data range]  0 to 999999999 

Once a signal is input from a touch sensor, any signal input from the touch sensor is 
ignored until movement over at least the distance set by this parameter is specified. If the 
setting is 0, this function is disabled and any input from the touch sensor is always 
accepted. Note that changing the setting of this parameter cancels the input signal 
ignoring status. 

 

Caution 

  CAUTION 

1  This function is available to both of tool offset value setting and workpiece 

coordinate shift amount setting. 

2  The function is valid whether the contact detection type of the touch sensor is 

four-contact or one-contact. 

 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2503 - 

16 

PMC CONTROL FUNCTION 

16.1 

PMC AXIS CONTROL 

16.1.1 

PMC Axis Control 

Overview 

The PMC signals can directly control any given axis, independent of the CNC. An axis can be controlled 
by signals alone without using an NC program. For example, by specifying an amount of travel, feedrate, 
and so forth from the PMC, a movement can be made along an axis independently of other axes operated 
under CNC control. This enables the control of turrets, pallets, index tables and other peripheral devices 
using any given axes of the CNC. 
Whether the CNC or PMC controls an axis is determined by the input signal provided for that particular 
axis. 
 

Table 16.1.1 (a) Commands that can be executed by PMC axis control 

Rapid traverse 
Cutting feed - feed per minute 
Cutting feed - feed per revolution 
Skip - feed per minute 
Dwell 
Reference position return 
Continuous feed 
1st to 4th reference position return 
External pulse synchronization - Position code 
External pulse synchronization - 1st to 3rd manual handle 
Feedrate control command 
Torque control command 
Auxiliary function, Auxiliary function 2, Auxiliary function 3 
Selection of the machine coordinate system 
Cutting feed - sec/block specification 

 

NOTE 

 

Ladder sequence of the PMC axis control can be easily incorporated by using 
PMC function. Functional instruction AXCTL(Axis Control Command by PMC: 
SUB 53) that can easily realize the PMC axis control command is provided. 

 

In the FANUC LADDER-III CD, function block that can be incorporated easily 
arious PMC axis control command is stored in the form of a library. 

 

For details on functional instruction AXCTL and function block, refer to the PMC 
Programming Manual (B-64513EN). For details on library of function block, refer 
to the documents in the FANUC LADDER-III CD. 

 

16. PMC CONTROL FUNCTION

 

 

B-64693EN-1/01

 

- 2504 - 

Explanation 

Under PMC axis control, various types of control are exercised using signals. 
To allow the command that can be executed by PMC axis control operations indicated in Table 16.1.1 (a) 
by PMC, maximum 16 groups of input/output signals are available. The groups are named group 1, group 
2, ..., group 15, and group 16. (The number of available groups depends on the number of NC path.) 
Each of these groups of input/output signals used with PMC axis control serves as the unit of PMC axis 
control. Which axis is to be controlled by each group must be set in parameter No. 8010 beforehand.(See 
Supplement 1 of Concept of PMC axis control Fig. 16.1.1 (a)) 
One group may be able to be assigned to multiple axes so that the same operation can be performed on 
the multiple axes. (Supplement 2) 
By  commanding  multiple groups at the same time, multiple axes can be controlled independently. 
(Supplement 3) 

 

 

PMC 

CNC 

α

 axis control 

β

 axis control 

 

γ

 axis control

 

δ

 axis control

 

ε

 axis control

 

η

 axis control

 

θ

 axis control

 

i

 axis control

 

κ

 axis control

 

l

 axis control

 

(Supplement 1) The relationships between groups and axes are set in parameter No. 8010. 
(Supplement 2) Multiple axes can be specified as with group 3. 
(Supplement 3) Group 1 and group 2 can be specified independently. 

Group 2

 

Group 1

 

Group 3

 

DI / DO 

Group 4

 

:

 

Group 5

 

Group 15

 

Group 16

 

Group 2 command

 

 

Group 1 command

 

Group 3 command

 

 

Group 4 command

 

 

:

 

Group 5 command

 

 

Group 15 command

 

 

Group 16 command

 

 

 

Fig. 16.1.1 (a) Concept of PMC axis control 

 

  - 

Signals 

Three types of signals are used with PMC control: 
 

Group-by-group signals are assigned to each group. 

 

Axis-by-axis signals are assigned to each axis. 

 

Path-by-path signals are assigned to each path. 

 

  - 

Relationships between groups and axes (group-by-group signals) 

Group-by-group signal addresses are allocated in the signal area of each path. (See Allocation of 
group-by-group signals (Table 16.1.1 (b)).) 
Note, however, that PMC axis control and multi-path control are independent of each other. 
 

B-64693EN-1/01

 

 

16. PMC CONTROL FUNCTION

 

- 2505 - 

NOTE 

 

The number of available groups depends on the number of NC path or type of 
PMC. 
In general, groups equal to 4 times the number of NC path are available. 

 

Table 16.1.1 (b) Allocation of group-by-group signals 

Group-by-group signal 

Input signal (G) address 

Output signal (F) address 

Group 1 

G0142 to G0149, G0150.5, G0151 

F0130 to F0132, F0142 

Group 2 

G0154 to G0161, G0162.5, G0163 

F0133 to F0135, F0145 

Group 3 

G0166 to G0173, G0174.5, G0175 

F0136 to F0138, F0148 

Group 4 

G0178 to G0185, G0186.5, G0187 

F0139 to F0141, F0151 

Group 5 

G1142 to G1149, G1150.5, G1151 

F1130 to F1132, F1142 

Group 6 

G1154 to G1161, G1162.5, G1163 

F1133 to F1135, F1145 

Group 7 

G1166 to G1173, G1174.5, G1175 

F1136 to F1138, F1148 

Group 8 

G1178 to G1185, G1186.5, G1187 

F1139 to F1141, F1151 

Group 9 

G2142 to G2149, G2150.5, G2151 

F2130 to F2132, F2142 

Group 10 

G2154 to G2161, G2162.5, G2163 

F2133 to F2135, F2145 

Group 11 

G2166 to G2173, G2174.5, G2175 

F2136 to F2138, F2148 

Group 12 

G2178 to G2185, G2186.5, G2187 

F2139 to F2141, F2151 

Group 13 

G3142 to G3149, G3150.5, G3151 

F3130 to F3132, F3142 

Group 14 

G3154 to G3161, G3162.5, G3163 

F3133 to F3135, F3145 

Group 15 

G3166 to G3173, G3174.5, G3175 

F3136 to F3138, F3148 

Group 16 

G3178 to G3185, G3186.5, G3187 

F3139 to F3141, F3151 

 
The notation of group-by-group signals is described below. 
For example, the group-by-group signals include the axis control command read signal EBUF (described 
later). This signal is represented as: 
  EBUFg#p 
A group number is represented by "p" and "g". 
"g" is replaced with A, B, C, or D, and A = 1, B = 2, C=3, and D = 4 are assumed. 
"p" is replaced with a number from 1 to 4. 
A group number is related with "p" and "g" as follows: 
  Group number = g+(p-1)

×

 
  EBUFA#1 represents group 1 (1+(1-1)

×

4). 

  EBUFB#2 represents group 6 (2+(2-1)

×

4). 

  EBUFC#3 represents group 11 (3+(3-1)

×

4). 

  EBUFD#4 represents group 16 (4+(4-1)

×

4). 

 
Note, however, for the small letter of “g” or “p”, that a signal named EBUFg#p does not actually exist. 
 
In the text, signal names such as "EBUFA", "EBUFB", "EBUFC",  "EBUFD", and "EBUFg" are used. 
Unless otherwise noted, these signal names are the abbreviations of "EBUFA#1" for group 1, 
"EBUFB#1" for group 2, "EBUFC#1" for group 3, "EBUFD#1" for group 4, and "EBUFg#1 to 
EBUFg#4" for general EBUF signals, respectively. 
 
When assigning multiple axes to one group, set parameter No. 8010 so that the axes belong to the same 
path. A setting in which the assigned axes do not belong to the same path is erroneous (see "Example of 
incorrect relationships between groups and axes"). (Fig. 16.1.1 (c)) 
In Example of correct relationships between groups and axes (Fig. 16.1.1 (b)) , the first and second axes 
specified with group 1 belong to the same path (path 1), and the third and fourth axes specified with 
group 2 belong to the same path (path 2), so that operation is performed correctly. 

 

 

 

 

 

 

 

Content      ..     316      317      318      319     ..