
11. PROGRAM COMMAND
B–63523EN–1/03
1440
NOTE
Before issuing a command for this cycle, be sure to set the
probe to an approximate measurement start point.
Measurement sequence:
1) The probe moves at the speed fa to a point the distance ”U – a – stylus
ball radius” away from the measurement start point.
2) The probe moves at the speed f in the range ”U + g – stylus ball radius”
until it touches the measurement face (the first measurement session).
3) The probe returns through the distance b at the rapid traverse rate.
4) The probe moves at the specified speed F in the range ”b + g” until it
touches the measurement face (the second measurement session).
5) The probe returns through the distance e at the rapid traverse rate.
6) The probe moves to measurement points [2], [3], and [4] and makes
the same measurement as stated above at each of these measurement
points.
Executing G187 obtains the corner position from measured values, and
outputs the obtained values to the W–specified workpiece zero point
offset value and the following macro variables:
#250: Corner X coordinate (machine coordinate system)
#251: Corner Y coordinate (machine coordinate system)
#252: Corner X coordinate (workpiece coordinate system)
#253: Corner Y coordinate (workpiece coordinate system)
The position of an inside corner is measured by creating a G code program
in the following format:
G188C__A__B__U__V__I__J__F__W__ ;
[1]
[2]
[3]
[4]
I
J
U
V
(A, B)
[1] [2]
[3][4]
Measurement start point
Corner position: C
C: Corner position
Specifies the corner position to be measured (1 to 4).
A: X coordinate of measurement point 1
Specifies the X coordinate of measurement point 1.
B: Y coordinate of measurement point 1
Specifies the Y coordinate of measurement point 1.
U: Distance in the X–axis direction
Specifies the distance from the measurement start point to the
measurement end face in the X–axis direction.
D Measuring an inside
corner (G188)