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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     284      285      286      287     ..

 

 

 

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

 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2242 - 

 

#4  CCR

  Addresses used for chamfering 

0: 

Address is “I”, “J”, or “K”. 
In direct drawing dimension programming, addresses ",C", ",R",  and ",A" (with 
comma) are used in stead of "C", "R", and "A". 

1: 

Address is “C”. 
Addresses used for direct drawing dimension programming are  "C", "R", and "A" 
without comma. 

 

NOTE 

If this bit (CCR) is set to 0, the function for changing the 
compensation direction by specifying I, J, or K in a G01 block in the 
cutter compensation/ tool nose radius compensation mode cannot 
be used. 

 

If this bit (CCR) is set to 1 when address C is used as an axis 
name, the chamfer function cannot be used. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3453 

 

 

 

 

 

 

 

 

CRD 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Setting input 

 

[Data type]  Bit path 

 

 

#0  CRD

  About  the functions of chamfering or corner R and direct drawing  dimension 

programming, 
0: 

Chamfering or corner R is enabled. 

1: 

Direct drawing dimension programming is enabled. 

 

 

 

#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. 

PS0052 

CODE IS NOT G01 AFTER 
CHF/CNR 

The block next to the chamfering or corner R block is not G01 
(or vertical line). Modify the program. 

PS0053 

TOO MANY ADDRESS COMMANDS 

In the chamfering and corner R commands, two or more of I, 
J, K and R are specified.   

PS0054 

NO TAPER ALLOWED AFTER 
CHF/CNR 

A block in which chamfering or the corner R was specified 
includes a taper command. 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. 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2243 - 

Number 

Message 

Description 

PS0069 

LAST BLOCK OF SHAPE 
PROGRAM IS AN ILLEGAL 
COMMAND 

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. 

PS0306 

MISMATCH AXIS WITH CNR/CHF 

The correspondence between the moving axis and the I, J, or 
K command is incorrect in a block in which chamfering is 
specified. 

 

12.20 

DIRECT DRAWING DIMENSIONS PROGRAMMING 

T

 

 

Overview 

Angles of straight lines, chamfering value, corner rounding values, and other dimensional values on 
machining drawings can be programmed by directly inputting these values. In addition, the chamfering 
and corner rounding can be inserted between straight lines having an optional angle. 
This programming is only valid in memory operation mode. 
 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3405 

 

 

 

DDP 

CCR 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#4  CCR

  Addresses used for chamfering 

0: 

Address is “I”, “J”, or “K”. 
In direct drawing dimension programming, addresses ",C", ",R",  and ",A" (with 
comma) are used in stead of "C", "R", and "A". 

1: 

Address is “C”. 
Addresses used for direct drawing dimension programming are  "C", "R", and "A" 
without comma. 

 

NOTE 

If this bit (CCR) is set to 0, the function for changing the 
compensation direction by specifying I, J, or K in a G01 block in the 
cutter compensation/ tool nose radius compensation mode cannot 
be used. 

 

If this bit (CCR) is set to 1 when address C is used as an axis 
name, the chamfer function cannot be used. 

 

 

#5  DDP

  Angle commands by direct drawing dimension programming 

0: 

Normal specification 

1: 

A supplementary angle is given. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3453 

 

 

 

 

 

 

 

 

CRD 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Setting input 

 

[Data type]  Bit path 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2244 - 

 

 

#0  CRD

  About  the functions of chamfering or corner R and direct drawing  dimension 

programming, 
0: 

Chamfering or corner R is enabled. 

1: 

Direct drawing dimension programming is enabled. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3458 

 

CRC 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#7  CRC

  In Direct drawing dimension programming function, when a minus value is commanded 

as a chamfering value / corner R value: 
0: 

Alarm PS0055 “MISSING MOVE VALUE IN CHF/CNR” is issued. 

1: 

Alarm is not issued. A minus value is converted to a plus value. 

 

Alarm and message 

Number 

Message 

Description 

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. 

PS0056 

NO END POINT & ANGLE IN 
CHF/CNR 

In direct dimension drawing programming, both an end point 
and an angle were not specified in the block next to the block 
in which only an angle was specified (Aa). Modify the 
program. 

PS0057 

NO SOLUTION OF BLOCK END 

Block end point is not calculated correctly in direct dimension 
drawing programming. Modify the program. 

PS0058 

END POINT NOT FOUND 

Block end point is not found in direct dimension drawing 
programming. Modify the program. 

PS0312 

ILLEGAL COMMAND IN DIRECT 
DRAWING DIMENSIONS 
PROGRAMMING 

Direct input of drawing dimensions was commanded in an 
invalid format. 
An attempt was made to specify an invalid G code during 
direct input of drawing dimensions. 
There exist two or more blocks not to be moved in 
consecutive commands that specify direct input of drawing 
dimensions. 
Although non-use of commas (,) (bit 4 of parameter No. 3405 
= 1) was specified for direct input of drawing dimensions, a 
comma was specified.   

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Direct drawing dimensions programming 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2245 - 

12.21 

PATTERN DATA INPUT 

Overview 

In the program of the fixed form processing with the custom macro, the operator select the processing 
pattern on the menu screen and specified the size, number and so on to the variable on the custom macro 
screen. As above mentioned, this function enables users to perform programming  simply  without 
programming using an existing NC language. 
With the aid of this function, a machine tool builder can prepare the program of a hole machining cycle 
(such as a boring cycle or tapping  cycle) using the custom macro function, and can store it into the 
program memory. 
This cycle is assigned pattern names, such as BOR1, TAP3, and DRL2. 
An operator can select a pattern from the menu of pattern names displayed on the screen. 
Data (pattern data) which is to be specified by the operator should be created in advance with variables in 
a drilling cycle. 
The operator can identify these variables using names such as DEPTH,  RETURN RELIEF, FEED, 
MATERIAL or other pattern data names. The operator assigns values (pattern data) to these names.

 

The operator selects the pattern on the menu screen, and the selected pattern number is assigned to  the 
system variable.  The  custom macro of the selected pattern can be started by starting a  program then 
referring to the system variable in the program.

 

 

Explanation 

This function consists of Pattern menu screen and Custom macro screen. 
The process pattern is selected on the pattern screen. 
Then the process pattern is selected, the custom macro screen is displayed. 
On this custom macro screen, the variable with the name and comment  is displayed according  to the 
selected process pattern. 
The process data can be input by referring to the variable name with the numerical value on the drawing. 
 
A sample pattern menu screen and custom macro screens are shown below. 
 
(1)  Pattern menu screen 
 

 

Fig. 12.21 (a) Pattern menu screen 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2246 - 

(2)  Custom macro screen 
 

The name of variable and comment can be displayed on the usual custom macro screen. 

 

The menu title  and pattern name on the pattern menu screen and the variable name  on the custom 
macro screen can be defined 

 

The  position of the comment displayed on  the custom macro screen  can be selected whether the 
lower size or the right side by setting bit 0 (POC) of parameter No. 11318. 

 

 

Fig. 12.21 (b) Custom macro screen (parameter No. 11318#0=0) 

 

 

Fig. 12.21 (c) Custom macro screen (parameter No. 11318#0=1)

 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2247 - 

Explanation of operation 

The following steps 1-3 explain how to display the pattern menu screen. 

Press function key 

 

Press continuous menu key 

 

Press soft key [PATTERN MENU]. 

 

  - 

Pattern menu screen 

The pattern menu in the Fig. 12.21 (d) is displayed. 
 

 

Fig. 12.21 (d) Pattern menu screen 

 
Select the pattern on this screen 
The next two methods are effective. 

Selection by cursor 

 

Move the cursor to the pattern name with the cursor move keys 

 

 

  and press the soft key 

[SELECT] or 

 

  key. 

Selection by setting of pattern number 

 

Enter the number on the left of the pattern name, and press the soft key [SELECT] or 

 

  key. 

 
The selected pattern number  is  registered  to system variable #5900. The  custom macro of the selected 
pattern can be started by starting a fixed program (external program No. search) with an external signal. 
This program refers to the system variable #5900 in the program. This system variable #5900 is kept after 
power-off. 
 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2248 - 

  - 

Custom macro variable screen 

The custom macro screen in the Fig. 12.21 (e) is displayed. 
 

 

Fig. 12.21 (e) Custom macro screen when the pattern data is input   

 
When the screen is changed to the custom macro screen, the macro variable number that is selected first is 
specified with the parameters  Nos.6101 to 6110. The macro variables that variable name is not defined 
can be input, too. 
 

NOTE 

1  The variable name that is displayed cannot be used as the common variable 

name of the NC program. 

2  When the common variable name is defined by SETVN command, the variable 

name defined by pattern data input function is given priority. 

3  When the bit 0 (POC) of parameter No. 11318 is set to 1, The variable number is 

three digit display. 

 

And the value of 12 digits or more is input, 11 digits from head of value are 
displayed. 

 

Example) 

 

 

Input: -123456789.123 

 Display: -123456789.1 

 

Parameter 

6101 

 

Macro variable number selected first when pattern menu 1 is selected 

 

6102 

 

Macro variable number selected first when pattern menu 2 is selected 

 

6103 

 

Macro variable number selected first when pattern menu 3 is selected 

 

6104 

 

Macro variable number selected first when pattern menu 4 is selected 

 

6105 

 

Macro variable number selected first when pattern menu 5 is selected 

 

6106 

 

Macro variable number selected first when pattern menu 6 is selected 

 

6107 

 

Macro variable number selected first when pattern menu 7 is selected 

 

6108 

 

Macro variable number selected first when pattern menu 8 is selected 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2249 - 

6109 

 

Macro variable number selected first when pattern menu 9 is selected 

 

6110 

 

Macro variable number selected first when pattern menu 10 is selected 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0,100 to 199,500 to 999 

Set the macro variable number to be selected first when a pattern menu is selected on the 
custom macro screen. 
If 0 is specified, 500 is assumed. 
If a value beyond the above range is entered, 100 is assumed. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11318 

 

 

 

 

 

 

 

 

POC 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  POC

  When the pattern data input function is used, on the custom macro screen a comment is: 

0: 

Displayed in the lower part of the screen. 

1: 

Displayed on the right side of the screen. 

 

NOTE 

 

This parameter is not used when a 15-/19-inch display unit is used. 

 

Definition of the screen 

The definition of the screen is performed by NC program. 
 

  - 

Program configuration

 

This function is consist of one program for the definition of pattern menu screen and maximum ten 
programs for the definition of custom macro screen.   
Register the macro program for the pattern data input function to the following folder. 
//CNC_MEM/USER/LIBRARY/PATH1 to PATH[n] 

[n] is the maximum path number of the system 

The PATH1 to PATH[n] should be made by the machine tool builder. 

The program number is as follows 
 

Table 12.21 (a) Program Number and screen

 

Program No. 

Screen 

O9500 

Program to specify character strings displayed on the pattern menu screen. 

O9501 

Program to specify character string displayed on the custom macro screen for pattern 
No.1 

O9502 

Program to specify character string displayed on the custom macro screen for pattern 
No.2 

O9503 

Program to specify character string displayed on the custom macro screen for pattern 
No.3 

O9504 

Program to specify character string displayed on the custom macro screen for pattern 
No.4 

O9505 

Program to specify character string displayed on the custom macro screen for pattern 
No.5 

O9506 

Program to specify character string displayed on the custom macro screen for pattern 
No.6 

O9507 

Program to specify character string displayed on the custom macro screen for pattern 
No.7 

O9508 

Program to specify character string displayed on the custom macro screen for pattern 
No.8 

 

 

 

 

 

 

 

Content      ..     284      285      286      287     ..