
2000/02/08 H. Minami
A-78392EN
FANUC Series 16i/18i/21i-MA
Embedded macro for measurement
Title
Drawing No.
Page
Descri
tionDateEdit
10/36
#204
: Stylus ball offset for Y axis
4. Measuring cycles
Measuring cycles measure two times at one measuring point. The first measurement is
performed in order to confirm the position of a measuring point. The second is in order to
get measurement data at the correct position that was confirmed by the first
measurement.
These cycles measure the position and size of work-piece and output them to the work-
piece origin offset value and macro variables.
Note 1) Please be sure to execute the calibration cycles before using the measuring
cycles.
Note 2) Please be sure to move the probe to the measuring start point before
executing the measuring cycles.
4-1. X/Y/Z single surface measurement (G180)
This is a menu for measuring a single surface for X, Y and Z axis.
Create ISO code program in the following form.
G180 A V D F W ;
A
: Measure position
1 : X single surface
2 : Y single surface
3 : Z single surface
V
: Work coordinate value
Input the work-piece origin offset value which would like to set.
D
: Distance for movement
Input the distance from the measuring start point to the single surface. In the case of
X or Y axis, + and – represents the direction. In Z axis, only – is allowed.
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)