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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     267      268      269      270     ..

 

 

 

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

 

 

A.PARAMETERS

 APPENDIX 

B-63944EN/03

 

 

- 2108 - 

  

#7 #6 #5 #4 #3 #2 #1 #0 

6019 

 

       

MCO

 

 

[Input type]  Parameter input 

 [Data 

type] 

Bit 
 

        #0 

MCO

  When data is output, the decimal number value of the macro variable 

data is 
0:  Not output as a comment. 
1:  Output at the same time as a comment. 
 
After the number, data, and the variable name of the macro variable 
are output when data output operation is performed the variable 
number and the value of the macro variable data in decimal number 
are output as a comment. 
 

NOTE 

1  Output data by this parameter is "Comment", and 

this is ignored at the time of reading. 

2  Accuracy of the output data of the comment is up 

to 15 digits. The range of output data are nine 
digits above decimalpoint and eight digits below 
decimal point. "± OVER FLOW" is output instead of 
a value when the total digits number is more than 
16 and the digit number above the decimal point is 
ten or more. When the number of digits below the 
decimal point becomes nine digits or more, the 
ninth place of the decimal point is rounded off and 
output. Moreover, the seventh place or the eighth 
place of the decimal point is rounded off and output 
when the total digits number is more than 16 and 
the digit number above decimal point is nine or 
eight. 

3  The output becomes "EMPTY" when displayed, the 

macro variable data is "DATA EMPTY". 

 

6030 

 

M code to execute external device subprogram calls 

 

 

[Input type]  Setting input 

 

[Data type]  2-word path 

  [Valid data range]  0 to 99999999 

Set the M code to execute external device subprogram calls. When 0 is 
set, M198 is used. M01, M02, M30, M98, and M99 cannot be used to 
execute external device subprogram calls. When a negative number, 1, 
2, 30, 98, or 99 is set for this parameter, M198 is used to execute 
external device subprogram calls. 
 

B-63944EN/03

 APPENDIX 

A.PARAMETERS

 

 

- 2109 - 

6031 

 

Start number of common variables to be protected among the common 

variables (#500 to #999) 

 

6032 

 

End number of common variables to be protected among the common 

variables (#500 to #999) 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

  [Valid data range]  500 to 999 

Among the common variables (#500 to #999), the range of common 
variables specified by this parameter can be protected (by setting their 
attributes to read-only). If a write attempt (on the left side) is made, an 
alarm is issued. 
 

NOTE 

 

Set 0 in both parameter No. 6031 and No. 6032 not 
to protect common variables. 

 

6033 

 

M code that validates a custom macro interrupt 

 

6034 

 

M code that invalidates a custom macro interrupt 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  03 to 99999999 (excluding 30, 98 and 99) 

These parameters can be used when bit 4 (MPR) of parameter 
No.6003, is 1. M96 is used as a valid M code and M97 is used as an 
invalid M code when MPR is 0, irrespective of the state of this 
parameter.  
 

A.PARAMETERS

 APPENDIX 

B-63944EN/03

 

 

- 2110 - 

6036 

 

Number of custom macro variables common to tool path   

(for #100 to #199 (#499)) 

 

 

[Input type]  Parameter input 

 [Data 

type] 

Word 

  [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  To use up to #199, the option for adding custom 

macro common variables is required. 

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 option for addition of custom macro 
common variables is not effective, #150 to #199 
can not be used but this parameter should be set 
the number which includes #150 to #199. 

 

B-63944EN/03

 APPENDIX 

A.PARAMETERS

 

 

- 2111 - 

6037 

 

Number of custom macro variables common to tool path (for #500 to #999)

 

 

[Input type]  Parameter input 

 [Data 

type] 

Word 

  [Valid data range]  0 to 500 

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 #500 to #999 
may be shared. Ensure that the maximum number of usable macro 
common variables is not exceeded. 
 

Example 

 

When 50 is set in parameter No. 6037 

 

#500 to #549: Shared by all paths 

#550 to #599: Used by each path independently 

 

NOTE 

1  To use up to #999, the option for adding custom 

macro common variables is required. 

2  When 0 or a negative value is set, the memory 

common to paths is not used. 

 

6038 

 

Start G code used to call a custom macro 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

  [Valid data range]  -9999 to 9999 

 

6039 

 

Start program number of a custom macro called by G code 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  1 to 9999 

 

A.PARAMETERS

 APPENDIX 

B-63944EN/03

 

 

- 2112 - 

6040 

 

Number of G codes used to call custom macros 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

  [Valid data range]  0 to 255 

Set this parameter to define multiple custom macro calls using G 
codes at a time. With G codes as many as the value set in parameter 
No. 6040 starting with the G code set in parameter No. 6038, the 
custom macros of program numbers as many as the value set in 
parameter No. 6040 starting with the program number set in parameter 
No. 6039 can be called. Set 0 in parameter No. 6040 to disable this 
mode of calling. 
If a negative value is set in parameter No. 6038, the modal call mode 
is entered. Whether the modal call is equivalent to G66 or G66.1 
depends on bit 3 (MGE) of parameter No. 6007. 
Example) 
 

When parameter No. 6038 = 900, parameter No. 6039 = 1000, 
and parameter No. 6040 = 100 are set, a set of 100 custom macro 
calls (simple calls) is defined as follows: 

 G900 

 O1000 

 G901 

 O1001 

 G902 

 O1002 

 

    : 

 G999 

 O1099 

 

When the setting of parameter No. 6038 is changed to -900, the 
same set of custom macro calls (modal calls) is defined. 

 

NOTE 

1  When the following conditions are satisfied, all calls 

using these parameters are disabled: 

1) When a value not within the specifiable range is 

set in each parameter 

2) (Value of parameter No.6039 + value of 

parameter No.6040 - 1) > 9999 

2  The specification of a mixture of simple calls and 

modal calls is not allowed. 

3  If a range of G codes set by these parameters 

duplicate G codes specified in parameter No.6050 
to No.6059, the calls specified by parameter 
No.6050 to 6059 are made preferentially. 

 

B-63944EN/03

 APPENDIX 

A.PARAMETERS

 

 

- 2113 - 

6041 

 

Start G code with a decimal point used to call a custom macro 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

  [Valid data range]  -999 to 999 

 

6042 

 

Start program number of a custom macro called by G code with a decimal point

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  1 to 9999 

 

6043 

 

Number of G codes with a decimal point used to call custom macros 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

  [Valid data range]  0 to 255 

Set this parameter to define multiple custom macro calls using G 
codes with a decimal point at a time. With G codes with a decimal 
point as many as the value set in parameter No. 6043 starting with the 
G code with a decimal point set in parameter No. 6041, the custom 
macros of program numbers as many as the value set in parameter No. 
6043 starting with the program number set in parameter No. 6042 can 
be called. Set 0 in parameter No. 6043 to disable this mode of calling. 
If a negative value is set in parameter No. 6041, the modal call mode 
is entered. Whether the modal call is equivalent to G66 or G66.1 
depends on bit 3 (MGE) of parameter No. 6007. 
 
Example) 
 

When parameter No. 6041 = 900, parameter No. 6042 = 2000, 
and parameter No. 6043 = 100 are set, a set of 100 custom macro 
calls (simple calls) is defined as follows: 

 G90.0 

 O2000 

 G90.1 

 O2001 

 G90.2 

 O2002 

 

    : 

 G99.9 

 O2099 

 

When the setting of parameter No. 6041 is changed to -900, the 
same set of custom macro calls (modal calls) is defined. 

 

NOTE 

1  When the following conditions are satisfied, all calls using these parameters are 

disabled: 

1) When a value not within the specifiable range is set in each parameter 
2) (Value of parameter No.6042 + value of parameter No.6043 - 1) > 9999 
3) When bit 0 (DPG) of parameter No. 6007 = 0 (to disable calls using G codes 

with a decimal point) 

2  The specification of a mixture of simple calls and modal calls is not allowed. 
3  If a range of G codes set by these parameters duplicate G codes specified in 

parameter No.6060 to No.6069, the calls specified by parameter No.6060 to 6069 
are made preferentially. 

A.PARAMETERS

 APPENDIX 

B-63944EN/03

 

 

- 2114 - 

 

6044 

 

Start M code used to call a subprogram 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  3 to 99999999 

 

6045 

 

Start program number of a subprogram called by M code 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  1 to 9999 

 

6046 

 

Number of M codes used to call subprograms (number of subprograms 

called by M codes) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  0 to 32767 

Set this parameter to define multiple subprogram calls using M codes 
at a time. With M codes as many as the value set in parameter No. 
6046 starting with the M code set in parameter No. 6044, the 
subprograms of program numbers as many as the value set in 
parameter No. 6046 starting with the program number set in 6045 can 
be called. Set 0 in parameter No. 6046 to disable this mode of calling. 
 
Example) 
 

When parameter No. 6044 = 80000000, parameter No. 6045 = 
3000, and parameter No. 6046 = 100 are set, a set of 100 
subprogram calls is defined as follows: 

 M80000000 

 O3000 

 M80000001 

 O3001 

 M80000002 

 O3002 

 

    : 

 M80000099 

 O3099 

 

NOTE 

1  When the following conditions are satisfied, all calls 

using these parameters are disabled: 

1) When a value not within the specifiable range is 

set in each parameter 

2) (Value of parameter No. 6045 + value of 

parameter No. 6046 - 1) > 9999 

2  If a range of M codes set by these parameters 

duplicate M codes specified in parameter No. 6071 
to No. 6079, the calls specified by parameter No. 
6071 to 6079 are made preferentially. 

 

B-63944EN/03

 APPENDIX 

A.PARAMETERS

 

 

- 2115 - 

6047 

 

Start M code used to call a custom macro 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  3 to 99999999 

 

6048 

 

Start program number of a custom macro called by M code 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  1 to 9999 

 

6049 

  Number of M codes used to call custom macros (number of custom macros 

called by M codes) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

  [Valid data range]  0 to 32767 

Set this parameter to define multiple custom macro calls using M 
codes at a time. With M codes as many as the value set in parameter 
No. 6049 starting with the M code set in parameter No. 6047, the 
custom macros of program numbers as many as the value set in 
parameter No. 6049 starting with the program number set in parameter 
No. 6048 can be called. Set 0 in parameter No. 6049 to disable this 
mode of calling. 
Example) 
 

When parameter No. 6047 = 90000000, parameter No. 6048 = 
4000, and parameter No. 6049 = 100 are set, a set of 100 custom 
macro calls (simple calls) is defined as follows: 

 M90000000 

 O4000 

 M90000001 

 O4001 

 M90000002 

 O4002 

 

    : 

 M90000099 

 O4099 

 

NOTE 

1  When the following conditions are satisfied, all calls 

using these parameters are disabled: 

1) When a value not within the specifiable range is 

set in each parameter 

2) (Value of parameter No. 6048 + value of 

parameter No. 6049 - 1) > 9999 

2  If a range of M codes set by these parameters 

duplicate M codes specified in parameter No. 6080 
through No. 6089, the calls specified by parameter 
No. 6080 through 6089 are made preferentially. 

 

 

 

 

 

 

 

 

Content      ..     267      268      269      270     ..