How do I plan a program when the raw stock varies from part to part?
In a perfect world, every blank would be the exact size in your CAM file. In the real world, saw-cut bars vary in length, plate comes in thick and bowed, and castings and forgings may vary significantly from one piece to the next. A program built for one exact stock size can cut air on some parts and slam into extra material on others. Planning for variation keeps the program safe and consistent no matter which blank gets loaded.
Measure the variation before you program.
Check several pieces from the batch and record the smallest and largest sizes in every direction. Note saw-cut length, plate thickness, flatness or bow, and on castings, how much features shift. Check the supplier's tolerances as well. You can't plan for variation until you know how much there is.
Model the largest stock and confirm the smallest.
Build your stock model at the maximum size so every approach, retract, and clearance plane starts outside any material that could be there. Then confirm the minimum size still has enough material for every finished feature to clean up. Simulating at both the largest and smallest stock sizes shows you what happens at each extreme.
Establish datums from machined surfaces.
Don't rely on raw stock edges for anything critical. Use the first operation to create consistent reference surfaces, such as a faced top, a squared edge, or a turned diameter. Then set later work offsets and setups from those machined features. That stops raw stock variation from carrying through into the finished part.
Face from the maximum height.
Program facing passes to start at the largest possible stock height and step down to the finished face. On smaller blanks, the first pass or two may cut air, which adds cost in extra cycle time but keeps the tool from being overloaded on larger blank sizes. Think of it as insurance for success when running unattended or “lights-out” operation. On lathes, do the same with face passes starting from the maximum bar length.
Use probing to adapt.
A quick probe of the stock's top or sides can measure the actual size and set offsets automatically. With macro variables, the program can skip unnecessary facing passes on thin stock, or stop with an alarm if a blank is too small to make a good part. On castings, probing key features lets you shift or balance the setup so every feature cleans up.
Locate consistently in the workholding.
Load parts against a hard stop, a fixed vise jaw, or specific locating points so variation pushes material in a predictable direction. On saw-cut bar, locate on the outside diameter and use a part stop for consistent stickout. On castings, use the datum targets from the casting drawing; those surfaces are designed to locate the part repeatably.
Use roughing strategies that adapt to stock.
Constant-engagement roughing toolpaths are built around a stock model, so they keep load steady even when the amount of material changes. With the stock model set to maximum size, the toolpath plans for the worst case and moves through the empty areas on smaller pieces. Use smart linking and clearance settings so those air moves stay quick and safe.
Get under the skin on castings and forgings.
Rough surfaces carry scale and hard spots that wear tools quickly. Set the first pass deep enough to get under the skin at the smallest stock size, rather than riding along the surface on some parts and cutting deep on others.
Fix it upstream when it makes sense.
Sometimes the best solution isn't in the program. A tighter saw-cut tolerance, ordering stock to a more consistent size, or squaring blanks in a dedicated first operation can save more time than programming around wide variation. Talk to purchasing and whoever runs the saw about what's possible.
Document your stock assumptions.
List the minimum and maximum stock sizes on the setup sheet, along with how to load the part and what to do if a blank falls outside the range. Operators should know exactly when a piece of stock needs to be set aside instead of run.
Bottom line:
Variability in raw stock sizing is a given. The only question is how much variation you need to plan for. Model the largest stock, confirm the smallest still cleans up, build datums from machined surfaces, and use probing to adapt when you can. That way every blank runs safely, whatever size it shows up in.
Have a programming question?
Send it in for the next edition of Ask a CAM Pro!
|