
A-79345E
Title
Draw
No.
Ed. Date Design Description
Date Jan.06.’04 Design. Apprv.
23/27
page
FANUC Series 30i-MODEL A
Tool management extension function
G10L77P5;
① Set customize data decimal point position
N1 R3;
② Set 3 as decimal point position of customize data 1
N2 R1;
③ Set 1 as decimal point position of customize data 2
G11;
④ Cancel the setting mode
;
G10 L75 P1;
⑤ Register tool management data
N01;
⑥ Register with No. 1
P1 R12345;
⑦ Set ”12.345” for customize data 1
P2 R#8431;
⑧ Set ”1.2” for customize data 2
G11;
⑨ Cancel the setting mode
In Example 1, customize data 1 is directly set in customize data 2 by using a custom macro
variable.
Customize data 1 holds "12.345". In step ⑧, only the integer part is read and processed as
"P2 R12".
So, "1.2" is set in customize data 2.
Example 2
Condition:
"3" is set as the decimal point position of customize data 1.
"1" is set as the decimal point position of customize data 2.
Operation:
By using the custom macro variable of customize data 1, the data is transferred to customize
data 2 after being multiplied by 1000.
G10L77P5;
① Set customize data decimal point position
N1 R3;
② Set 3 as decimal point position of customize data 1
N2 R1;
③ Set 1 as decimal point position of customize data 2
G11;
④ Cancel the setting mode
;
G10 L75 P1;
⑤ Register tool management data
N01;
⑥ Register with No. 1
P1 R12345;
⑦ Set ”12.345” for customize data 1
P2 R[#8431*1000];
⑧ Set ”1234.5” for customize data 2
G11;
⑨ Cancel the setting mode