
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
19/36
Movements
:
1. The probe moves the distance (U/2 +
α
+ stylus radius) along the X axis with feed-rate
(fa).
2. Moving the distance (Z) along –Z axis with feed-rate (fa).
3. Moving within the distance (U/2 -
γ
+ stylus radius) with the feed-rate (f) until touching
the work-piece.
→
First measurement
4. Return the distance (
β
) with rapid traverse.
5. Moving within the distance (
β
+
γ
) with the feed-rate (F) until touching the work-piece.
→
Second measurement
6. Return the distance (
ε
) with rapid traverse .
7. Return the measuring start point with rapid traverse.
8. Repeat steps 1. to 7. in the direction –X axis and
±
Y axis.
When
G185
is executed, the system will calculate the center position and length of
rectangular from measurement position and output it to the work-piece origin offset value
and the following variables.
#250
: X coordinate of rectangular center (Machine coordinate system)
#251
: Y coordinate of rectangular center (Machine coordinate system)
#252
: X coordinate of rectangular center (Work-piece coordinate system)
#253
: Y coordinate of rectangular center (Work-piece coordinate system)
#254
: Length of rectangular for X axis
#255
: Length of rectangular for Y axis