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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     264      265      266      267     ..

 

 

 

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

 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2082 - 

<5>  Set the desired attribute of the MTB1 folder. 
<6>  Set a value other than the password in parameter No. 11312 (keyword) to lock the key. 

 
(2)  Modification/addition 

<1>  Set the same value as the password in parameter No. 11312 (keyword) to unlock the key. 
<2>  Cancel the attribute of the MTB1 folder. 
<3>  Modify a program in the MTB1 folder or add a program to the MTB1 folder. 
<4>  Set the desired attribute of the MTB1 folder. 
<5>  Set a value other than the password in parameter No. 11312 (keyword) to lock the key. 

 
(3)  Copy (copy to another NC) 

<1>  Make the MTB1 folder empty. 

Delete all programs and folders from the MTB1 folder. 

<2>  Read a program to the MTB1 folder through an external device. 
<3>  Set G code numbers for calling and program numbers to be called in parameters Nos. 12020 to 

12049 as needed. 

<4>  Set a password in parameter No. 11311. 

Set the same value as the password in parameter No. 11312 (keyword) to unlock the key. 

<5>  Set the desired attribute of the MTB1 folder. 
<6>  Set a value other than the password in parameter No. 11312 (keyword) to lock the key. 

 
Setting of the attribute of the MTB1 folder 
 
(1)  Set the same value as the password in parameter No. 11312 (keyword) to unlock the key. 
(2)  Set the EDIT mode to display the program list screen. 

Operate the soft keys in the order shown Fig. 12.6.4 (b). 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

 

Sets/cancels the edit/display prohibition attribute. 
Sets/cancels the edit prohibition attribute. 

 

Fig. 12.6.4 (b) 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2083 - 

(3)  Place the cursor on the MTB1 folder then press a desired attribute soft key. 

 

Fig. 12.6.4 (c) Attribute setting 

 
 

Display when the edit prohibition attribute is assigned 

 

Fig. 12.6.4 (d) Edit prohibition attribute 

 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2084 - 

 

Display when the edit/display prohibition attribute is assigned 

 

Fig. 12.6.4 (e) Edit/display prohibition attribute 

 
(4)  Set a value other than the password in parameter No. 11312 (keyword) to lock the key. 
 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3457 

 

SCF 

SCC 

 

 

SYS 

MC1 

MC2 

LIB 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

NOTE 

1  The parameters LIB, MC2, MC1, and SYS are used to set a search 

folder for the following subprogram/macro calls: 

-  Subprogram call based on an M code 
-  Subprogram call based on a particular address 
-  Subprogram call based on a second auxiliary function code 
-  Macro call based on a G code 
-  Macro call based on an M code 
-  Macro call based on a T code 
-  One-touch macro call 

2  The parameter SCF is used to set whether to add a search folder 

for the following subprogram/macro calls: 

-  Subprogram call based on M98 
-  Figure copy based on G72.1/G72.2 
-  Macro call based on G65/G66/G66.1 
-  Macro interrupt based on M96 

 

 

#0  LIB

  The common program directory "//CNC_MEM/USER/LIBRARY/" of the initial 

directories is: 
0: 

Set as a search directory. 

1: 

Not set as a search directory. 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2085 - 

 

#1  MC2

  MTB dedicated directory 2 "//CNC_MEM/MTB2/" of the initial directories is: 

0: 

Set as a search directory. 

1: 

Not set as a search directory. 

 

 

#2  MC1

  MTB dedicated directory 1 "//CNC_MEM/MTB1/" of the initial directories is: 

0: 

Set as a search directory. 

1: 

Not set as a search directory. 

 

 

#3  SYS

  The system directory "//CNC_MEM/SYSTEM/" of the initial directories is: 

0: 

Set as a search directory. 

1: 

Not set as a search directory. 

 

NOTE 

 

When multiple folders are specified, LIB, MC2, MC1, and SYS are 
searched in this order. 

 

 

#6  SCC

  The same folder as the main program is added to the top of the search order as a search 

folder for the following each subprogram call and macro call. 

Subprogram call by an M code 

Subprogram call by a specific code 

Subprogram call by a second auxiliary function code 

Macro call by an S code 

Macro call by a T code 

Macro call by a G code 

Macro call by an M code 

One-touch macro call 

 
The same folder as the main program is: 
0: 

Not added in the search order. 

1: 

Added in the search order. 

When a search folder is added, a search is made in the following order: 
0) 

Folder only for embedded macro (With the embedded macro-function.) 

1) 

Folder where the main program is stored 

2) 

Common program folder, which is an initial folder (LIBRARY) 

3) 

MTB-dedicated folder 2, which is an initial folder (MTB2) 

4) 

MTB-dedicated folder 1, which is an initial folder (MTB1) 

5) 

System folder, which is an initial folder (SYSTEM) 

The folders of 2) through 5) can be excluded from search target folders by setting the bits 
0 (LIB), 1 (MC2), 2 (MC1), and 3 (SYS) of parameter No. 3457. 
 

 

#7  SCF

  A search folder is: 

0: 

Not added. 

1: 

Added. 

 
When a search folder is added, a search is made in the following order: 
0) 

Folder only for embedded macro (With the embedded macro-function.) 

1) 

Folder where the main program is stored 

2) 

Common program folder, which is an initial folder (LIBRARY) 

3) 

MTB-dedicated folder 2, which is an initial folder (MTB2) 

4) 

MTB-dedicated folder 1, which is an initial folder (MTB1) 

5) 

System folder, which is an initial folder (SYSTEM) 

 
The folders of 3) through 5) can be excluded from search target folders by setting the bits 
1 (MC2), 2 (MC1), and 3 (SYS) of parameter No. 3457. 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2086 - 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

6001 

 

 

CCV 

 

 

PV5 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#3  PV5

  Custom macro common variables: 

0: 

#500 to #549 are output. 

(Note)

 

1: 

#100 to #149 and #500 to 549 are output. 

(Note)

 

 

NOTE 

 

Output variables are as the table according to the combination of 
added options. 

 

 

When the parameter PV5=0 

 

Addition of custom macro common variables 

Disable 

(bit 6 (NCV) of 

parameter No.8135 is 1) 

Enable 

(bit 6 (NCV) of 

parameter No.8135 is 0) 

Option 

“Embedded macro” 

Non 

#500 to #549 

#500 to #999 

Yes 

#500 to #549 

#500 to #999 

 

 

When the parameter PV5=1 

 

Addition of custom macro common variables 

Disable 

(bit 6 (NCV) of 

parameter No.8135 is 1) 

Enable 

(bit 6 (NCV) of 

parameter No.8135 is 0) 

Option 

“Embedded macro” 

Non 

#100 to #149 and 

#500 to #549 

#100 to #199 and 

#500 to #999 

Yes 

#100 to #149, #200 to #499 

and #500 to #549 

#100 to #199, #200 to #499 

and #500 to #999 

 

 

#6  CCV

  Common variables #100 to #149

(NOTE)

 cleared by power-off are: 

0: 

Cleared to <null> by reset 

1: 

Not cleared by reset 

 

NOTE 

 

Cleared variables are as the table according to the combination of 
added options. 

 

 

Addition of custom macro common variables 

Disable 

(bit 6 (NCV) of 

parameter No.8135 is 1) 

Enable 

(bit 6 (NCV) of 

parameter No.8135 is 0) 

Option 

“Embedded macro” 

Non 

#100 to #149 

#100 to #199 

Yes 

#100 to #149 and 

#200 to #499 

#100 to #199 and 

#200 to #499 

 

6036 

 

Number of custom macro variables common to tool path (for #100 to #199 (#499)) 

 

 

[Input type]  Parameter input 

 

[Data type]  Word 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2087 - 

[Valid data range]  0 to 400 

When the memory common to paths is used, this parameter sets the number of custom 
macro common variables to be shared (custom macro variables common to paths). 
Common variables #100 to #199 (up to #499 in a system with the embedded macro 
option) may be shared. Ensure that the maximum number of usable macro common 
variables is not exceeded. 
 

Example 

 

When 20 is set in parameter No. 6036 

 

#100 to #119: Shared by all paths 

 

#120 to #149: Used by each path independently 

 

NOTE 

1  When the adding custom macro common variables is enabled (bit 

6(NCV) of parameter No.8135 is 0), up to #199 is available. 

2  To use up to #499, the embedded macro option is required. 
3  When 0 or a negative value is set, the memory common to paths is 

not used. 

4  When the option for embedded macro is effective and the addition 

of custom macro common variables is disabled (bit 6 (NCV) of 
parameter No.8135 is 1), #150 to #199 can not be used but this 
parameter should be set the number which includes #150 to #199. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

8106 

 

 

 

 

 

 

CVP 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

# 2    CVP

  By a reset in path other than path 1, the custom macro variables common to paths set to 

the common variables #100 to #499 cleared by power-off is   
0: 

not cleared to <null>. 

1: 

cleared to <null>. (it depend to the bit 6(CCV) of parameter No.6001.) 

 

NOTE 

1  When a reset is made in path 1, it is cleared regardless of the 

setting of this parameter. (it depend to the parameter CCV) 

2  This parameter is invalid for the path that the bit 0(NC1) of 

parameter No.6020 is 1. 

 

11311 

 

Password for embedded macro 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word 

[Valid date range]  0 to 99999999 

The password to set the attribute of the folder for the embedded macro (MTB1 folder) is 
set. When the values other than 0 are set to this parameter and the value is different from 
the parameter No. 11312 of the key word, the attribute of the MTB1 folder is locked.   
Thereafter, the attribute of the MTB1 folder is locked unless the same value as the 
password is set to the key word. Moreover, the value of the password cannot be changed. 

When the key is open,   

 

The attribute of the MTB1 folder can be changed. 

12. PROGRAM COMMAND

 

 

B-64693EN-1/01

 

- 2088 - 

When it locks or the key is not set,   

 

The attribute of the MTB1 folder can not be changed. 

 

11312 

 

Key word for embedded macro-function 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word 

[Valid date range]  0 to 99999999 

   
The key word in order to set the attribute of the folder for the embedded macro (MTB1 
folder) is set. 
 

NOTE 

 

The value is not displayed even if the parameter is set. Moreover, 
when the power is turned off, this parameter becomes 0.   

 

12020 

 

G code number for the embedded macro (first) 

 

12023 

 

G code number for the embedded macro (second) 

 

12026 

 

G code number for the embedded macro (third) 

 

12029 

 

G code number for the embedded macro (fourth) 

 

12032 

 

G code number for the embedded macro (fifth) 

 

12035 

 

G code number for the embedded macro (sixth) 

 

12038 

 

G code number for the embedded macro (seventh) 

 

12041 

 

G code number for the embedded macro (eighth) 

 

12044 

 

G code number for the embedded macro (ninth) 

 

12047 

 

G code number for the embedded macro (tenth) 

 

 

[Input type]  Parameter input   

 

[Data type]   Word path 

[Valid date range]   1 to 999 

 

12021 

 

Macro program number for the embedded macro (first) 

 

12024 

 

Macro program number for the embedded macro (second) 

 

12027 

 

Macro program number for the embedded macro (third) 

 

12030 

 

Macro program number for the embedded macro (fourth) 

 

12033 

 

Macro program number for the embedded macro (fifth) 

 

12036 

 

Macro program number for the embedded macro (sixth) 

 

12039 

 

Macro program number for the embedded macro (seventh) 

 

B-64693EN-1/01

 

 

12. PROGRAM COMMAND

 

- 2089 - 

12042 

 

Macro program number for the embedded macro (eighth) 

 

12045 

 

Macro program number for the embedded macro (ninth) 

 

12048 

 

Macro program number for the embedded macro (tenth) 

 

 

[Input type]  Parameter input   

 

[Data type]   2-word path 

[Valid date range]   1 to 9999 

 

12022 

 

Number of G code macro for embedded macro (first) 

 

12025 

 

Number of G code macro for embedded macro (second) 

 

12028 

 

Number of G code macro for embedded macro (third) 

 

12031 

 

Number of G code macro for embedded macro (fourth) 

 

12034 

 

Number of G code macro for embedded macro (fifth) 

 

12037 

 

Number of G code macro for embedded macro (sixth) 

 

12040 

 

Number of G code macro for embedded macro (seventh) 

 

12043 

 

Number of G code macro for embedded macro (eighth) 

 

12046 

 

Number of G code macro for embedded macro (ninth) 

 

12049 

 

Number of G code macro for embedded macro (tenth) 

 

 

[Input type]  Parameter input   

 

[Data type]   Word path 

[Valid date range] 1 to 255 

 
The data of the macro call by G code added by the embedded macro is set. G code 
number and the macro program number for it are set, and the number of G codes is set.   
These sets can be set up to ten. If G code number duplicates, it gives priority from former 
set. The set whose G code number, macro program number, or number is 0 is invalid.   
 

 

[Example]  In case that the range of macro program number is 7000 to 8999: 

 

First group 

Second group 

Third group 

G code 

No. 12020=100 

No. 12023=150 

No. 12026=900 

Program number 

No. 12021=8000 

No. 12024=7500 

No. 12027=8300 

Number 

No. 12022=10 

No. 12025=5 

No. 12028=30 

 
The following program is called by each G code. 

G code 

Called program 

G100 toG109 

O8000 to O8009 

G150 to G154 

O7500 to O7504 

G900 to G929 

O8300 to O8329 

 

 

 

 

 

 

 

 

Content      ..     264      265      266      267     ..