
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
26/36
Z
: Height for Z axis
Input the height from the measuring start point to the point which will be measured.
R
: Radius
Input the approximate radius of the bolt-hole-circle.
D
: Hole nominal diameter
Input the nominal diameter of the hole.
A
: 1
st
hole angle
Input the angle between the segment from the center of the bolt-hole circle to first
hole and X axis.
B
: 2
nd
hole angle
Input the angle between the segment from the center of the bolt-hole circle to second
hole and X axis.
C
: 3
rd
hole angle
Input the angle between the segment from the center of the bolt-hole circle to third
hole and X axis.
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 a bolt-hole circle 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 4. in the direction –X axis and
±
Y axis.
→
First measurement
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.