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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     182      183      184      185     ..

 

 

 

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

 

 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1426 - 

2. 

When a command with a decimal point or a negative command is enabled 

 

(When bit 0 (AUP) of parameter No. 3450 is set to 1) 

 
 

When the desktop calculator decimal point setting is not specified (when bit 0 (DPI) of parameter 
No. 3401 is set to 0), if the second auxiliary function with no decimal point is specified, the 
specified value is output on the code signals as is. 

 

Example: 

 

Specified value 

Output value 

 

B10   

  

10 

 
 

When desktop calculator decimal point input is specified (when bit 0 (DPI) of parameter No. 3401 is 
set to 1), if the second auxiliary function with no decimal point is specified, the specified value 
multiplied by a magnification is output on the code signals. (Magnifications are shown in Table 9.1 
(a).) 

 

Example: 

 

Specified value 

Output value 

 

B10   

 

10000 

(When metric input is used and the reference axis is IS-B. The 

magnification is 1000.) 

 
 

When the second auxiliary function with a decimal point is specified, the specified value multiplied 
by a magnification is output to the code signals. (Magnifications are shown in Table 9.1 (a).) 

 

Example: 

 

Specified value 

Output value 

 

B10.  

 

10000 

(When metric input is used and the reference axis is IS-B. The 

magnification is 1000.) 

 

B0.123 

 

1230 

(When inch input is used, the reference axis is IS-B, and parameter 

AUX is set to 1. The magnification is 10000.) 

 
 

The magnification is determined as shown below (Table 9.1 (a)) according to the setting unit of the 
reference axis (specified by parameter No. 1031) and bit 0 (AUX) of parameter No. 3405. 

 

Table 9.1 (a) Magnifications for an output value when the second auxiliary function with a decimal point is 

specified for desktop calculator decimal point input 

Setting unit 

Parameter 

AUX = 0 

Parameter 

AUX = 1 

Metric input system 

Reference axis: IS-A 

100

×

 

100

×

 

Reference axis: IS-B 

1000

×

 

1000

×

 

Reference axis: IS-C 

10000

×

 

10000

×

 

Inch input system 

Reference axis: IS-A 

100

×

 

1000

×

 

Reference axis: IS-B 

1000

×

 

10000

×

 

Reference axis: IS-C 

10000

×

 

100000

×

 

 

  CAUTION 

 

If a decimal fraction remains after multiplying the specified value with a decimal 
point by a magnitude in Table 9.1 (a), the fraction is truncated. 

 

Example: 

Specified value  Output value 
B0.12345 

1234 (When inch input is used, the reference axis is IS-B, and 
parameter AUX is set to 1. The magnification is 10000.) 

 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1427 - 

NOTE 

 

If the number of digits of the specified value exceeds the allowable number of 
digits (set by parameter No. 3033), alarm PS0003 is issued. 

 

When the specified value is multiplied by a magnitude in Table 9.1 (a), the 
allowable number of digits must be set for the resultant value.   

 

Basic procedure 

The following signals (Table  9.1  (b))  are used with these functions. (For details of the spindle-speed 
function and tool function, see Chapters “SPINDLE SPEED FUNCTION” and “TOOL FUNCTION”.) 
 

Table 9.1 (b) 

Function

 

Program 

address

 

Output signal 

Input signal 

Code signal  Strobe signal  Distribution end signal  Completion signal 

Auxiliary function 

M00 to M31 

MF 

DEN 

FIN 

Spindle speed 
function 

S00 to S31 

SF 

 

 

Tool function 

T00 to T31 

TF 

 

 

2nd auxiliary function 

B00 to B31 

BF 

 

 

 
Each function uses different program addresses and different signals, but they all input and output signals 
in the same way, as described below. (A sample procedure for the auxiliary function is described below. 
The procedures for the spindle  speed  function, tool function, and 2nd auxiliary function, are obtained 
simply by substituting S, T, or B in place of M.) 
 
<1>  Suppose that Mxxx is specified in a program. 

For xxx, the number of specifiable digits is specified in parameters  Nos. 3030 to 3033 for each 
function. If a specified value exceeds the maximum digits, an alarm may be issued. 

<2>  Code signal M00 to M31 is sent to machine interface. After period TMF, specified in parameter No. 

3010 (standard value: 16 msec), the strobe signal MF is set to 1. The code signal is the binary 
representation of the programmed value xxx.(*1) If a move, dwell, spindle, or other function is 
specified in the same block as the auxiliary function, the execution of the other function is started 
when the code signal of the auxiliary function is sent. 

<3>  When the strobe signal is set to 1, read the code signal and perform the corresponding operation on 

the PMC side. 

<4>  To execute an operation after the completion of the move, dwell or other function specified in the 

block, wait until distribution end signal DEN is set to 1. 

<5>  Upon completion of the operation, set completion signal FIN to 1 on the PMC side. The completion 

signal is used by the auxiliary function, spindle function, tool function, 2nd auxiliary function, 
external operation function described later, and other functions. If any of these functions are 
executed simultaneously, the completion signal must be set to 1 upon completion of all the 
functions. 

<6>  If the completion signal remains set to 1 for longer than period TFIN, specified in parameter No. 

3011 (standard value: 16 msec), the CNC sets the strobe signal to 0 and reports that the completion 
signal has been received. 

<7>  When the strobe signal is set to 0, set the completion signal to 0 in the PMC. 
<8>  When the completion signal is set to 0, the CNC sets all code signals to 0 and completes all 

sequences of the auxiliary function.(*2) 

<9>  Once all other commands in the same block have been completed, the CNC executes the next block. 

(*1)  When the tool function is executed, the programmed tool number is sent as the code signal 

(lathe series). 

(*2)  When the spindle-speed function, tool function, or 2nd auxiliary function is executed, the code 

signal is maintained until a new code for the corresponding function is specified. 

The timing diagram is shown below (Fig. 9.1 ): 
 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1428 - 

Example 1    Single auxiliary function specified in a block 

 

<1><2> <3>                  <5>      <6>    <7><8><9> 

 

(*2) 

 

TMF 

 

TFIN 

 

M command (independent) 

Mxxx 

Code signals 

 

M00 to M31 

Strobe signals 

 

MF 

PMC side action 

End signal  

 

FIN 

Distribution end signals 

DEN 

 

Fig. 9.1   

 

Example 2    Move command and auxiliary function in the same block 
  a) Execution of a auxiliary function without waiting for move command 

completion 

 

<1><2> <3>                   <5>     <6>   <7><8>  <9> 

 

(*2) 

 

TMF 

 

TFIN 

 

M command 

Mxxx 

Move command 

Code signals 

M00 to M31 

Strobe signal 

MF 

PMC side action 

End signal 

FIN 

Distribution end signal  DEN 

 

 

  b) Execution of a auxiliary function after move command completion 

<1> <2>  <3>         <4>          <5>    <6><7><8> <9>

(*2)

TMF

TFIN

M command

Mxx

Move command

Code signals

M00 to M31

Strobe signal

MF

PMC side action

End signal

FIN

Distribution end signals DEN

 

 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1429 - 

Signal 

End signal FIN<Gn004.3> 

  [Classification]  Input signal 
 

[Function]  This signal reports the completion of a auxiliary function, spindle function, tool function, 

2nd auxiliary function, or external operation function.   

 

[Operation]  For the control unit operation and procedure when this signal goes “1”, see the 

description of "Basic procedure" above. 
The FIN signal must remain “1” for a certain time (TFIN, which is set by a parameter No. 
3011) or longer. The FIN signal driven “1” is ignored if the FIN signal goes “0” before 
TFIN elapses.   

 

  CAUTION 

 

Only one end signal is used for all functions above. The end signal 
must go “1” after all functions are completed. 

 

2nd auxiliary function end signal BFIN<Gn005.7> 

  [Classification]  Input signal 
 

[Function]  This signal reports the completion of a 2nd auxiliary function using the high-speed 

M/S/T/B interface. 

 

[Operation]  For the control unit operation and procedure when this signal goes “1”, see the 

description of "Basic procedure" above. 

 

Distribution end signal DEN<Fn001.3> 

  [Classification]  Output signal 
 

[Function]  These signals report that all commands (such as move commands and dwell) are 

completed except those auxiliary functions, spindle functions, 2nd auxiliary functions 
tool functions, and so forth that are contained in the same block and have been sent to the 
PMC. They also report that the end signal from the PMC is being awaited. 

 

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

Waiting for the completion of auxiliary functions, spindle functions, tool functions, 
and  2nd auxiliary functions,  and all other commands in the same block are 
completed, and the current position is in the in-position.   

The DEN signal turns to “0” when: 

The execution of one block is completed 

 

NOTE 

1  Bit 5 (NCI) of parameter No. 1601 can specify, whether to only 

check if an acceleration/deceleration delay is eliminated, or to 
also check if a servo delay (error) has been reduced to within a 
certain range. 

2  When the high-speed MSTB interface is used, the distribution end 

signal DEN may be set to “0” when the execution of one block is 
completed. To do this, set bit 2 (CHM) of parameter No. 3002 to 
1. 

 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1430 - 

Decode M signals 

DM00<Fn009.7>,DM01<Fn009.6>,DM02<Fn009.5>,DM30<Fn009.4> 

  [Classification]  Output signal 
 

[Function]  These signals report particular auxiliary functions are specified. The auxiliary functions 

in a command program correspond to output signals as indicated below. 

 

Command program 

Output signal 

M00 
M01 
M02 
M30 

DM00 
DM01 
DM02 
DM30 

 

 

[Output cond.]  A decode M signal goes “1” when: 

The corresponding auxiliary  function is specified, and any move commands and 
dwell commands specified in the same block are completed. These signals are not 
output when the end signal of the auxiliary function is returned before completion of 
such move commands and dwell commands. 

A decode M signal goes “0” when: 

The FIN signal goes “1” 

Reset occurs 

 

Auxiliary function code signals M00 to M31<Fn010 to Fn013> 
Auxiliary function strobe signal MF<Fn007.0> 

  [Classification]  Output signal 
 

[Function]  These signals report the specification of auxiliary functions. 

 

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

 

NOTE 

1  The following auxiliary functions are only processed internally by 

the control unit; they are not output to the PMC when programmed: 

-  M98, M99, M198 
-  M code that calls a sub program (parameters Nos. 6071 to 

6079) 

-  M code that calls a custom macro (parameters Nos. 6080 to 

6089) 

2  Decode signals as well as the code signals and strobe signal are 

output for the auxiliary functions listed below. 
M00, M01, M02, M30 

 

Spindle function code signals S00 to S31<Fn022 to Fn025> 
Spindle function strobe signal SF<Fn007.2> 

  [Classification]  Output signal 
 

[Function]  These signals report that spindle functions have been specified. 

 

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

 

Tool function code signals T00 to T31<Fn026 to Fn029> 
Tool function strobe signal TF<Fn007.3> 

  [Classification]  Output signal 
 

[Function]  These signals report that tool functions have been specified. 

 

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

 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1431 - 

2nd auxiliary function code signals B00 to B31<Fn030 to Fn033> 
2nd auxiliary function strobe signal  BF<Fn007.7> 

  [Classification]  Output signal 
 

[Function]  These signals report that second auxiliary functions have been specified. 

 

[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 

Gn004 

 

 

 

 

 

FIN 

 

 

 

 

Gn005 

 

BFIN 

 

 

 

 

 

 

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn001 

 

 

 

 

 

DEN 

 

 

 

 

Fn007 

 

BF 

 

 

 

TF 

SF 

 

MF 

 

Fn009 

 

DM00 

DM01 

DM02 

DM30 

 

 

 

 

 

Fn010 

 

M07 

M06 

M05 

M04 

M03 

M02 

M01 

M00 

 

Fn011 

 

M15 

M14 

M13 

M12 

M11 

M10 

M09 

M08 

 

Fn012 

 

M23 

M22 

M21 

M20 

M19 

M18 

M17 

M16 

 

Fn013 

 

M31 

M30 

M29 

M28 

M27 

M26 

M25 

M24 

 

Fn022 

 

S07 

S06 

S05 

S04 

S03 

S02 

S01 

S00 

 

Fn023 

 

S15 

S14 

S13 

S12 

S11 

S10 

S09 

S08 

 

Fn024 

 

S23 

S22 

S21 

S20 

S19 

S18 

S17 

S16 

 

Fn025 

 

S31 

S30 

S29 

S28 

S27 

S26 

S25 

S24 

 

Fn026 

 

T07 

T06 

T05 

T04 

T03 

T02 

T01 

T00 

 

Fn027 

 

T15 

T14 

T13 

T12 

T11 

T10 

T09 

T08 

 

Fn028 

 

T23 

T22 

T21 

T20 

T19 

T18 

T17 

T16 

 

Fn029 

 

T31 

T30 

T29 

T28 

T27 

T26 

T25 

T24 

 

Fn030 

 

B07 

B06 

B05 

B04 

B03 

B02 

B01 

B00 

 

Fn031 

 

B15 

B14 

B13 

B12 

B11 

B10 

B09 

B08 

 

Fn032 

 

B23 

B22 

B21 

B20 

B19 

B18 

B17 

B16 

 

Fn033 

 

B31 

B30 

B29 

B28 

B27 

B26 

B25 

B24 

 

Parameter 

3010 

 

Time lag in strobe signals MF, SF, TF, and BF 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

 

[Unit of data]  msec 

[Valid data range]  0 to 32767 

The time required to send strobe signals MF,  SF,  TF,  and  BF after the M, S, T, and B 
codes are sent, respectively. 

9. AUXILIARY FUNCTION

 

 

B-64693EN-1/01 

- 1432 - 

 

M, S, T, B code

 

MF, SF, TF, BF signal

 

Delay time

 

 

 

NOTE 

 

The time is counted in units of 8ms. If the set value is not a multiple 
of eight, it is raised to the next multiple of eight 

 

Example 

 

 

When 30 is set, 32 ms is assumed. 

 

 

When 0 is set, 8ms is assumed. 

 

3011 

 

Acceptable width of M, S, T, and B function completion signal (FIN) 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

 

[Unit of data]  msec 

[Valid data range]  0 to 32767 

Set the minimum signal width of the valid M, S, T, and B function completion signal 
(FIN). 

 

M, S, T, B code

 

MF, SF, TF, BF signal

 

FIN sigal

 

Ignored because shorter 
than min. signal width

 

Valid because longer 
than min. signal width 

 

 

NOTE 

 

The time is counted in units of 8ms. If the set value is not a multiple 
of eight, it is raised to the next multiple of eight 

 

Example 

 

 

When 30 is set, 32 ms is assumed. 

 

 

When 0 is set, 8ms is assumed. 

 

3030 

 

Allowable number of digits for the M code 

 

3031 

 

Allowable number of digits for the S code 

 

3032 

 

Allowable number of digits for the T code 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  1 to 8 

Set the allowable numbers of digits for the M, S, and T codes. 
When 0 is set, the allowable number of digits is assumed to be 8. 
 

B-64693EN-1/01

 

 

9. AUXILIARY FUNCTION

 

- 1433 - 

3033 

 

Allowable number of digits for the B code (second auxiliary function) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte path 

[Valid data range]  1 to 8 

Set the allowable number of digits for the second auxiliary function. 
When 0 is set, the allowable number of digits is assumed to be 8. 
To enable a decimal point to be specified, bit 0 (AUP) of parameter No. 3450 must be set 
to 1. In this case, the allowable number of digits set in this parameter includes the number 
of decimal places. 
If a value exceeding the allowable number of digits is specified, the alarm PS0003 is 
issued. 
 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3401 

 

 

 

 

 

 

 

 

DPI 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  DPI

  When a decimal point is omitted in an address that can include a decimal point 

0: 

The least input increment is assumed. (Normal decimal point input) 

1: 

The unit of mm, inches, degree, or second is assumed. (Pocket  calculator type 
decimal point input) 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3404 

 

 

 

M02 

M30 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#4  M30

  When M30 is specified in a memory operation: 

0: 

M30 is sent to the machine, and the head of the program is automatically searched 
for. So, when the ready signal FIN is  returned and a reset or reset and rewind 
operation is not performed, the program is executed, starting from the beginning. 

1: 

M30 is sent to the machine, but the head of the program is not  searched for. (The 
head of the program is searched for by the reset and rewind signal.) 

 

 

#5  M02

  When M02 is specified in memory operation: 

0: 

M02 is sent to the machine, and the head of the program is automatically searched 
for. So, when the end signal FIN is  returned and a reset or reset and rewind 
operation is not performed, the program is executed, starting from the beginning. 

1: 

M02 is sent to the machine, but the head of the program is not  searched for. (The 
head of the program is searched for by the reset and rewind signal.) 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3405 

 

 

 

 

 

 

 

 

AUX 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#0  AUX

  When the second auxiliary function is specified in the calculator-type decimal point input 

format or with a decimal point, the multiplication factor for a value output (onto the code 
signal) relative to a specified value is such that: 

 

 

 

 

 

 

 

Content      ..     182      183      184      185     ..