
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
27/36
9. Repeat steps 7. to 8. in the direction –X axis and
±
Y axis.
→
Second measurement
10. Repeat steps 1. to 9. in the 2
nd
hole.
11. Repeat steps 1. to 9. in the 3
rd
hole.
When
G189
is executed, the system will calculate the center position of Bolt-Hole-Circle
from measurement position and output it to the work-piece origin offset value and the
following variables.
#250
: X coordinate of Bolt-hole-circle (Machine coordinate system)
#251
: Y coordinate of Bolt-hole-circle (Machine coordinate system)
#252
: X coordinate of Bolt-hole-circle (Work-piece coordinate system)
#253
: Y coordinate of Bolt-hole-circle (Work-piece coordinate system)
#254
: Radius of Bolt-hole-circle
4-11. 4-hole center measurement (G190)
This is a menu for measuring a center position and radius of 4 holes.
Create ISO code program in the following form.
G190 Z D A B C E H I J K F W ;
Z
: Height for Z axis
Input the height from the measuring start point to the point which will be measured.
D
: Hole nominal diameter
Input the nominal diameter of the hole.
(
A
,
B
)
(
C
,
E
)
(
J
,
K
)
(
H
,
I
)
Z
D
1
st
Hole
Measuring
start point
3
rd
Hole
2
nd
Hole
4
th
Hole