
B–63523EN–1/03
11. PROGRAM COMMAND
1437
3) The probe moves at the speed f in the range ”U/2 – g + stylus ball
radius” until it touches the measurement face (the first measurement
session).
4) The probe returns through the distance b at the rapid traverse rate.
5) The probe moves at the specified speed F in the range ”b + g” until it
touches the measurement face (the second measurement session).
6) The probe returns through the distance e at the rapid traverse rate.
7) The probe moves at the rapid traverse rate to the point where it was
before the start of measurement along the Z–axis.
8) The probe moves at the rapid traverse rate to the center X coordinate
where it was before the start of measurement, and makes the same
measurement as stated above in the negative X–axis direction and the
Y–axis direction.
Executing G185 obtains the center of a rectangle and the length of its sides
from measured values, and outputs the obtained values to the
W–specified workpiece zero point offset value and the following macro
variables:
#250: Center X coordinate of the rectangle (machine coordinate
system)
#251: Center Y coordinate of the rectangle (machine coordinate
system)
#252: Center X coordinate of the rectangle (workpiece coordinate
system)
#253: Center Y coordinate of the rectangle (workpiece coordinate
system)
#254: Length of the rectangle side along the X–axis
#255: Length of the rectangle side along the Y–axis
The center of a rectangle and the size of its inside sides in the X–axis and
Y–axis directions are measured by creating a G code program in the
following format:
G186Z__U__V__F__W__ ;
V
U
Z
a
g
b
Measurement
start point
Second measurement
session
First measurement
session
Stylus ball radius
Z: Height along the Z–axis
Specifies the distance from the measurement start point to the
measurement point along the Z–axis.
D Measuring the inside
sides of a rectangle
(G186)