
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
28/36
A
: 1
st
hole point X
Input the approximate X coordinate of the first measuring hole center.
B
: 1
st
hole point Y
Input the approximate Y coordinate of the first measuring hole center.
C
: 2
nd
hole point X
Input the approximate X coordinate of the second measuring hole center.
E
: 2
nd
hole point Y
Input the approximate Y coordinate of the second measuring hole center.
H
: 3
rd
hole point X
Input the approximate X coordinate of the third measuring hole center.
I
: 3
rd
hole point Y
Input the approximate Y coordinate of the third measuring hole center.
J
: 4
th
hole point X
Input the approximate X coordinate of the fourth measuring hole center.
K
: 4
th
hole point Y
Input the approximate Y coordinate of the fourth measuring hole center.
F
: Feed rate for movement
Input the feed-rate for movement on measuring.
W
: Work coordinate system number
Input the work-piece coordinate system number which will be set.
G54
↔
G59 : (
1
: G54,
2
: G55,
3
: G56,
4
: G57,
5
: G58,
6
: G59)
G54.1P1
↔
P48 : (
1001
: G54 P1,
1002
: G54 P2……….
1048
: G54 P48)
Note ) Please be sure to move the probe right over the approximate center position
of the first measuring hole before executing this cycle.
Movements
:
1. The probe moves to the center position of the 1
st
measuring hole with feed-rate (fa).
2. Moving the distance (Z) along –Z axis with feed-rate (fa).
3. Moving the distance (D/2 -
α
- stylus radius) along +X axis with feed-rate (fa).
4. Moving within the distance (D/2 +
γ
- stylus radius) with the feed-rate (f) until touching
the work-piece.
5. Return the center position of the hole with rapid traverse.
6. Repeat steps 1. to 5. in the direction –X axis and
±
Y axis.
→
First measurement