
11. PROGRAM COMMAND
B–63523EN–1/03
1446
The angle formed by one side of a workpiece and the X–axis is measured
by creating a G–code program in the following format:
G191A__B__C__I__D__J__F__ ;
[1]
[2]
D
X
Y
1
2
3
4
J
(A, B)
(C, I)
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 2
Specifies the X coordinate of measurement point 2.
I: Y coordinate of measurement point 2
Specifies the Y coordinate of measurement point 2.
D: Movement distance
Specifies the distance from the measurement start point to the
measurement end face.
J: Probe measurement axis
Selects the axis along which the probe is to move as well as the
direction in which the probe is to move.
1: Positive X–axis
2: Negative X–axis
3: Positive Y–axis
4: Negative Y–axis
F: Movement speed
Specifies the speed at which the probe is to move for measurement.
NOTE
Before issuing a command for this cycle, be sure to set the
probe to the approximate measurement start point for
measurement point 1.
Measurement sequence:
1) The probe moves at the speed fa to a point the distance ”D – a – stylus
ball radius” away from the measurement start point.
2) The probe moves at the speed f in the range ”D + 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.
D Measuring a workpiece
angle (G191)