
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
13/36
Movements
:
1. The probe moves the distance (V/2 +
α
+ stylus radius) along the X or Y axis with feed-
rate (fa).
2. Moving the distance (Z) along the –Z axis with feed-rate (fa).
3. Moving within the distance (V/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. Repeat steps 1. to 5. in the direction –X axis and –Y axis.
When
G181
is executed, the system will calculate the center position and width of the web
from measurement position and output it to the work-piece origin offset value and the
following variables.
#250
: X coordinate of web center (Machine coordinate system)
#251
: Y coordinate of web center (Machine coordinate system)
#252
: X coordinate of web center (Work-piece coordinate system)
#253
: Y coordinate of web center (Work-piece coordinate system)
#254
: Width of web
4-3. Groove width measurement (G182)
This is a menu for measuring the center position and width of a groove.
Create ISO code program in the following form.
G182 Z D V F W ;
V
α
1
st
Measure
Z
Measuring
start
oint
Stylus radius
γ
2
nd
Measure