Chapter 7
110
UM10350_PCNC770_Manual_0916A
Programming
Aer successful probing, parameters 5061 to 5064 will be set to the coordinates of the locaon of
the controlled point at the me the probe tripped (not where it stopped), or if it does not trip to the
coordinates at the end of the move and a triplet giving X, Y and Z at the trip is wrien to the triplet le.
7.5.10.1 Using the Straight Probe Command
Using the straight probe command, if the probe shank is kept nominally parallel to the Z-axis (i.e.,
any rotaonal axes are at zero) and the tool length oset for the probe is used, so that the controlled
point is at the end of the p of the probe:
• Without addional knowledge about the probe, the parallelism of a face of a part to the XY-
plane may, for example, be found;
• If the probe p radius is known approximately, the parallelism of a face of a part to the YZ or
XZ-plane may, for example, be found;
• If the shank of the probe is known to be well-aligned with the Z-axis and the probe p radius
is known approximately, the center of a circular hole, may, for example, be found;
• If the shank of the probe is known to be well-aligned with the Z-axis and the probe p radius
is known precisely, more uses may be made of the straight probe command, such as nding
the diameter of a circular hole.
Example code:
o<probe_pocket> sub
(probe to nd center of circular or rectangular pocket)
#<x_start> = #5420 (Current X Location)
#<y_start> = #5421 (Current Y Location)
#<x_max> = 1
#<x_min> = -1
#<y_max> = 1
#<y_min> = -1
#<feed_rate> = 30 (30 IPM)
F #<feed_rate>
G38.3 X #<x_max> (rough probe +X side of hole)
F [#<feed_rate>/30]
G38.5 X #<x_start> (nish probe)
#<x_plus>=#5061 (save results)
G00 X #<x_start> (return to start)
F #<feed_rate>
G38.3 X #<x_min> (probe -X side of hole)
F [#<feed_rate>/30]