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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     178      179      180      181     ..

 

 

 

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

 

 

11.PROGRAM MANAGEMENT

 OPERATION 

B-63944EN/03

 

 

- 1396 - 

11.1 

SELECTING A DEVICE 

 
When the fast data server function (option) is provided, a program 
storage device can be selected.  This section explains the selection 
procedure. 
 

Procedure for selecting a device 

 

Press the function key 

.

 

Press the soft key [FOLDER]. 

Press the soft key [(OPRT)]. 

Press the soft key [DEVICECHANGE]. 

Press the soft key for the desired device. 

 

B-63944EN/03

 OPERATION 

11.PROGRAM MANAGEMENT

 

 

- 1397 - 

11.1.1 

Selecting a Memory Card Program as a Device 

 

Overview 

By selecting a memory card including a program storage file (named 
"FANUCPRG.BIN") as a device, memory operation can be performed 
with the program in the program storage file selected as the main 
program. 
In addition, the content of a program storage file can be displayed on 
the program list screen or a program in a program storage file can be 
edited on the program edit screen. 
A program storage file can be created using a memory card program 
tool (A08B-9010-J700#ZZ11) on a commercially available personal 
computer.    To be used, the program storage file must be written to a 
memory card formatted in FAT16 format. 
(A program held in a program storage file is hereinafter referred to as 
a memory card program.  Moreover, a memory card storing a 
program storage file is referred to as a program storage memory card.) 
 

Procedure for selecting a device 

 

Press the function key 

.

 

Press the soft key [FOLDER]. 

Press the soft key [(OPRT)]. 

Press the soft key [DEVICECHANGE]. 

Press the soft key [MEMCARD]. 

 

NOTE 

1  A FAT16-formatted memory card containing the 

program storage file FANUCPRG.BIN is recognized 
as a program storage memory card. 

2  For a program storage memory card containing 

more than 63 folders and programs, the option for 
extending the number of memory card program 
registrations is required.    The option for extending 
the number of memory card program registrations is 
applicable to a program storage memory card 
containing a maximum of 1000 folders and 
programs. 

 

11.PROGRAM MANAGEMENT

 OPERATION 

B-63944EN/03

 

 

- 1398 - 

Procedure for removing a device 

 
When a program storage memory card is replaced or a memory card is 
used for normal usage such as data input/output, clear the recognition 
of the program storage memory card with removal operation.

 

 

Press the function key 

.

 

Press the soft key [FOLDER]. 

Press the soft key [(OPRT)]. 

Press the soft key [DEVICECHANGE]. 

Press the soft key [DETACH]. 

 

NOTE 

1  This soft key appears when the CNC recognizes a 

program storage memory card during device change 
operation. 

2  This operation is enabled only in EDIT mode or 

MEM mode. 
When a memory card program is selected in the 
main programs of multiple paths in a multipath 
control system, set the modes of all paths to EDIT 
mode or MEM mode. 

3  When the default folder is a folder in a program 

storage file, it is changed to "//CNC_MEM/" by a 
removal operation. 

4  When the main program is a memory card program, 

the main program enters the unselected state by a 
removal operation. 

 

Explanation 
 - About operation 

A memory card program can be selected as a main program to perform 
memory operation. 
Memory operation has the following features:

 

 

Subprogram call nesting is allowed. 

 

Macro program call nesting is allowed. 

  In a custom macro, a control command using a GOTO 

statement/WHILE statement can be specified. 

 

With the T series, a multiple repetitive canned cycle for turning 
can be specified. 

 

NOTE 

 

To use the functions for calling macros, using 
custom macros, and using a multiple repetitive 
canned cycle for turning, the options corresponding 
to the respective functions are required. 

 

B-63944EN/03

 OPERATION 

11.PROGRAM MANAGEMENT

 

 

- 1399 - 

  - Selection as a main program 

As a main program to be automatically executed in the memory mode, 
a memory card program can be selected. 

 

  - Sub program (call using M98/G72.1/G72.2) 
  - Macro program (call using G65/G66/G66.1/M96) 

The following subprogram/macro program held in the same folder as 
containing the main program is called: 

 

Sub program call (M98) 

 

Macro call (Simple macro call G65 / Modal call G66,G66.1) 

 

Macro interrupt (M96) 

 

Figure copying (G72.1, G72.2) 

 

If the program cannot be found in the same folder as the main program, 
the following folder is searched: 

  Common program folder on the CNC_MEM device (CNC 

program storage memory) 

 

NOTE 

 

To use the functions for macro call, macro interrupt, 
and figure copying, the options corresponding to 
the respective functions are required. 

 

  - Sub program (call using M code/S code/T code/particular address/the second 

auxiliary function) 

  - Macro program (call using G code/M code) 

The following subprogram/macro program calls a program from the 
CNC_MEM device (CNC program storage memory): 

  Subprogram call using M code/S code/T code/particular 

addresses/the second auxiliary function 

 

Macro call using G code/M code 

The folders set as search targets are searched in the following order, 
and the first found program is called: 
1    Common program folder among the initial folders 
2    MTB-dedicated folder 2 among the initial folders 
3    MTB-dedicated folder 1 among the initial folders 
4    System folder among the initial folders 
Search target folders are set in parameter No. 3457. 

 

NOTE 

 

For a memory card program, subprogram call using 
M code/S code/T code/particular addresses/the 
second auxiliary function or macro call using G 
code/M code can be specified.    However, a 
program on the CNC_MEM device (CNC program 
storage memory) is called. 

 

11.PROGRAM MANAGEMENT

 OPERATION 

B-63944EN/03

 

 

- 1400 - 

  - External program number search / External workpiece number search 

A program on a program storage memory card can be searched for 
with the external program number search function or external 
workpiece number search function. 

 

Limitation 

For a memory card program, M198 cannot be specified.    Moreover, 
no memory card program can be called from a program on the 
CNC_MEM device (CNC program storage memory) by specifying 
M198. 
 
When a setting is made to enable an external device subprogram call 
from a memory card (M198) or DNC operation from a memory card 
(bit 7 (MNC) of parameter No. 0138 = 1), the content of program 
storage file cannot be displayed during automatic operation. 
 
When a program storage memory card is selected, the memory card 
cannot be used for the ordinary purposes listed below.  To use a 
memory card in such a case, perform a "removal" operation to cancel 
the recognition of the program storage memory card. 

 

ALL I/O screen 
Display of the contents of a memory card, and reading/punching 
data to and from a memory card 

 

PMC data I/O screen 
Display of the contents of a memory card, and reading/punching 
to and from a memory card 

 

Program directory screen 
Reading/punching program data to and from a memory card 

 

External device subprogram call (M198) operation 
Subprogram call (M198) with a memory card set as an external 
device 

 DNC 

operation 

DNC operation from a memory card 

 

 CAUTION  

1  Do not remove the memory card when a program 

that specifies a write to the memory card is being 
edited.    The data can be destructed. 

2  If an editing operation is completed, the results of 

editing are preserved even when the power to the 
CNC is turned off. 

B-63944EN/03

 OPERATION 

11.PROGRAM MANAGEMENT

 

 

- 1401 - 

 CAUTION  

3  When removing the memory card, be sure to 

perform a "removal" operation.    If the memory card 
is removed without performing a "removal" operation 
and an attempt is made to access the memory card, 
the alarm (SR1964) or alarm (IO1030) is issued. 
If the card is removed inadvertently, insert the card 
again and perform a "removal" operation. 
When an alarm is issued, perform the following 
operation: 

-  When the alarm (SR1964) is issued 
  Reset the alarm after performing a "removal" 

operation. 

-  When the alarm (IO1030) is issued 
  The alarm can be reset only by turning off the 

power to the CNC. 

4  There are cases in which when a memory card is 

replaced with another, the CNC cannot detect the 
replacement. Thus, it is risky to replace a memory 
card without performing a "removal" operation, and 
this should never be attempted. 

 

  - Operation of creattion, edition, and management of a program 

When “memory card program as a device” is selected, operation of 
creattion, edition, and management of a program is below: 

Item Usable 

Creation of a program 

Unusable 

Edition prohibition attribute 

Unusable 

Inserting, alteration, and deletion a Word 

Usable 

Deletion of a block 

Usable 

Program search 

Usable 

Sequence number search 

Usable 

Deletion of a program 

Unusable 

Editing a customa macro 

Usable 

Password function 

Unusable 

Editing a program character 

Usable 

Program copy function 

Unusable 

Key and program encryption 

Unusable 

Selecting a device 

Usable 

Creation of a folder 

Unusable 

Renaming of a folder 

Unusable 

Changing the attribute of a folder 

Unusable 

Deletion of a folder 

Unusable 

Selecting a default folder 

Usable 

Renaming of a file 

Unusable 

Deletion of a file 

Unusable 

Changing the attribute of a file 

Unusable 

Selecting a main program 

Usable 

Making a program compact 

Unusable 

Input/output of program Unusable 

11.PROGRAM MANAGEMENT

 OPERATION 

B-63944EN/03

 

 

- 1402 - 

11.2 

CREATING A FOLDER 

 
This section explains the procedure for creating a folder. 
 

Procedure for creating a folder 

 

Select EDIT mode. 

Press the function key 

.

 

Move to the folder in which you want to create a folder. 
Use the cursor keys 

 and 

 to move among folders.  

After selecting the folder, press the 

 key. 

4  Press the soft key [(OPRT)]. 
5  Type folder name. 
6  Press the soft key [CREATE FOLDER]. 
 

NOTE 

1  Each folder name must be unique within the same 

folder. 

2  Each time a folder is created, the number of 

programs that can be registered decreases by one. 

3  Depending on the operation status and protection 

status, a folder cannot sometimes be created. 

 

B-63944EN/03

 OPERATION 

11.PROGRAM MANAGEMENT

 

 

- 1403 - 

11.3 

RENAMING A FOLDER 

 
This section explains the procedure for renaming a folder. 
 

Procedure for renaming a folder 

 

Select EDIT mode. 

Press the function key 

.

 

Press the soft key [FOLDER]. 

Select the folder that you want to rename. 

 

To select a folder, use the cursor keys 

 and 

Press the soft key [(OPRT)]. 

Type new folder name. 

Press the soft key [RENAME]. 

 

NOTE 

1  You cannot rename the initial folders. 
2  Each folder name must be unique within the same 

folder. 

3  Depending on the operation status and protection 

status, a folder cannot sometimes be renamed. 

 

 

 

 

 

 

 

 

Content      ..     178      179      180      181     ..