FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 203

 

  Index      Manuals     FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual (B-63944EN/03)

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     201      202      203      204     ..

 

 

 

FANUC Series 30i/300i/300is-MODEL A. Machining Center System. User's manual - page 203

 

 

12.SETTING AND DISPLAYING DATA

 OPERATION 

B-63944EN/03

 

 

- 1580 - 

 - Usage 

When the command of M02 or M30 is executed, the total number of 
machined parts and the number of machined parts are incremented by 
one.    Therefore, create the program so that M02 or M30 is executed 
every time the processing of one part is completed. Furthermore, if an 
M code set to the parameter No. 6710 is executed, counting is made in 
the similar manner. Also, it is possible to disable counting even if 
M02 or M30 is executed (bit 0 (PCM) of parameter No. 6700 is set to 
1). For details, see the manual issued by machine tool builders. 
 

Limitation 
  - Run time and part count settings 

Negative value cannot be set. Also, the setting of “M” and “S” of run 
time is valid from 0 to 59. 
Negative value may not be set to the total number of machined parts. 
 

 - Time settings 

Neither negative value nor the value exceeding the value in the 
following table can be set. 

Table 12.3.3 (a)   

Item Maximum 

value

Item Maximum 

value

Year 2096 Hour  23 

Month 12 Minute 59 

Day 31 

Second 

59 

 

B-63944EN/03

 OPERATION 

12.SETTING AND DISPLAYING DATA

 

 

- 1581 - 

12.3.4 

Displaying and Setting the Workpiece Origin Offset Value 

 
Displays the workpiece origin offset for each workpiece coordinate 
system (G54 to G59, G54.1 P1 to G54.1 P48 and G54.1 P1 to G54.1 
P300) and external workpiece origin offset.   
The workpiece origin offset value and external workpiece origin offset 
value can be set on this screen. 
 

Procedure for displaying and setting the workpiece origin offset value 

Procedure 

Press function key 

Press chapter selection soft key [WORK].   
The workpiece coordinate system setting screen is displayed. 

 

Fig. 12.3.4 (a) WORK COORDINATES screen (10.4-inch) 

 
3  The screen for displaying the workpiece origin offset values 

consists of two or more pages.   
Display a desired page in either of the following two ways: 

 

Press the page key 

 or 

 

Enter the workpiece coordinate system number (0 : external 
workpiece origin offset, 1 to 6:  workpiece coordinate 
systems G54 to G59, P1 to P48 :  workpiece coordinate 
systems G54.1 P1 to G54.1 P48, P1 to P300 : workpiece 
coordinate systems G54.1 P1 to G54.1 P300) and press 
operation selection soft key [NO.SRH]. 

Turn off the data protection key to enable writing. 

Move the cursor to the workpiece origin offset to be changed. 

12.SETTING AND DISPLAYING DATA

 OPERATION 

B-63944EN/03

 

 

- 1582 - 

Enter a desired value by pressing numeric keys, then press soft 
key [INPUT]. The entered value is specified in the workpiece 
origin offset value. Or, by entering a desired value with numeric 
keys and pressing soft key [+INPUT], the entered value can be 
added to the previous offset value. 

Repeat steps 5 and 6 to change other offset values. 

Turn on the data protection key to disable writing. 

 

12.3.5 

Direct Input of Workpiece Origin Offset Value Measured 

 
This function is used to compensate for the difference between the 
programmed workpiece coordinate system and the actual workpiece 
coordinate system. The measured offset for the origin of the 
workpiece coordinate system can be input on the screen such that the 
command values match the actual dimensions. 
Selecting the new coordinate system matches the programmed 
coordinate system with the actual coordinate system. 
 

Procedure for direct input of workpiece origin offset value measured 

Procedure 

 

y

Programmed workpiece
origin 

New offset 

Previous offset

Origin

O'

Y

Surface A

Surface B 

β

α

 

X

x

O

 

 
1  When the workpiece is shaped as shown above, position the 

reference tool manually until it touches surface A of the 
workpiece. 

2  Retract the tool without changing the Y coordinate. 
3 Measure 

distance 

α

 between surface A and the programmed origin 

of the workpiece coordinate system as shown above. 

4  Press function key 

B-63944EN/03

 OPERATION 

12.SETTING AND DISPLAYING DATA

 

 

- 1583 - 

5  To display the WORK COORDINATES screen, press the chapter 

selection soft key [WORK]. 

 

Fig. 12.3.5 (a) WORK COORDINATES screen (10.4-inch) 

 

Position the cursor to the workpiece origin offset value to be set. 

Press the address key for the axis along which the offset is to be 
set (Y-axis in this example). 

Enter the measured value (

α

) then press soft key [MEASUR]. 

Move the reference tool manually until it touches surface B of 
the workpiece. 

10  Retract the tool without changing the X coordinate. 
11  Enter the measured value of distance (

β

) to surface B as an X 

value as with steps 7 and 8. 

 

Limitation 
 - Consecutive input 

Offsets for two or more axes cannot be input at the same time. 

  - During program execution 

This function cannot be used while a program is being executed. 

12.SETTING AND DISPLAYING DATA

 OPERATION 

B-63944EN/03

 

 

- 1584 - 

12.3.6 

Displaying and Setting Custom Macro Common Variables 

 
Displays common variables (#100 to #149 or #100 to #199, and #500 
to #531 or #500 to #999) on the screen.   
The values for variables can be set on this screen.   
Relative coordinates can also be set to variables. 
 

Procedure for displaying and setting custom macro common variables 

Procedure 

1  Press function key 

2  Press the continuous menu key 

, chapter selection soft key 

[MACRO], and soft key [(OPRT)] in the stated order. 
The following screen is displayed. 

 

Fig. 12.3.6 (a) CUSTOM MACRO screen (10.4-inch) 

 
3  Move the cursor to the variable number to set using either of the 

following methods: 

 

Enter the variable number and press soft key [NO.SRH]. 

 

Move the cursor to the variable number to set by pressing 

page keys 

 and/or 

 and cursor keys 

, and/or 

4  Enter data with numeric keys and press soft key [INPUT]. 

To set a relative coordinate in a variable, press address key 

, or 

, then press soft key [INP.C.]. 

To set a blank in a variable, just press soft key [INPUT]. The 
value field for the variable becomes blank. 

 

B-63944EN/03

 OPERATION 

12.SETTING AND DISPLAYING DATA

 

 

- 1585 - 

Explanation 

If the value of a variable produced by an operation is not displayable, 
an indication below is provided. 
When the significant number of digits is 12 (with bit 0 (F16) of 
parameter No. 6008 set to 0): 

Variable value range 

Variable value indication 

0 < Variable value < +0.00000000001 

+Underflow 

0 > Variable value > -0.00000000001 

-Underflow 

Variable value > 999999999999 

+Overflow 

Variable value < -999999999999 

-Overflow 

When the significant number of digits is 8 (with bit 0 (F16) of 
parameter No. 6008 set to 1): 

Variable value range 

Variable value indication 

0 < Variable value < +0.0000001 

+Underflow 

0 > Variable value > -0.0000001 

-Underflow 

Variable value > 99999999 

+Overflow 

Variable value < -99999999 

-Overflow 

 

12.SETTING AND DISPLAYING DATA

 OPERATION 

B-63944EN/03

 

 

- 1586 - 

12.3.7 

Displaying and Setting Real Time Custom Macro Data 

 
Real time macro variables (RTM variables) are dedicated to real time 
custom macros. 
RTM variables are divided into temporary real time macro variables 
(temporary RTM variables) and permanent real time macro variables 
(permanent RTM variables). 
The values of permanent RTM variables are kept stored after the 
power is turned off. 
Temporary RTM variables are cleared to 0 when the power is turned 
off. 
System variables (DI/DO variables) dedicated to real time custom 
macros are used to read and write PMC interface signals. Data can be 
read and written in bit and byte units. Before writing a signal, release 
the protection of the corresponding variable on the PMC signal protect 
screen. 
 

Displaying and setting real time custom macro variables 

Procedure 

1  Press function key 

2  Press the continuous menu key 

 several times, then press 

chapter selection soft key [R.TIME MACRO].  The following 
screen appears: 

 

Fig. 12.3.7 (a) REAL TIME MACRO screen (10.4-inch) 

 
3  To display or set real time custom macro variables of which 

values are not stored at power-off, press soft key [TEMP. DATA]. 

4  To display or set real time custom macro variables of which 

values are stored at power-off, press soft key [PERM. DATA]. 

B-63944EN/03

 OPERATION 

12.SETTING AND DISPLAYING DATA

 

 

- 1587 - 

5  Move the cursor to the number of a real time custom macro 

variable you want to set using either of the following methods: 

 

Enter the number of a real time custom macro variable and 
press soft key [NO. SRH]. 

 

Move the cursor to the number of a real time custom macro 

variable you want to set by pressing page keys 

 

and/or 

 and cursor keys 

, and/or 

6 Enter 

data. 

 

Displaying and setting DI/DO variables 

Procedure 

For setting in byte units: 

Press function key 

2  Press the continuous menu key 

 several times, then press 

chapter selection soft key [R.TIME MACRO]. The following 
screen appears: 

Press soft key [BYTE SELECT]. The following screen appears: 

 

Fig. 12.3.7 (b) BYTE SELECT screen (10.4-inch) 

 

Move the cursor to the number of a DI/DO variable you want to 
set using either of the following methods: 

 

Enter the number and press soft key [NO. SRH]. 

 

Move the cursor to a desired number by pressing page keys 

 and/or 

 and cursor keys 

and/or 

5 Enter 

data. 

 

 

 

 

 

 

 

Content      ..     201      202      203      204     ..