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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     183      184      185      186     ..

 

 

 

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

 

 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1434 - 

0: 

The same multiplication factor is used for both of metric input and inch input. 

1: 

A multiplication factor used for inch input is 10 times greater  than that used for 
metric input. 

 
When the second auxiliary function is specified in the calculator-type decimal point input 
format or with a decimal point, the value output onto the code signal is a specified value 
multiplied by a value indicated below. 

Increment system 

Parameter AUX=0 

Parameter AUX=1 

Metric 
input 
system 

IS-A for reference axis 

100 times 

100 times 

IS-B for reference axis 

1000 times 

1000 times 

IS-C for reference axis 

10000 times 

10000 times 

Inch input 
system 

IS-A for reference axis 

100 times 

1000 times 

IS-B for reference axis 

1000 times 

10000 times 

IS-C for reference axis 

10000 times 

100000 times 

 

3411 

 

M code preventing buffering 1 

 

3412 

 

M code preventing buffering 2 

 

3413 

 

M code preventing buffering 3 

to 

 

to 

3420 

 

M code preventing buffering 10 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  3 to 99999999 

Set M codes that prevent buffering the following blocks. If processing directed by an M 
code must be performed by the  machine without buffering the following block, specify 
the M code. 
M00, M01, M02, and M30 always prevent buffering even when they are not specified in 
these parameters. 
 

3421 

 

Range specification 1 of M codes that do not perform buffering (lower limit) 

 

3422 

 

Range specification 1 of M codes that do not perform buffering (upper limit) 

 

3423 

 

Range specification 2 of M codes that do not perform buffering (lower limit) 

 

3424 

 

Range specification 2 of M codes that do not perform buffering (upper limit) 

 

3425 

 

Range specification 3 of M codes that do not perform buffering (lower limit) 

 

3426 

 

Range specification 3 of M codes that do not perform buffering (upper limit) 

 

3427 

 

Range specification 4 of M codes that do not perform buffering (lower limit) 

 

3428 

 

Range specification 4 of M codes that do not perform buffering (upper limit) 

 

3429 

 

Range specification 5 of M codes that do not perform buffering (lower limit) 

 

3430 

 

Range specification 5 of M codes that do not perform buffering (upper limit) 

 

3431 

 

Range specification 6 of M codes that do not perform buffering (lower limit) 

 

3432 

 

Range specification 6 of M codes that do not perform buffering (upper limit) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  3 to 99999999 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1435 - 

When a specified M code is within the range specified with parameters  Nos. 3421 and 
3422, 3423 and 3424, 3425 and 3426, 3427 and 3428, 3429 and 3430, or 3431 and 3432, 
buffering for the next block is not  performed until the execution of the block is 
completed. 
 

NOTE 

 

M00, M01, M02, and M30 are M codes that do not perform 
buffering, regardless of parameter setting. 

 

M98, M99, M codes for calling subprograms, and M codes for 
calling custom macros are M codes that performs buffering, 
regardless of parameter setting. 

 

3436 

 

Range specification 1 of second auxiliary function codes that do not perform buffering (lower limit) 

 

3437 

 

Range specification 1 of second auxiliary function codes that do not perform buffering (upper limit) 

 

3438 

 

Range specification 2 of second auxiliary function codes that do not perform buffering (lower limit) 

 

3439 

 

Range specification 2 of second auxiliary function codes that do not perform buffering (upper limit) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  1 to 99999999 

Set the upper limit and lower limit of a series of second auxiliary function codes that do 
not perform buffering. 
These parameters are invalid if the setting of an upper limit conflicts with the setting of a 
lower limit. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3450 

 

BDX 

 

 

 

 

 

 

AUP 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  AUP

  The second auxiliary function specified in the calculator-type decimal point input format, 

with a decimal point, or with a negative value is: 
0: 

Disabled. 

1: 

Enabled. 

If the second auxiliary function is specified after setting this bit to 0,  the following 
operation results: 
1. 

When a value is specified without a decimal point 

 

A specified value is output onto the code signal without modification, regardless of 
the setting of the calculator-type  decimal point input format (with bit 0 (DPI) of 
parameter No. 3401). 

2. 

When a value is specified with a decimal point 

 

The alarm PS0007, “ILLEGAL USE OF DECIMAL POINT” is issued. 

3. 

When a negative value is specified 

 

The alarm PS0006, “ILLEGAL USE OF MINUS SIGN” is issued. 

 

 

#7  BDX

  When ASCII code is called using the same address as the address for the second auxiliary 

function (specified by parameter No. 3460), this  parameter prevents the difference 
between the argument unit used when the  second auxiliary function is enabled (bit 2 
(BCD) of parameter No.8132 is 1)  and the unit  when the function is disabled (bit 2 
(BCD) of parameter Np.8132 is 0). 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1436 - 

0: 

When bit 0 (AUP) of parameter No. 3450 is set to 1, the  argument unit differs, 
depending on whether the second auxiliary function is enabled or disabled. 

1: 

The same argument unit is used. (The unit applied when the second auxiliary 
function is enabled is used.) 

 

3460 

 

Second auxiliary function specification address 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  65to67, 85to87 

Specify which of A, B, C, U, V, and W is to be used as the address for  specifying the 
second auxiliary function. If an address used as an  axis name is specified, the second 
auxiliary function is disabled. 
 

Name 

Setting value 

65 

66 

67 

85 

86 

87 

Address B is assumed when a value other than the above is set. 
However, the name U, V, or W can be used with the T series only when G code system B 
or C is used. When a value from 85 to 87 is  specified with G code system A, the 
specification address for the second auxiliary function is B. 
 

11290 

 

M code preventing buffering      11 

 

11291 

 

M code preventing buffering      12 

 

11292 

 

M code preventing buffering      13 

to 

 

to 

11299 

 

M code preventing buffering      20 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

[Valid data range]  0 to 99999999 

Set M codes that prevent buffering the following blocks. If processing directed by an M 
code must be performed by the  machine without buffering the following block, specify 
the M code. 
M00, M01, M02, and M30 always prevent buffering even when they are not specified in 
these parameters. 
 

Note 

NOTE 

1  When a move command and auxiliary function are specified in the same block, 

the commands are executed in one of the following two ways: 
(1) Simultaneous execution of the move command and auxiliary function 

commands. 

(2) Executing auxiliary function commands upon completion of move command 

execution.   

 

The selection of either sequence depends on the sequence of PMC. 

2  When the 2nd auxiliary function is provided, the address used for specifying the 

2nd auxiliary function (B or the address specified with parameter No. 3460) 
cannot be used as an axis address. 

3  The block following M00, M01, M02 and M30, is not read into the input buffer 

register, if present. Similarly, ten M codes which do not buffer can be set by 
parameters Nos. 3411 to 3420 and 11290 to 11299. 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1437 - 

NOTE 

4  For M00 and M01, auxiliary function code signal, auxiliary function strobe signal, 

and M decode signals are only sent; the control of program stop and optional 
stop shall be designed on the PMC side.   

5  When the automatic operation is stopped by M02 or M30, it is necessary to send 

the external reset signal from the machine side to the CNC, instead of the FIN 
signal. When the external reset signal is returned against the M02 or M30, the 
control returns to the top of the program recently executed, and enters the reset 
state. When the FIN signal is returned, the control returns to the beginning of the 
program recently executed, and executes it from the top. 

6  In programmable data entry (G10)/programmable parameter entry (G10/G11) 

command blocks and modes, auxiliary function code (M, S, T, and B) commands 
are disabled. If a specified code is not in the G10 command format, alarm 
PS1144, "G10 FORMAT ERROR", is issued. 

 

Alarm and message 

Number 

Message 

Description 

PS0003 

TOO MANY DIGIT 

Data entered with more digits than permitted in the NC 
instruction word. 
The number of permissible digits varies according to the 
function and the word. 

PS0006 

ILLEGAL USE OF MINUS SIGN 

A minus sign (–) was specified at an NC instruction word or 
system variable where no minus signal may be specified. 

PS0007 

ILLEGAL USE OF DECIMAL POINT 

A decimal point (.) was specified at an address where no 
decimal point may be specified, or two decimal points were 
specified. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Auxiliary function (M code) 
2nd auxiliary function (B code) 

 

9.2 

AUXILIARY FUNCTION LOCK 

Overview 

Inhibits execution of a specified M, S, T and B function. That is, code signals and strobe signals are not 
issued. This function is used to check a program with machine lock.   
 

Signal 

Auxiliary function lock signal AFL<Gn005.6> 

  [Classification]  Input signal 
 

[Function]  This signal selects auxiliary function lock. That is, this signal disables the execution of 

specified M, S, T, and B functions. 

 

[Operation]  When this signal turns to “1”, the control unit functions as described below. 

(1)  The control unit does not execute M, S, T, and B functions specified for memory 

operation, DNC operation, or MDI operation. That is, the control unit stops the 
output of code signals and strobe signals (MF, SF, TF, BF). 

(2)  If this signal turns to “1” after code signal output, the output operation is executed in 

the ordinary manner until its completion (that is, until the FIN signal is received, and 
the strobe signal turns to “0”). 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1438 - 

(3)  Among the auxiliary functions, M00, M01, M02, and M30 are executed even when 

this signal is “1”. All code signals, strobe signals, decode signals are output in the 
ordinary manner. 

(4)  Among the auxiliary functions, even when this signal is “1”, those functions (M98 

and M99) that are executed in the control unit without outputting their execution 
results are executed in the ordinary manner.   

 

  CAUTION 

 

Even when this signal is “1”, spindle analog output or spindle serial 
output is executed. 

 

Auxiliary function lock check signal MAFL<Fn004.4> 

  [Classification]  Output signal 
 

[Function]  This signal reports the state of the auxiliary function lock signal AFL. 

 

[Output cond.]  This signal turns to “1” when: 

The auxiliary function lock signal AFL is “1” 

This signal turns to 0 when:   

The auxiliary function lock signal AFL is “0” 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn005 

 

 

AFL 

 

 

 

 

 

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn004 

 

 

 

 

MAFL 

 

 

 

 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Machine lock and auxiliary function lock 

 

9.3 

MULTIPLE M COMMANDS IN A SINGLE BLOCK 

Overview 

So far, one block has been able to contain only one M code. However, this function allows up to three M 
codes to be contained in one block, when bit 7(M3B) of parameter No. 3404 is set to 1. And, Up to five 
M codes can be specified in a block, when bit 5(M5B) of parameter No. 11630 is set to 1. 
Up to five M codes specified in a block are simultaneously output to the machine (PMC). This means that 
compared with the conventional method of a single M command in a single block, a shorter cycle time 
can be realized in machining. 
 
(Example) 

One M command in a single    block 

Multiple M commands in a single block 

M40; 
M50; 
M60; 
M70; 
M80; 

G28G91X0Y0Z0; 

M40M50M60 M70M80; 

G28G91X0Y0Z0; 





 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1439 - 

Explanation 

Basic procedure 

(1)  Assume that "MaaMbbMccMddMee;" was commanded by the program. 
(2)  The 1st M command (Maa) sends the code signals M00 to M31 in a manner similar to the 

conventional one-block single command. The strobe signal MF is set to “1” after a time TMF set by 
parameter No. 3010 (Standard setting: 16 msec). 

 

The second M command (Mbb) sends the code signal M200-M231, the third M  command (Mcc) 
sends the code signal M300-M331, the forth M command (Mdd) sends the code signal M400-M431, 
the fifth M command (Mee) sends the code signal M500-M531, and their respective strobe signals 
MF2, MF3, MF4 and MF5 are set to “1”. 

 

Furthermore, the three code signals are sent simultaneously. 

 

The strobe signals MF, MF2, MF3, MF4 and MF5 become “1” at the same time. 

 

The code signal is a binary notation of the program command aa, bb and cc.   

(3)  On the PMC side, read  the code signals corresponding to the respective strobe signals  when the 

strobe signals become “1”, and perform the appropriate operations. 

(4)  When the operation of all M commands ends on the PMC side, the end signal (FIN) is set to “1”. 
(5)  When the completion signal stays “1” for a time (TFIN) set by parameter No. 3011 (Standard: 16 

msec), all strobe signals (MF, MF2,  MF3, MF4  and MF5) are set to “0” at the same time and the 
reception of completion signal is reported. 

(6)  On the PMC side, when MF, MF2, MF3, MF4 and MF5 are set to “0”, the completion signal is set to 

“0”. 

 
A time chart for this procedure is shown below (Fig. 9.3): 

 
 

TFIN

 

TMF

 

M command (MaaMbbMccMddMee;) 
Code signals 

M00 to M31 

Strobe signal 

MF 

PMC side operation 

 

Code signals 

M200 to M231 

Strobe signal 

MF2 

PMC side operation 

 

Code signals 

M300 to M331 

Strobe signal 

MF3 

PMC side operation 

 

Code signals 

M400 to M431 

Strobe signal 

MF4 

PMC side operation 

 

Code signals 

M500 to M531 

Strobe signal 

MF5 

PMC side operation 

 

End signal FIN 

 

 

Fig. 9.3   

 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1440 - 

M code preventing buffering 

Usually in multiple M commands in a single block, the second M command to the fifth M command 
cannot be set as M code preventing buffering. By setting bit 0 (MMB) of parameter No. 11658 to 1, the 
second M command to the fifth M command can be set as M code preventing buffering by any of the 
following parameters. 

 

Parameters Nos. 3411 to 3420 

 

Parameters Nos. 3421 to 3432 

 

Parameters Nos. 11290 to 11299 

 

Signal 

2nd, 3rd, 4th, 5th M function code signals   

When three M code in a single block is effective

bit 7(M3B) of parameter No. 3404 is set to 1

 

 

M200 to M215<Fn014 to Fn015>,M300 to M315<Fn016 to Fn017> 

When five M code in a single block is effective

bit 5(M5B) of parameter No. 11630 is set to 1

 

M200 to M231<Fn014 to Fn017>, M300 to M331<Fn564 to Fn567> 
M400 to M431<Fn568 to Fn571>, M500 to M531<Fn572 to Fn575> 

2nd, 3rd, 4th, 5th M Function strobe signals   

 

MF2 <Fn008.4>,MF3<Fn008.5>,MF4<Fn008.6>,MF5<Fn008.7> 

  [Classification]  Output signal 
 

[Function]  Indicates that second, third, forth and fifth auxiliary functions have been issued. 

 

[Output cond.]  For the output conditions and procedure, see the description of “Basic Procedure” above. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn008 

 

MF5 

MF4 

MF3 

MF2 

 

 

 

 

 

Fn014 

 

M207 

M206 

M205 

M204 

M203 

M202 

M201 

M200 

 

Fn015 

 

M215 

M214 

M213 

M212 

M211 

M210 

M209 

M208 

 

When three M code in a single block is effective

bit 7(M3B) of parameter No. 3404 is set to 1

 

Fn016 

 

M307 

M306 

M305 

M304 

M303 

M302 

M301 

M300 

 

Fn017 

 

M315 

M314 

M313 

M312 

M311 

M310 

M309 

M308 

 

When five M code in a single block is effective

bit 5(M5B) of parameter No. 11630 is set to 1

 

Fn016 

 

M223 

M222 

M221 

M220 

M219 

M218 

M217 

M216 

 

Fn017 

 

M231 

M230 

M229 

M228 

M227 

M226 

M225 

M224 

 

Fn564 

 

M307 

M306 

M305 

M304 

M303 

M302 

M301 

M300 

 

Fn565 

 

M315 

M314 

M313 

M312 

M311 

M310 

M309 

M308 

 

Fn566 

 

M323 

M322 

M321 

M320 

M319 

M318 

M317 

M316 

 

Fn567 

 

M331 

M330 

M329 

M328 

M327 

M326 

M325 

M324 

 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1441 - 

Fn568 

 

M407 

M406 

M405 

M404 

M403 

M402 

M401 

M400 

 

Fn569 

 

M415 

M414 

M413 

M412 

M411 

M410 

M409 

M408 

 

Fn570 

 

M423 

M422 

M421 

M420 

M419 

M418 

M417 

M416 

 

Fn571 

 

M431 

M430 

M429 

M428 

M427 

M426 

M425 

M424 

 

Fn572 

 

M507 

M506 

M505 

M504 

M503 

M502 

M501 

M500 

 

Fn573 

 

M515 

M514 

M513 

M512 

M511 

M510 

M509 

M508 

 

Fn574 

 

M523 

M522 

M521 

M520 

M519 

M518 

M517 

M516 

 

Fn575 

 

M531 

M530 

M529 

M528 

M527 

M526 

M525 

M524 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3404 

 

M3B 

 

 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#7  M3B

  The number of M codes that can be specified in one block   

0: 

One 

1: 

Up to three 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11630 

 

 

 

M5B 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#5  M5B

  The number of M codes that can be specified in one block   

0: 

One ( up to three when bit 7(M3B) of parameter No. 3404 is set to 1)   

1: 

Up to five 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11658 

 

 

 

 

 

 

 

 

MMB 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  MMB

  In multiple M commands in a single block, if any of the second M command to the fifth 

M command is specified by any of parameters Nos. 3411 to 3420, parameters Nos. 3421 
to 3432 or parameters Nos. 11290 to 11299, the M command is: 
0: 

Not recognized as M code preventing buffering 

1: 

Recognized as M code preventing buffering 

 

  CAUTION

 

1  Regardless of setting of bit 0 (MMB) of parameter No. 11658, the 

first command in multiple commands in a single block can be set as 
M code preventing buffering. 

 

 

 

 

 

 

 

Content      ..     183      184      185      186     ..