
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
23/36
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 to the approximate measuring start point
before executing this cycle.
Movements
:
1. The probe moves the distance (U -
α
- stylus radius) with feed-rate (fa)
2. Moving within the distance (U +
γ
- stylus radius) with the feed-rate (f) until touching the
work-piece.
→
First measurement
3. Return the distance (
β
) with rapid traverse.
4. Moving within the distance (
β
+
γ
) with the feed-rate (F) until touching the work-piece.
→
Second measurement
5. Return the distance (
ε
) with rapid traverse.
6. Repeat steps 1. to 5. at the second, third and fourth measuring point.
When
G187
is executed, the system will calculate the corner position from measurement
position and output it to the work-piece origin offset value and the following variables.
#250
: X coordinate of corner (Machine coordinate system)
#251
: Y coordinate of corner (Machine coordinate system)
#252
: X coordinate of corner (Work-piece coordinate system)
#253
: Y coordinate of corner (Work-piece coordinate system)