
B–63523EN–1/03
11. PROGRAM COMMAND
1439
The position of an outside corner is measured by creating a G code
program in the following format:
G187A__B__C__D__U__V__I__J__F__W__ ;
[2]
[3] (C, D)
[4]
I
J
U
V
[1] (A, B)
Measurement start point
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.
C: X coordinate of measurement point 3
Specifies the X coordinate of measurement point 3.
D: Y coordinate of measurement point 3
Specifies the Y coordinate of measurement point 3.
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.
V: Distance in the Y–axis direction
Specifies the distance from the measurement start point to the
measurement end face in the Y–axis direction.
I: Increment in the X–axis direction
Specifies an increment (distance from measurement point [1] to
measurement point [2]) in the X–axis direction.
J: Increment in the Y–axis direction
Specifies an increment (distance from measurement point [3] to
measurement point [4]) in the Y–axis direction.
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
D Measuring an outside
corner (G187)