
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
7/36
Input the feed-rate for movement on measuring.
Movements
:
1. The probe moves the distance (Z) along the –Z axis with feed-rate (fa).
2. Moving the distance (R -
α
) along the +X axis with feed-rate (fa).
3. Moving within the distance (R +
γ
) with the feed-rate (f) until touching the ring gauge.
4. Return the measuring start point and repeat steps 1.to 3. in the direction –X axis and
±
Y axis.
→
First measurement
5. Moving the point (1
st
measuring position -
β
) along +X axis with feed-rate (fa)
6. Moving within the distance (
β
+
γ
) with the feed-rate (F) until touching the ring gauge.
7. Repeat steps 5. to 6. in the direction –X axis and
±
Y axis.
→
Second measurement
When
G171
is executed, the system will calculate the diameter of the stylus ball for X, Y
axis from measurement position and output it to the following variables.
#201
: Stylus ball diameter for X axis
#202
: Stylus ball diameter for Y axis
3-3. Stylus X and Y offsets calibration-A (G172)
This is a menu for calibrating X and Y offset of a stylus ball. When the machine has the
spindle orientation function, this cycle can be used. (
→
6. Parameter)
Create ISO code program in the following form.
G172 Z R F ;
Z
: Distance for movement
Input the distance from the measuring start point to the ring gauge.
R
: Ring gauge radius
Input the radius of the ring gauge.
F
: Feed rate for movement
Input the feed-rate for movement on measuring.