Lesson Thirteen Text
Lesson Thirteen Text
Though this drawing only illustrates straight line motions (G01), the same is true for
circular motions. Also, the motions in the previous drawing are quite simple, just a series
of straight line motions, each moving along only one axis. The next drawing shows that a
CNC control can just as easily compensate for the radius of the cutter even with more
complex shapes involving angular and circular motions. Notice how precisely the control
can generate tangency points between angular and circular movements. Indeed, this is
one of the main reasons for using cutter radius compensation in the first place.
Drawing shows how cutter radius compensation works for more complicated motions
Almost all cutter radius compensation problems stem from one of two possible causes.
Either the control is unable to drive the cutter through your defined motions without
violating the workpiece, or the motions commanded in the program are not possible.
When either of these two problems is encountered, one of two things will happen. Either
the control will generate an alarm, stopping the programs execution, or the actual
motions generated by the program will not be as desired (probably scrapping a
workpiece). Lets start by looking at those problems that generate alarms.
Alarms and possible causes
Most CNC controls handle cutter radius compensation problems with only a few cryptic
alarms. That is, most controls do very little to help you diagnose cutter radius
compensation problems. They may show you the general area of the program that is
generating the alarm, but most will not even specify which command is actually causing
the problem. The most common catch all alarm is the over-cutting will occur alarm.
Diagnosing the over-cutting alarm
This is the most common alarm you will receive when working with cutter radius
compensation. While the actual wording for this alarm varies from one control to the
next, here is a common definition: Over-cutting will occur during cutter radius
compensation. This alarm is generated from more than one possible cause. Because
this alarm can be generated from a variety of problems, it is also the most difficult cutter
radius compensation alarm to diagnose.
Whenever you receive this alarm, the control is trying to tell you that the cutter will
violate the programmed path (and usually the workpiece) if the program is allowed to
Drawing shows the relationship of the cutter with the workpiece at the cutters start point
Drawing illustrates that the cutter is too large to fit into the recess.
This can be the hardest kind of cutter radius compensation problem to find for two
reasons. First, the blueprint can sometimes be very deceiving if it is not to scale. For this
reason, as you attempt to solve any cutter radius compensation problem, it helps to ignore
the blueprint and use only the programmed coordinates as your way of viewing the
motions. If viewing the blueprint, you may be tempted to make certain assumptions
about the correctness of your programmed coordinates. If you put the blueprint aside and
plot coordinates to scale from the program, many times you will see a basic mistake
related to this form of over-cutting problem. You can use techniques similar to the
drawing shown in the previous illustration, actually drawing in the exact cutter size being
used.
Second, since the program will behave properly if the offset is small enough to allow the
programmed motion, this over-cutting problem may not present itself the first time the
program is run. It is possible for the program to have been run several times, then the
operator may change cutter sizes (to a larger cutter) and then the over-cutting problem
7
Drawing illustrates that cutter radius must be smaller than smallest inside radius
10
Drawing shows a time when you may be tempted to program a reversal in motion directions
Since the control will be keeping the tool on the right side of the surface programmed (in
this case), the workpiece will be badly violated, yet no alarm would occur.
11
Drawing shows what happens when you program a reversal of motion direction under the
influence of cutter radius compensation
In this case, the programmer would need to program the motions around the contour of
the slot. As long as the cutter is equal to or smaller than the slot width, the program will
execute properly, generating the desired cutter path.
Hints on how to cancel cutter radius compensation
After all cutting motions are completed, you must cancel cutter radius compensation with
a G40 command. However, there are times when your last cutting motion may leave the
cutter in a condition that makes you prone to making an error during the cancellation
command. The next drawing shows a series of motions generated by the program to
follow.
12
Program:
O0020 (Program Number)
N005 G54 G90 S350 M03 (Select coordinate system, turn spindle on CW at
350 RPM)
N010 G00 X0 Y2.2 (Rapid to point 7)
N015 G43 H01 Z.1 (Rapid down to just above work surface)
N020 G01 Z-.5 (Fast feed to work surface)
N025 G41 D32 Y1.5 F5.0 (Feed to point 6)
N030 X1.299 Y.75 (Feed to point 1)
N035 Y-.75 (Feed to point 2)
N040 X0 Y-1.5 (Feed to point 3)
N045 X-1.299 Y-.75 (Feed to point 4)
N050 Y.75 (Feed to point 5)
N055 X0 Y1.5 (Feed to point 6)
N060 Y2.2 (Feed to point 7)
N065 G40 (Cancel cutter radius compensation)
N070 G91 G28 Z0 (Return to reference position in Z)
N075 G91 G28 X0 Y0 (Return to reference position in X-Y)
N080 M30 (End of program)
13
14
15
Drawing shows an example of when tool nose radius compensation can be used to help hold size
16
17