
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
16/36
5. Return the measuring start point with rapid traverse.
6. Repeat steps 1. to 5. in the direction –X axis and
±
Y axis.
→
First measurement
7. Moving to the position (1
st
measuring position -
β
) along the X axis with feed-rate (fa).
8. Moving within the distance (
β
+
γ
) with the feed-rate (F) until touching the work-piece.
9. Return the distance (
ε
) with rapid traverse.
10. Return the measuring start point with rapid traverse
11. Repeat steps 7. to 10. in the direction –X axis and
±
Y axis.
→
Second measurement
When
G183
is executed, the system will calculate the center position and radius of circle
from measurement position and output it to the work-piece origin offset value and the
following variables.
#250
: X coordinate of circle center (Machine coordinate system)
#251
: Y coordinate of circle center (Machine coordinate system)
#252
: X coordinate of circle center (Work-piece coordinate system)
#253
: Y coordinate of circle center (Work-piece coordinate system)
#254
: Radius of circle
4-5. Inside circle measurement (G184)
This is a menu for measuring the center position and radius of an inside circle.
Create ISO code program in the following form.
G184 Z R F W ;
Z
: Height for Z axis
Input the height from the measuring start point to the point which will be measured.
R
: Inside radius
Input the approximate radius of the inside circle.
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)