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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     309      310      311      312     ..

 

 

 

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

 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2442 - 

6251 

 

g

 value on the X axis during automatic tool compensation (T series) 

 

g

 value during automatic tool length measurement (M series) (for the XAE1 and GAE1 signals) 

 

6252 

 

g

 value on the Z axis during automatic tool compensation (T series) 

 

g

 value during automatic tool length measurement (M series) (for the XAE2 and GAE2 signals) 

 

6253 

 

 

 

g

 value during automatic tool length measurement (M series) (for the XAE3 and GAE3 signals) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

 

[Unit of data]  mm, inch, deg (machine unit) 

[Min. unit of data]  Depend on the increment system of the applied axis 
[Valid data range]  9 digit of minimum unit of data (refer to standard parameter setting table (A))   

(When the increment system is IS-B, -999999.999 to +999999.999) 
These parameters set the relevant 

g

 value during automatic tool compensation (T series) 

or automatic tool length measurement (M series). 
 

NOTE 

 

When the Reference axis (parameter No.1031) is Diameter 
specification, specify the diameter value. When the Reference axis 
(parameter No.1031) is Radius specification, specify the radius 
value. 

 

6254 

 

e

 value on the X axis during automatic tool compensation (T series) 

 

e

 value during automatic tool length measurement (M series) (for the XAE1 and GAE1 signals) 

 

6255 

 

e

 value on the Z axis during automatic tool compensation (T series) 

 

e

 value during automatic tool length measurement (M series) (for the XAE2 and GAE2 signals) 

 

6256 

 

 

 

e

 value during automatic tool length measurement (M series) (for the XAE3 and GAE3 signals) 

 

 

[Input type]  Parameter input 

 

[Data type]  2-word path 

 

[Unit of data]  mm, inch, deg (machine unit) 

[Min. unit of data]  Depend on the increment system of the applied axis 
[Valid data range]  9 digit of minimum unit of data (refer to standard parameter setting table (A))   

(When the increment system is IS-B, -999999.999 to +999999.999) 
These parameters set the relevant 

e

 value during automatic tool compensation (T series) 

or automatic tool length measurement (M series). 
 

NOTE 

 

When the Reference axis (parameter No.1031) is Diameter 
specification, specify the diameter value. When the Reference axis 
(parameter No.1031) is Radius specification, specify the radius 
value. 

 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2443 - 

Alarm and message 

Number 

Message 

Description 

PS0080 

G37 MEASURING POSITION 
REACHED SIGNAL IS NOT 
PROPERLY INPUT 

For machining center series 

 

When the tool length measurement function (G37) is 
performed, a measuring position reached signal goes 1 in 
front of the area determined by the 

e

 value specified in 

parameter No.6254. Alternatively, the signal does not go 
1. 

For lathe 

 

When the automatic tool compensation function (G36, 
G37) is used, a measuring position reached signals 
(XAE1, XAE2) does not go 1 within the range determined 
by the 

e

 value specified in parameters Nos.6254 and 

6255. 

PS0081 

G37 OFFSET NO. UNASSIGNED 

For machining center series 

 

The tool length measurement function (G37) is specified 
without specifying an H code. 

 

Correct the program. 

For lathe 

 

The automatic tool compensation function (G36, G37) is 
specified without specifying an T code. 

 

Correct the program. 

PS0082 

G37 SPECIFIED WITH H CODE 

For machining center series 

 

The tool length measurement function (G37) is specified 
together with an H code in the same block. 

 

Correct the program. 

For lathe 

 

The automatic tool compensation function (G36, G37) is 
specified together with an T code in the same block. 

 

Correct the program. 

PS0083 

G37 IMPROPER AXIS COMMAND 

For machining center series 

 

An error has been found in axis specification of the tool 
length measurement function (G37). Alternatively, a move 
command is specified as an incremental command. 

 

Correct the program. 

For lathe 

 

An error has been found in axis specification of the 
automatic tool compensation function (G36, G37). 

 

Alternatively, a command is specified as an incremental 
command. 

 

Correct the program. 

 

Note 

NOTE 

1  If an H code and G37 are specified in the same block, an alarm will be raised. 

Specify an H code before a block including G37.   

2  A measurement speed (FP), 

g

, and 

e

 are specified as parameters (FP: No.6241, 

g

: No.6251, 

e

: No.6254) by the machine tool builder. As 

e

, specify a positive 

value satisfying the condition of 

g

 > 

e

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2444 - 

NOTE 

3  The compensation value is updated by the following formula: 

New compensation value =(Current compensation value)+[(Current position of 
the tool along the specified axis when the measuring position reached signal is 
1) - (specified measuring position)] 

 

The following compensation values are updated: 
(1) In an M series, the compensation value corresponding to the tool 

compensation number selected by an H code. 

 

When offset memory A is used, the offset value is changed. 

 

When offset memory B is used, the tool wear compensation value is 
changed. 

 

When offset memory C is used, the tool wear compensation value for the H 
code is changed. 

(2) In a T series, the compensation value corresponding to the tool 

compensation number selected by a T code and to the specified axis (X, Z) in 
G36, G37. 

4  A delay or variation in detecting a measuring position reached signal is 0 to 2 ms 

just on the CNC side, excluding the PMC side. Accordingly, the measurement 
error is the sum of 2 ms and a delay or variation in transferring a measuring 
position reached signal on the PMC side (including receiver delay or variation), 
multiplied by the feedrate specified in parameter No. 6241. 

5  A delay or variation after the detection of a measuring position reached signal 

until feed stop is 0 to 8 ms. When an overshoot is calculated, an 
acceleration/deceleration delay, servo delay, PMC delay must also be 
considered. 

6  A measuring position reached signal is monitored just as a state not by the rising 

edge. Accordingly, if a measuring position reached signal is held to 1 and if the 
corresponding tool length measurement function (G37) is specified, the CNC will 
raise alarm PS0080 when a movement is made to a position at a distance of 

g

, in 

front of the measuring position. 

7   When using this function, set the parameter EVO (bit 6 of parameter No. 5001) 

to zero. (If the tool compensation value of tool length compensation A or B is 
changed in the offset mode (G43 or G44), the new value becomes effective from 
a subsequent block including G43, G44, or an H code.) 

 

Reference item 

Manual name 

Item name 

DESCRIPTIONS (B-64692EN) 

Automatic tool length measurement 
Automatic tool offset 

OPERATOR’S MANUAL (Lathe system) (B-64694EN-1) 

Automatic tool offset (G36,G37) 

OPERATOR’S MANUAL (Machining center system) (B-64694EN-2)  Automatic tool length measurement (G37) 

 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2445 - 

15.3 

SKIP FUNCTION 

15.3.1 

Skip Function 

Overview 

Linear interpolation can be commanded by specifying axial move following the G31 command, like G01. 
If an external skip signal is input during the execution of this command, execution of the command is 
interrupted and the next block is executed. 
The skip function is used when the end of machining is not programmed but specified with a signal from 
the machine, for example, in grinding. It is used also for measuring the dimensions of a workpiece. 
 
The coordinates when the skip signal turned on are stored in the system variables (#100151 to #100182) 
for custom macros, so they can be used by custom macros. For a system with up to 20 axes, the system 
variables (#5061 to #5080) compatible with FS16 can also be used.   
 

#100151 (#5061) 

:  First axis coordinate value 

 

#100152 (#5062) 

:  Second axis coordinate value 

 

 

 

 

 

#100170 (#5080) 

:  20th axis coordinate value 

 
 

#100171   

:  21st axis coordinate value 

 

#100172   

:  22nd axis coordinate value 

 

 

 

 

 

#100182   

:  32nd axis coordinate value 

 

  - 

Feedrate 

Two types of feedrate can be selected for the G31 block, using bit 1 (SFP) of parameter No.6207. 
(1)  If bit 1 (SFP) of parameter No.6207 is 0 
 

Feedrate specified with address F (may be specified before or in the G31 block). 

(2)  If bit 1 (SFP) of parameter No.6207 is 1 
 

Feedrate set for parameter No.6281. 

 

Even if bit 7 (SKF) of parameter No.6200 is set to 1, dry run and automatic acceleration/deceleration 
are disabled when a feedrate with the G31 command is the feedrate which is set for parameter 
No.6821. 

 

  CAUTION 

 

To increase the precision of the tool position when the skip signal is input, 
feedrate override, dry run, and automatic acceleration/deceleration are disabled 
in moving by the skip function regardless of the feedrate which is specified as a 
feed per minute or a feed per rotation. 
To enable these functions, set bit 7 (SKF) of parameter No.6200 to 1. 
However, even if bit 7 (SKF) of parameter No.6200 is set to 1, dry run and 
automatic acceleration/deceleration are disabled when bit 1 (SFP) of parameter 
No.6207 is set to 1. 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2446 - 

  - 

Acc./Dec. after interpolation of the skip function 

To enable the Acc./Dec. after cutting feed interpolation of the skip function, set bit 7 (SKF) of parameter 
No. 6200 to 1. When SKF is 0, the Acc./Dec. after cutting feed interpolation of the skip function is 
disabled. 
If the Acc./Dec. type is set by bit 3 (ASL) of parameter No. 6210 and the time constant is set by bit 4 
(ASB) of parameter No. 6210 when SKF is 1, it is possible to set a separate Acc./Dec. type and time 
constant that are different from those of the normal Acc./Dec. after cutting feed interpolation. When ASB 
is 0 and ASL is 0, the normal Acc./Dec. after cutting feed interpolation is assumed.   
In this case, the Acc./Dec. type set by bit 0 (CTLx) of parameter No. 1610 and bit 1 (CTBx) of parameter 
No. 1610 and the time constant set by parameter No. 1622 are enabled.   

 

Skip signal 

In the skip function, skip signal which is valid is as follows. 
 

Table 15.3.1 (a) Whether the skip signals are enabled or disabled 

Parameter 

Bit 4 (IGX) of 

parameter No. 

6201 

Bit 0 (GSK) of 

parameter No. 

6200 

Bit 7 (SKPXE) of 

parameter 

No .6201 

Skip signal 

SKIPP 

Skip signal 

SKIP 

Setting 

Disabled 

Enabled 

Enabled 

Enabled 

Disabled 

Disabled 

Enabled 

Disabled 

Disabled 

Disabled 

Disabled 

Disabled 

Disabled 

Disabled 

Disabled 

Disabled 

 
Bit 4 (IGX) of parameter No. 6201 is valid for the skip function using high-speed skip signals (when bit 4 
(HSS) of parameter No. 6200 is set to 1) or for the multistage skip function using high-speed skip signals 
(when bit 5 (SLS) of parameter No. 6200 is set to 1). 
And, when bit 1 (SK0) of parameter No. 6200 is set to 1, Skip signal is valid when the skip signal SKIP is 
0.

 

 

Accumulated pulses and positional deviation due to acceleration/deceleration 

When bit 1 (SEB) of parameter No. 6201 is set to 1, the accumulated pulses and positional deviation due 
to acceleration/deceleration are considered and compensated.

 

 

Skip block signal 

Skip block signal SKPEXE<Fn537.3> becomes “1” while executing G31 block. 
 

Signal 

Skip Signals SKIP <X0004.7>, SKIPP <Gn006.6> 

  [Classification]  Input signal 
 

[Function]  This signal terminates skip cutting. That is, the position where a skip signal turns to 1 in a 

block containing G31 is stored in a custom macro variable, and the move command of the 
block is terminated at the same time.

 

 

[Operation]  When a skip signal turns to 1, the control unit works as described below. 

When a block contains a skip cutting command G31, the control unit reads and 
stores the current position of the specified axis at that time. The control unit stops 
the axis, then cancels the remaining distance that the block was supposed to be 
moved. 

 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2447 - 

NOTE 

1  The skip signal width requires at least 10 msec. 
2  The delay or variation on the CNC side (excluding the PMC side) in 

detecting the skip signal is 0 to 2 msec. Therefore, the 
measurement error is the sum of 2 msec and the delay or variation 
(including the delay or variation of the receiver) of the skip signal 
on the PMC side, multiplied by the feedrate. 

3  The delay or variation until feed stops after detection of the skip 

signal is 0 to 8 msec. To calculate the overshoot, further consider 
delay in acceleration/deceleration, delay in servo, delay on the 
PMC side. 

4  The CNC directly reads the skip signal SKIP <X0004.7> from the 

machine tool, the PMC is no longer requires to process the signal. 

5  If the skip function G31 is not used, the PMC can use the signal 

terminal SKIP <X0004.7> corresponding to the skip signal as a 
general purpose input signal. 

6  When the skip signal is monitored, the state rather than the rising 

edge is sampled. Therefore, when the level remains 1, the skip 
condition is assumed to be met immediately after skip cutting is 
specified next. 

7  Address <X0004>including skip signal SKIP <X0004.7> can be 

assigned to the X addresses that were set for parameters Nos. 
3012 and 3019 when bit 2 (XSG) of parameter No. 3008 is 1. 

8  When bit 2 (XSG) of parameter No. 3008 is 0, the address of the 

skip signal SKIP is <X0013.7> in case of the 2nd path and 
<X0011.7> in case of the 3rd path. 

9  When the Multi-step skip function is effective, the bit 0 (1S1) of 

parameter No.6202 must be set to 1. 

 

Skip Block Signal SKPEXE <Fn537.3> 

  [Classification]  Output signal 
 

[Function]  This signal indicates that G31 block is executing.

 

 

[Operation]  This signal 

becomes “1” while executing G31 block.

 

Other cases become “0”. 

 

NOTE 

 

When G31 block is stopped by the feed hold stop, this signal is “1”. 
Though this signal becomes “0” when the skip signal is input, this 
signal becomes “1” again when restarting from the feed hold stop. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

X0004 

 

SKIP 

 

 

 

 

 

 

 

 

X0011 

 

SKIP

#3

 

 

 

 

 

 

 

 

 

X0013 

 

SKIP

#2

 

 

 

 

 

 

 

 

 

Gn006 

 

 

SKIPP 

 

 

 

 

 

 

 

Fn537 

 

 

 

 

 

SKPEXE 

 

 

 

 

15. MEASUREMENT

 

B-64693EN-1/01

 

- 2448 - 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

3008 

 

 

 

 

 

 

XSG 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

#2  XSG

  A signal assigned to an X address is: 

0: 

Fixed at the address. 

1: 

Able to be reassigned to an arbitrary X address. 

 

NOTE 

 

When this parameter is set to 1, set parameters Nos. 3013, 3014, 
3012, and 3019. If parameters Nos. 3013 and 3014 are not set, the 
deceleration signal for reference position return is assigned to bit 0 
of <X0000>. If parameters Nos. 3012 and 3019 are not set, the 
skip signal, the PMC axis control skip signal, the measuring 
position reached signal, the interlock signal for each axis direction, 
and the tool compensation value write signal are assigned to 
<X0000>. 

 

  WARNING 

 

Please set an appropriate value to parameters ( Nos. 3013, 3014, 
3012, 3019 ) beforehand when you set 1 to this parameter. 
If an input signal of the set address in parameters ( Nos. 3013, 
3014, 3012, 3019 ) is used by another usage, it may cause an 
unexpected machine behavior. Be careful enough that you must 
prevent the competition of the used X address. 

 

3012 

 

Skip signal assignment address 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0 to 727 

Set an X address to which the skip signal SKIPn is to be assigned. 
 

NOTE 

 

This parameter is valid when bit 2 (XSG) of parameter No. 3008 is 
set to 1. 

 

Depending on the configuration of the I/O Link, the actually usable 
X addresses are: 

 

<X0000 to X0127>, <X0200 to X0327>, <X0400 to X0527>, 
<X0600 to X0727> 

 

B-64693EN-1/01

 

15. MEASUREMENT

 

- 2449 - 

  WARNING 

 

If you used the set address in this parameter by another usage, it 
may cause an unexpected machine behavior. 

 

Be careful enough that you must prevent the competition of the 
used X address. 

 

3019 

 

Address to which the PMC axis control skip signal, measuring position reached signal, and tool offset 

write signals are assigned 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

[Input type]  Parameter input 

 

[Data type]  Word path 

[Valid data range]  0 to 727 

Set an X address to which the PMC axis control skip signal ESKIP, measuring position 
reached signals (XAE, YAE, and ZAE (M series) or XAE and ZAE (T series)), and tool 
offset write signals (

±

MIT1 and 

±

MIT2 (T series)) are to be assigned.   

 

Example 1. When parameter No. 3012 is set to 5 and parameter No. 3019 is set to 6 

When bit 2  (XSG)  of parameter No. 3008 is 1, the PMC axis control skip signal, and 
measuring position reached signal are allocated to X0006 and the skip signal is allocated 
to X0005. 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

X0005 

 

SKIP 

SKIP6 

SKIP5 

SKIP4 

SKIP3 

SKIP2 

SKIP8 

SKIP7 

(T series)

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

 

 

SKIP 

SKIP6 

SKIP5 

SKIP4 

SKIP3 

SKIP2 

SKIP8 

SKIP7 

(M series)

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

X0006 

 

 

ESKIP 

 

 

 

 

ZAE 

XAE 

(T series)

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

 

 

 

ESKIP 

 

 

 

ZAE 

YAE 

XAE 

(M series)

 

 

Example 2. When parameter No. 3012 is set to 5 and parameter No. 3019 is set to 5 

When bit 2  (XSG)  of parameter No. 3008 is 1, the PMC axis control skip signal, 
measuring position reached signal, and skip signal are allocated to X0005. 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

X0005 

 

SKIP 

ESKIP 

 

 

 

 

ZAE 

XAE 

(T series)

 

 

 

SKIP6 

SKIP5 

SKIP4 

SKIP3 

SKIP2 

SKIP8 

SKIP7 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

 

 

 

SKIP 

ESKIP 

SKIP5 

SKIP4 

SKIP3 

ZAE 

YAE 

XAE 

(M series)

 

 

 

SKIP6 

SKIP2 

SKIP8 

SKIP7 

 

NOTE 

 

This parameter is valid when bit 2 (XSG) of parameter No. 3008 is 
set to 1. 

 

Depending on the configuration of the I/O Link, the actually usable 
X addresses are: 

 

<X0000 to X0127>, <X0200 to X0327>, <X0400 to X0527>, 
<X0600 to X0727> 

 

 

 

 

 

 

 

 

Content      ..     309      310      311      312     ..