
2003.6.30
Using G10 format
The address “R” can not have a value below decimal point. Therefore, in
input of customizing data with decimal point by G10, the value of address
“R” must be considered about the number of digits below the decimal point.
Note) This restriction is G10 command only. System variables #8431-#8450
can be read as a value with decimal point.
Example
Example1
Condition:
The number of digit below decimal point of the customizing data1 is “3”.
The number of digit below decimal point of the customizing data2 is “3”.
The number of digit below decimal point of the customizing data3 is “3”.
Operation:
In case that the customizing data1 is transformed to customizing data2 and
data3 by the Custom Macro value #8431.
G10L77P5; 1. Specify the decimal point to the customizing data
N1 R3; 2. Specify 3 digits below decimal point of the customizing
data1
N2 R3; 3. Specify 3 digits below decimal point of the customizing
data2
N3 R3; 3. Specify 3 digits below decimal point of the customizing
data3
G11; 4. Mode cancel
;
G10 L75 P1; 5. Specify registration mode of the tool management data
N1; 6. Specify No.1 tool management data
P1 R12345; 7. Customizing data1 is set to “12.345”
P2 R #8431; 8. Customizing data2 is set to “0.12”
P3 R [#8431*1000]; 9. Customizing data3 is set to “12.345”
G11; 10. Mode cancel
In this example, the customizing data1 is 12.345. But R#8431 becomes R12
though #8431 is read as value of 12.345 because the address “R” can not
have the value below decimal point. Therefore, the value of “0.12” is set to
customizing data2.
Edit
20/26
Data Signature
Description
FANUC Series 16i/18i/21i-MB/TB
Expansion Tool Management Function
A-79171
Drawing No.
Title
Page