
11. PROGRAM COMMAND
B–63523EN–1/03
1430
Executing G180 obtains a reference point from the input and measured
values, and outputs the obtained values to the W–specified workpiece
zero point offset value and the following macro variables.
#250: End face measurement value (machine coordinate system)
#251: End face measurement value (workpiece coordinate system)
The center position across the width of a projection and the width of the
projection are measured by creating a G code program in the following
format:
G180Z__D__V__F__W__ ;
D
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: Measurement direction
1: X–axis direction
2: Y–axis direction
V: Projection width
Specifies the nominal width of a projection to be measured.
F: Movement speed
Specifies the speed at which the probe is to move for measurement.
W:Workpiece coordinate system
Select a workpiece coordinate system to be set up, and enter the
corresponding number listed below:
G54 to G59: 1 = G54, 2 = G55, 3 = G56, 4 = G57, 5 = G58, and
6 = G59
If 48 coordinate systems are valid, the following numbers are specified
to select desired workpiece coordinate systems:
G54.1P1 to P48: 1001 = G54P1, 1002 = G54P2, ..., 1048 =
G54P48
NOTE
Before issuing a command for this cycle, be sure to set the
probe above the approximate center of the width of the
projection.
Measurement sequence:
1) The probe moves at the speed fa in the X–axis (Y–axis) direction to
a point the distance ”V/2 + a + stylus ball radius” away from the
measurement start point.
D Measuring the width of a
projection (G181)