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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     62      63      64      65     ..

 

 

 

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

 

 

16.CUSTOM MACRO

 PROGRAMMING 

B-63944EN/03

 

 

- 468 - 

  - Tool compensation value #2001-#2800, #10001-#13999 (Attribute:    R/W)

 

 

M

 

The compensation values can be obtained by reading system variables 
#2001 to #2800 or #10001 to #13999 for tool compensation.  The 
compensation values can also be changed by assigning values to the 
system variables. 
 
<1>  Tool compensation memory A 

  When the number of compensations is 200 or less 

Compensation 

number 

Variable number

Variable name 

1 #2001 

[#_OFS[1]] 

2 #2002 

[#_OFS[2]] 

3 #2003 

[#_OFS[3]] 

: :  : 

199 #2199  [#_OFS[199]] 
200 #2200  [#_OFS[200]] 

 

  When the number of compensations is more than 200 (For 

compensation with a compensation number of 200 or less, 
#2001 to #2200 can also be used.) 

Compensation 

number 

Variable number

Variable name 

1 #10001 

[#_OFS[1]] 

2 #10002 

[#_OFS[2]] 

3 #10003 

[#_OFS[3]] 

: :  : 

998 #10998 [#_OFS[998]] 
999 #10999 [#_OFS[999]] 

 
<2>  Tool compensation memory B 

  When the number of compensations is 200 or less 

  When bit 3 (V15) of parameter No.6000 = 0 

Wear Geometry 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #2001 

[#_OFSW[1]] 

#2201 

[#_OFSG[1]] 

2 #2002 

[#_OFSW[2]] 

#2202 

[#_OFSG[2]] 

3 #2003 

[#_OFSW[3]] 

#2203 

[#_OFSG[3]] 

: :  :  :  : 

199 #2199 

[#_OFSW[199]] #2399 [#_OFSG[199]]

200 #2200 

[#_OFSW[200]] #2400 [#_OFSG[200]]

 

B-63944EN/03

 PROGRAMMING 

16.CUSTOM MACRO

 

 

- 469 - 

  When bit 3 (V15) of parameter No.6000 = 1 

Wear Geometry 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #2201 

[#_OFSW[1]] 

#2001 

[#_OFSG[1]] 

2 #2202 

[#_OFSW[2]] 

#2002 

[#_OFSG[2]] 

3 #2203 

[#_OFSW[3]] 

#2003 

[#_OFSG[3]] 

: :  :  :  : 

199 #2399 

[#_OFSW[199]] #2199 [#_OFSG[199]]

200 #2400 

[#_OFSW[200]] #2200 [#_OFSG[200]]

 

  When the number of compensations is more than 200    (For 

compensation with a compensation number of 200 or less, 
#2001 to #2400 can also be used.) 

  When bit 3 (V15) of parameter No.6000 = 0 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #11001 

[#_OFSG[1]] 

#10001 

[#_OFSW[1]] 

2 #11002 

[#_OFSG[2]] 

#10002 

[#_OFSW[2]] 

3 #11003 

[#_OFSG[3]] 

#10003 

[#_OFSW[3]] 

: :  :  :  : 

998 #11998 

[#_OFSG[998]]

#10998 [#_OFSW[998]]

999 #11999 

[#_OFSG[999]]

#10999 [#_OFSW[999]]

 

  When bit 3 (V15) of parameter No.6000 = 1 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #10001 

[#_OFSG[1]] 

#11001 

[#_OFSW[1]] 

2 #10002 

[#_OFSG[2]] 

#11002 

[#_OFSW[2]] 

3 #10003 

[#_OFSG[3]] 

#11003 

[#_OFSW[3]] 

: :  :  :  : 

998 #10998 

[#_OFSG[998]]

#11998 [#_OFSW[998]]

999 #10999 

[#_OFSG[999]]

#11999 [#_OFSW[999]]

 
<3>  Tool offset memory C 

  When the number of compensations is 200 or less 

  When bit 3 (V15) of parameter No.6000 = 0 

H code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #2201 

[#_OFSHG[1]] 

#2001 

[#_OFSHW[1]] 

2 #2202 

[#_OFSHG[2]] 

#2002 

[#_OFSHW[2]] 

3 #2203 

[#_OFSHG[3]] 

#2003 

[#_OFSHW[3]] 

: : : : : 

199 #2399 

[#_OFSHG[199]]

#2199 [#_OFSHW[199]]

200 #2400 

[#_OFSHG[200]]

#2200 [#_OFSHW[200]]

 

16.CUSTOM MACRO

 PROGRAMMING 

B-63944EN/03

 

 

- 470 - 

  When bit 3 (V15) of parameter No.6000 = 1 

H code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #2001 

[#_OFSHG[1]] 

#2201 

[#_OFSHW[1]] 

2 #2002 

[#_OFSHG[2]] 

#2202 

[#_OFSHW[2]] 

3 #2003 

[#_OFSHG[3]] 

#2203 

[#_OFSHW[3]] 

: : : : : 

199 #2199 

[#_OFSHG[199]]

#2399 [#_OFSHW[199]]

200 #2200 

[#_OFSHG[200]]

#2400 [#_OFSHW[200]]

 

D code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #2401 

[#_OFSDG[1]] 

#2601 

[#_OFSDW[1]] 

2 #2402 

[#_OFSDG[2]] 

#2602 

[#_OFSDW[2]] 

3 #2403 

[#_OFSDG[3]] 

#2603 

[#_OFSDW[3]] 

: : : : : 

199 #2599 

[#_OFSDG[199]]

#2799 [#_OFSDW[199]]

200 #2600 

[#_OFSDG[200]]

#2800 [#_OFSDW[200]]

 

NOTE 

1  When #2401 to #2800 are used for reading or 

writing of D codes, bit 5 (D15) of parameter 
No.6004 must be set to 1. 

2  When bit 5 (D15) of parameter No.6004 is set to 1, 

system variables #2500 to #2806 for workpiece 
origin offset cannot be used.    Use system 
variables #5201 to #5324. 

 

  When the number of compensations is more than 200 (For 

compensation with a compensation number of 200 or less, 
#2001 to #2800 can also be used.) 

  When bit 3 (V15) of parameter No.6000 = 0 

H code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #11001 

[#_OFSHG[1]] 

#10001 

[#_OFSHW[1]] 

2 #11002 

[#_OFSHG[2]] 

#10002 

[#_OFSHW[2]] 

3 #11003 

[#_OFSHG[3]] 

#10003 

[#_OFSHW[3]] 

: : : : : 

998 #11998 

[#_OFSHG[998]]

#10998 [#_OFSHW[998]]

999 #11999 

[#_OFSHG[999]]

#10999 [#_OFSHW[999]]

 

B-63944EN/03

 PROGRAMMING 

16.CUSTOM MACRO

 

 

- 471 - 

D code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #13001 

[#_OFSDG[1]] 

#12001 

[#_OFSDW[1]]

2 #13002 

[#_OFSDG[2]] 

#12002 

[#_OFSDW[2]]

3 #13003 

[#_OFSDG[3]] 

#12003 

[#_OFSDW[3]]

: : : : : 

998 #13998 

[#_OFSDG[998]] #12998 [#_OFSDW[99

8]] 

999 #13999 

[#_OFSDG[999]] #12999 [#_OFSDW[99

9]] 

 

  When bit 3 (V15) of parameter No.6000 = 1 

H code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #10001 

[#_OFSHG[1]] 

#11001 

[#_OFSHW[1]] 

2 #10002 

[#_OFSHG[2]] 

#11002 

[#_OFSHW[2]] 

3 #10003 

[#_OFSHG[3]] 

#11003 

[#_OFSHW[3]] 

: : : : : 

998 #10998 

[#_OFSHG[998]]

#11998 [#_OFSHW[998]]

999 #10999 

[#_OFSHG[999]]

#11999 [#_OFSHW[999]]

 

D code 

Geometry Wear 

Compensation 

number 

Variable 

number

Variable name

Variable 

number 

Variable name

1 #12001 

[#_OFSDG[1]] 

#13001 

[#_OFSDW[1]] 

2 #12002 

[#_OFSDG[2]] 

#13002 

[#_OFSDW[2]] 

3 #12003 

[#_OFSDG[3]] 

#13003 

[#_OFSDW[3]] 

: :  :  :   

998 #12998 

[#_OFSDG[998]]

#13998 [#_OFSDW[998]]

999 #12999 

[#_OFSDG[999]]

#13999 [#_OFSDW[999]]

 

16.CUSTOM MACRO

 PROGRAMMING 

B-63944EN/03

 

 

- 472 - 

  - Tool compensation value #2001-#2964, #10001-#19999 (Attribute:    R/W) 

 

T

 

The compensation values can be obtained by reading system variables 
#2001 to #2964 or #10001 to #19999 for tool compensation.  The 
compensation values can also be changed by assigning values to the 
system variables. 
 
<1>  Without tool geometry/wear compensation memory 

  When the number of compensations is 64 or less 

Compensation 

number 

Variable 

number

Variable name

Description 

1 #2001 

[#_OFSX[1]] 

2 #2002 

[#_OFSX[2]] 

3 #2003 

[#_OFSX[3]] 

: :  : 

63 #2063 

[#_OFSX[63]] 

64 #2064 

[#_OFSX[64]] 

X-axis compensation value 

(*1) 

1 #2101 

[#_OFSZ[1]] 

2 #2102 

[#_OFSZ[2]] 

3 #2103 

[#_OFSZ[3]] 

: :  : 

63 #2163 

[#_OFSZ[63]] 

64 #2164 

[#_OFSZ[64]] 

Z-axis compensation value 

(*1) 

1 #2201 

[#_OFSR[1]] 

2 #2202 

[#_OFSR[2]] 

3 #2203 

[#_OFSR[3]] 

: :  : 

63 #2263 

[#_OFSR[63]] 

64 #2264 

[#_OFSR[64]] 

Tool nose radius 

compensation value 

1 #2301 

[#_OFST[1]] 

2 #2302 

[#_OFST[2]] 

3 #2303 

[#_OFST[3]] 

: :  : 

63 #2363 

[#_OFST[63]] 

64 #2364 

[#_OFST[64]] 

Virtual tool tipT position 

1 #2401 

[#_OFSY[1]] 

2 #2402 

[#_OFSY[2]] 

3 #2403 

[#_OFSY[3]] 

: :  : 

48 #2448 

[#_OFSY[48]] 

49 #2449 

[#_OFSY[49]] 

Y-axis compensation value 

(*1) 

(*1) X-axis: X-axis of basic three axes, Z-axis: Z-axis of basic three 

axes, Y-axis: Y-axis of basic three axes 

 

B-63944EN/03

 PROGRAMMING 

16.CUSTOM MACRO

 

 

- 473 - 

  When the number of compensations is more than 64  (For 

compensation with a compensation number of 64 or less, 
#2001 to #2449 can also be used.) 

Compensation 

number 

Variable 

number

Variable name

Description 

1 #10001 

[#_OFSX[1]] 

2 #10002 

[#_OFSX[2]] 

3 #10003 

[#_OFSX[3]] 

: :  : 

998 #10998 

[#_OFSX[998]] 

999 #10999 

[#_OFSX[999]] 

X-axis compensation value 

(*1) 

1 #11001 

[#_OFSZ[1]] 

2 #11002 

[#_OFSZ[2]] 

3 #11003 

[#_OFSZ[3]] 

: :  : 

998 #11998 

[#_OFSZ[998]] 

999 #11999 

[#_OFSZ[999]] 

Z-axis compensation value 

(*1) 

1

 

#12001 [#_OFSR[1]] 

2 #12002 

[#_OFSR[2]] 

3 #12003 

[#_OFSR[3]] 

: :  : 

998 #12998 

[#_OFSR[998]] 

999 #12999 

[#_OFSR[999]] 

Tool nose radius 

compensation value 

1 #13001 

[#_OFST[1]] 

2 #13002 

[#_OFST[2]] 

3 #13003

 

[#_OFST[3]] 

: :  : 

998 #13998 

[#_OFST[998]] 

999 #13999 

[#_OFST[999]] 

Virtual tool tip T position

1 #14001 

[#_OFSY[1]] 

2 #14002 

[#_OFSY[2]] 

3 #14003 

[#_OFSY[3]] 

: :  : 

998 #14998 

[#_OFSY[998]] 

999 #14999 

[#_OFSY[999]] 

Y-axis compensation value 

(*1) 

(*1) X-axis: X-axis of basic three axes, Z-axis: Z-axis of basic three 

axes, Y-axis: Y-axis of basic three axes 

 

16.CUSTOM MACRO

 PROGRAMMING 

B-63944EN/03

 

 

- 474 - 

<2>  With tool geometry/wear compensation memory 

  When the number of compensations is 64 or less 

Compensation 

number 

Variable 

number

Variable name

Description 

1 #2001 

[#_OFSXW[1]] 

2 #2002 

[#_OFSXW[2]] 

3 #2003 

[#_OFSXW[3]] 

: :  : 

63 #2063 

[#_OFSXW[63]] 

64 #2064 

[#_OFSXW[64]] 

X-axis compensation value 

(wear) (*1) 

1 #2101 

[#_OFSZW[1]] 

2 #2102 

[#_OFSZW[2]] 

3 #2103 

[#_OFSZW[3]] 

: :  : 

63 #2163 

[#_OFSZW[63]] 

64 #2164 

[#_OFSZW[64]] 

Z-axis compensation value 

(wear) (*1) 

1 #2201 

[#_OFSRW[1]] 

2 #2202 

[#_OFSRW 

[2]] 

3 #2203 

[#_OFSRW 

[3]] 

: :  : 

63 #2263 

[#_OFSRW 

[63]]

64 #2264 

[#_OFSRW 

[64]]

Tool nose radius 

compensation value (wear)

1 #2301 

[#_OFST[1]] 

2 #2302 

[#_OFST[2]] 

3 #2303 

[#_OFST[3]] 

: :  : 

63 #2363 

[#_OFST[63]] 

64 #2364 

[#_OFST[64]] 

Virtual tool tip T position

1 #2401 

[#_OFSYW[1]] 

2 #2402 

[#_OFSYW 

[2]] 

3 #2403 

[#_OFSYW 

[3]] 

: :  : 

48 #2448 

[#_OFSYW 

[48]]

49 #2449 

[#_OFSYW 

[49]]

Y-axis compensation value 

(wear) (*1) 

1 #2451 

[#_OFSYG[1]] 

2 #2452 

[#_OFSYG 

[2]] 

3 #2453 

[#_OFSYG 

[3]] 

: :  : 

48 #2498 

[#_OFSYG 

[48]] 

49 #2499 

[#_OFSYG 

[49]] 

Y-axis compensation value 

(geometry) (*1) 

1 #2701 

[#_OFSXG[1]] 

2 #2702 

[#_OFSXG[2]] 

3 #2703 

[#_OFSXG 

[3]] 

: :  : 

48 #2748 

[#_OFSXG 

[48]] 

49 #2749 

[#_OFSXG 

[49]] 

X-axis compensation value 

(geometry) (*1) 

1 #2801 

[#_OFSZG[1]] 

2 #2802 

[#_OFSZG[2]] 

3 #2803 

[#_OFSZG[3]] 

: :  : 

48 #2848 

[#_OFSZG[48]] 

49 #2849 

[#_OFSZG[49]] 

Z-axis compensation value 

(geometry) (*1) 

B-63944EN/03

 PROGRAMMING 

16.CUSTOM MACRO

 

 

- 475 - 

Compensation 

number 

Variable 

number

Variable name

Description 

1 #2901 

[#_OFSRG[1]] 

2 #2902 

[#_OFSRG[2]] 

3 #2903 

[#_OFSRG[3]] 

: :  : 

63 #2963 

[#_OFSRG[63]] 

64 #2964 

[#_OFSRG[64]] 

Tool nose radius 

compensation value 

(geometry) 

1 #19001 

[#_OFSYG[1]] 

2 #19002 

[#_OFSYG[2]] 

3 #19003 

[#_OFSYG[3]] 

: :  : 

998 #19998 

[#_OFSYG[998]]

999 #19999 

[#_OFSYG[999]]

Y-axis compensation value 

(geometry) (*1) 

(*1) X-axis: X-axis of basic three axes, Z-axis: Z-axis of basic three 

axes, Y-axis: Y-axis of basic three axes 

 

  When the number of compensations is more than 64  (For 

compensation with a compensation number of 64 or less, 
#2001 to #2964 or #10001 to #19999 can also be used.) 

Compensation 

number 

Variable 

number

Variable name

Description 

1 #10001 

[#_OFSXW[1]] 

2 #10002 

[#_OFSXW[2]] 

3 #10003 

[#_OFSXW[3]] 

: :  : 

998 #10998 

[#_OFSXW[998]]

999 #10999 

[#_OFSXW[999]]

X-axis compensation value 

(wear) (*1) 

1 #11001 

[#_OFSZW[1]] 

2 #11002 

[#_OFSZW[2]] 

3 #11003 

[#_OFSZW[3]] 

: :  : 

998 #11998 

[#_OFSZW[998]]

999 #11999 

[#_OFSZW[999]]

Z-axis compensation value 

(wear) (*1) 

1 #12001 

[#_OFSRW[1]] 

2 #12002 

[#_OFSRW 

[2]] 

3 #12003 

[#_OFSRW 

[3]] 

: :  : 

998 #12998 

[#_OFSRW 

[998]] 

999 #12999 

[#_OFSRW 

[999]] 

Tool nose radius 

compensation value (wear)

1 #13001 

[#_OFST[1]] 

2 #13002 

[#_OFST[2]] 

3 #13003 

[#_OFST[3]] 

: :  : 

998 #13998 

[#_OFST[998]] 

999 #13999 

[#_OFST[999]] 

Virtual tool tip T position

1 #14001 

[#_OFSYW[1]] 

2 #14002 

[#_OFSYW 

[2]] 

3 #14003 

[#_OFSYW 

[3]] 

: :  : 

998 #14998 

[#_OFSYW 

[998]]

999 #14999 

[#_OFSYW 

[999]]

Y-axis compensation value 

(wear) (*1) 

 

 

 

 

 

 

 

Content      ..     62      63      64      65     ..