
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
29/36
7. Moving to the position (1
st
measuring position -
β
) along +X axis with feed-rate (fa).
8. Moving within the distance (
β
+
γ
) with the feed-rate (f) until touching the work-piece.
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.
12. Repeat steps 1. to 9. in the 4
th
hole.
When
G190
is executed, the system will calculate the center position of 4-Hole from
measurement position and output it to the work-piece origin offset value and the following
variables.
#250
: X coordinate of 4-hole (Machine coordinate system)
#251
: Y coordinate of 4-hole (Machine coordinate system)
#252
: X coordinate of 4-hole (Work-piece coordinate system)
#253
: Y coordinate of 4-hole (Work-piece coordinate system)
4-12. Work piece angle measurement (G191)
This is a menu for measuring an inclined angle of single surface in the work-piece.
Create ISO code program in the following form.
G191 A B C I D J F ;
A
: 1
st
measure point X
Input the approximate X coordinate of the first measuring point.
B
: 1
st
measure point Y
Input the approximate Y coordinate of the first measuring point.
1
2
(
A
,
B
)
D
(
C
,
I
)
X
Y
J
Measurin
start
oint
1
2
3
4