Chapter 7
111
UM10350_PCNC770_Manual_0916A
Programming
G38.5 X #<x_start>
#<x_minus>=#5061 (save results)
G00 X #<x_start>
#<x_center> = [[#<x_plus>+#<x_minus>]/2]
G00 X #<x_center> (go to middle)
F #<feed_rate>
G38.3 Y #<y_max> (probe +Y side of hole)
F [#<feed_rate>/30]
G38.5 Y #<y_start>
#<y_plus>=#5062 (save results)
G00 Y #<y_start> (return to start)
F #<feed_rate>
G38.3 Y #<y_min> (probe -Y side of hole)
F [#<feed_rate>/30]
G38.5 Y #<y_start>
#<y_minus>=#5062 (save results)
G00 Y #<y_start>
#<y_center> = [[#<y_plus>+#<y_minus>]/2]
G00 Y #<y_center> (go to middle)
G10 L20 P1 X 0 Y 0 (set current location to zero)
F #<feed_rate> (restore original feed rate)
o<probe_pocket> endsub
M02
7.5.11 Cutter Compensation
Cuer Compensaon OFF – G40
To turn Cuer Compensaon o, program: G40
It is OK to turn compensaon o when it is already o.
It is an error if:
• A G02/G03 arc move is programmed next aer a G40
• The linear move aer turning compensaon o is less than twice the tool p radius
Cuer Compensaon ON – G41, G42
To program Cuer Compensaon to the le of the programmed tool path, program:
G41 D~
To program Cuer Compensaon to the right of the programmed tool path, program: G42 D~