If you're in the G-Wizard Beta Test, you're eligile to join the CNCCookbook User's Club. What the heck is a User's Club? Well, it's my attempt at a friendly name for the online support forums and community that G-Wizard users have available to get help, interact with one another, and learn new things. If you're not into G-Wizard, no worries, move along, these are not the droids you're looking for!
OTOH, if you are into G-Wizard, the User's Club is a great new resource for you. It's only open for registered users. To join, go there and click the Register button at the top right. You'll receive email telling you what to do next.
G-Wizard even has a User's Club button, so you can head over if you think of a suggestion or hit a snag and want help:
Eventually, I'll set the button up to change colors if there are unread messages there. User's Club is just the first of many Internet features the CNCCookbook software lineup will have.
7/27/10
An iPad Mach3 Pendant
This is pretty cool.
How would you like to use it as a full-featured Mach3 pendant and even run G-Wizard too so you can check your feeds and speeds or do a quick calculation right at the machine? All this when neither Mach3 nor G-Wizard can be run on the iPad. What gives? Or, how would you like to make a quick tweak to your CAM program, but it's on a machine in another room from where your PC is located? Tweak and fire up the DNC right from your iPad.
Find out how to do it here, and you'll soon be able to do this:
The New Mach Standard Mill screen set running on my iPad...
More testing needed, but for circa $12, this is pretty cool. A lot of folks don't like to run the Internet on their Mach3 machine. They want to keep the machine lean and mean and dedicated to Mach3 so there are no hiccups. Here's your chance to access the Internet, G-Wizard (which wants an Internet connection), and get a fancy new pendant all at the same time.
The Fascinating World of Dry (and Near Dry) Machining
For many machinists its hard to imagine life without flood coolant. For others, its a necessity because their machine may not be set up for flood, or there may be other factors at work. Many sources indicate that coolant related costs are much higher than tooling--2 to 3x as much in fact. In addition, we live in a world that is increasingly concerned with the environmental and health impacts of what we're doing. Disposing of old coolant is problematic for most shops, and breathing in too much coolant mist is a huge potential health risk. Shops in Europe, for example, already much more commonly use Dry or MQL (Minimum Quantity Lubricant) Machining Techniques than in the US because coolant disposal costs are much higher there. Yet, countries like Germany are still forces to be reckoned with in terms of their manufacturing economies. There are new regulations already proposed that over time would make it harder to keep on with flood cooling here too.
Enter the world of Dry Machining. Can we machine without flood coolant? In many cases, the answer is, "Yes!" But what does it entail?
First, recognize that coolant is performing a number of tasks:
- Cooling: That's why the call it coolant!
- Lubrication: So gummy materials like aluminum don't create built up edge, and to reduce friction, and therefore heat.
- Chip Clearing: In many ways, this can be the most important function of all. Recutting chips destroys surface finish and dulls tools much more quickly. In the worst case, a cutter down in a slot or hole can get clogged with chips and get much hotter or even break.
When Dry Machining, we have to consider each of the functions of the coolant we hope to get rid of.
Lubrication and Built Up Edge
Let's start with Lubrication. I have the least to say about it, but that doesn't mean it isn't important. For starters, lubrication helps the tool to cut more easily and while generating less heat. As the face of the tool slides across the workpiece, it rubs while cutting. As the chip curls up, it also rubs on the tool, generating more heat. All that rubbing will produce less heat with a little lube, just like any sliding fit would. That's an important role for lubrication, but it's kind of a refinement of the cooling issue (generate less heat by reducing friction and we don't have as much to cool). A much bigger deal is reducing the likelihood of Built Up Edge (BUE). This is a big deal as anyone who has seen a big wad of aluminum get welded to their cutter will attest to. Things stop working pretty quickly when that happens!
Fortunately, BUE is pretty material-specific, and mostly applies to Aluminum and Steel that lacks much carbon or other alloying substances. Use of really sharp cutters with very high rake angles (positive rake is your friend!) also help tremendously. In the end, a little bit of mist can deal with this problem as well as flood coolant, so it isn't the end of the world. Just don't forget to do something before that wad of aluminum welds itself in all the wrong places.
Chip Clearing
Next up is my personal fave to worry about when Dry Machining: Chip Clearing. A good air blast can help tremendously with that. But, certain operations, typically hole making, have a hard time getting by on air alone. Deep hole boring and drilling are going to be the two operations you'll have the most trouble going dry on for that reason. If you must, at the very least try to offset the lack of flood with through tool air and preferably through tool mist. The trick is pumping enough of it through to blow the chips out. It's easier with a liquid coolant because it is denser, and less of it will carry the chips away better, not to mention conducting heat better. If you get it all right, with through tool mist, you can even see longer tool life than with flood coolant. Note that the natural chip clearing advantage gravity gives to horizontal mills and lathes versus vertical mills is particularly helpful if you're making holes without flood coolant.
Cooling
Which brings us to our next issue, Cooling. The temperature of the tool is probably the biggest factor affecting too life. A little heat is good, as it softens the work material, making it easier to cut. A lot of heat is bad, as it softens the tool, which means it wears rapidly. Note that the heat to be tolerated is hugely dependant on the tool material and coating. Carbide takes a lot higher temperatures than HSS. Some coatings, such as TiAlN really need the higher temperatures to do their job properly, and are often used without coolant. There are lots of stories out there where turning the coolant off increased tool life under the right conditions. Carbide is susceptible to micro-cracking under the thermal shocks of uneven heating and cooling. Sandvik, in their cutting tool study course, recommend either no coolant or copious amounts of coolant to avoid this problem. It should also be note that too much heat is not helpful to accuracy, as it makes your workpiece change size.
How, then, can we keep things cool without flood? Before we get into that, a word about coolant type. There are water soluble coolants, and there are oil-based coolants. From a cooling standpoint, the water soluble coolants win. How much? Consider this data:
Coolant
Specific Heat of Coolant
Steel A (tempered)
Temp Decrease %
Steel B (annealed)
Temp Decrease %
Air
0.25
Compound oil, low viscosity
0.489
3.9
4.7
Compound oil, low viscosity
0.556
6
6
Aqueous solution of wetting agent
0.872
14.8
8.4
Aqueous "soda product" solution, 4%
0.923
-
13
Water
1.00
19
15
First thing to notice about the table, is that the efficiency of the various coolants at removing heat directly corresponds to the specific heat of the coolant. Second thing to notice is that air is pretty lousy, about 1/4 as good as water. It's interesting to note that the oil-based coolants are about half as effective as water-based in terms of their ability to cool the tool and workpiece. Between that and the health considerations, its no wonder a lot of shops have gone to water-soluble coolants--they just cool better. One last think about flood coolants--above a certain critical surface speed, they all start to work about the same, and the faster you go the less cooling effect they have. One reason for this is that when things are going really fast, there isn't time for a big gout of coolant to make it's way into all the nooks and crannies. Cooling becomes less and less consistent, and this also contributes to the shock cooling effects that make coolant hard on carbide life above certain speeds.
Well, putting aside that we may be using TiAlN coatings or other conditions that don't want the coolant, we're still not at a loss. Plain old air provides cooling, but, it'll take quite a bit of it to keep up with the cooling we had from flood. So, make sure you have plenty available. Mists also cool better than dry air, and can rapidly close the gap with flood where cooling is concerned. A mist also gives us the opportunity to reintroduce some lubrication, which is very helpful with materials like aluminum. Here's another of life's ironies--at higher speeds, mist does a better job getting into the nooks and crannies than flood coolant can.
There is another answer, though, which is to use air that's already cold. You certainly can refrigerate the air in various ways, and it cools all by itself as it expands coming out the nozzle, but, there is a nifty device called a Vortex Tube that will cool the air too. The coolant data above, as well as a detailed study of cooling using plain air or a Vortex Tube may be found in Brian Boswell's fascinating PhD thesis, "Use of air cooling and its effectiveness in dry machining processes."
This is quite a fascinating read, if you really want the nitty gritty. Boswell goes through rigging up some fascinating lathe toolholders that have air passages for directing air streams onto the insert and the workpiece in all the right places, but he ultimately concludes the Vortex tube is a better mousetrap. If you plan to use plain air, it has to be applied in just the right places to get the job done. Boswell found the Vortext Tube was much easier to adjust because its nozzle can be further from the workpiece, and that in the end, it was capable of keeping the workpiece just as cool as flood coolant.
That sounds very promising. As it happens, I've got a Vortex Tube set up for this purpose that I got cheaply on eBay. I had set it aside because they use quite a lot of air, but since installing the big compressor, I plan to bring it out and give it another try. One of the things I wonder about is using it from one side and a little mist from the other for cutting materials like aluminum that are prone to sticking to the cutter.
Cutting Parameters for Dry Machining
Okay, let's suppose you don't have anything as exotic as a Vortext Tube, but you're set up with air to blow the chips away, and perhaps some mist for lubrication. What impact does this have on your cutting conditions (feeds and speeds) versus flood coolant? Remember, I'm the G-Wizard guy, and wading through all sorts of PhD thesis and other information is what I do to put G-Wizard ahead of the pack. So, I've been gathering the data on this, and am ready to start building it into G-Wizard. Here are some preliminary results:
1. Leave the chipload alone. The parameter to adjust based on coolant is your surface speed, which will result in somewhat lower feedrates for a given chipload.
2. Above a certain surface speed, forget about adjusting for coolant. Most of the time you'll want to turn coolant off at this speed anyway. Let's call this the critical surface speed. It's a little lower, but one can assume that it is definitely the recommended speed for TiAlN coated tools. TiN coatings can still benefit from coolant, so the number is at the high end of the TiN ratings and definitely below TiAlN. Obviously this all varies by the material you're cutting, so I can't just trot out a number.
3. Below the critical surface speed, there is a correction factor that can be applied. Like the critical speed, the factor varies by material, but it ranges from a low of about 60% to a high of 85%. In other words, for some materials you should run at 60% of the recommended speeds (manufacturer's recommendations almost always assume coolant), and for others, you could run at 85%. The variations are a function of factors like how well the material conducts heat (high temp alloys are tough to machine in part because they don't conduct heat so well, so it builds up right at the cut), how much it relies on the lubricating properties of the coolant, and so on.
I'll post another article when I get done building coolant correction into G-Wizard, which won't be too long because after several months of research, I finally collated all the results today. Meanwhile, get signed up for the free Beta test (all it takes is name and email), and you'll hear about it directly:
What About Surface Finish?
There is one last Dry Machining issue to be shared. When finish machining, the surface finish of Dry Machining is often not as good as with Flood Coolant. There are many contributing factors, but a lot of it comes from the need to slow down the surface speed. When that happens, its important to compensate with a larger tool radius (or the milling equivalents) to keep the finish up. The secondary factor is the lubrication effect makes for less tearing and more gentle burrs. Mist can be helpful there.
Conclusion
All right, so what's the conclusion here?
Clearly, flood coolant is superior to dry machining and mists if we can ignore the costs associated with the coolant, and if we have a machine capable of dealing with flood coolant. But, the effects are perhaps not as extreme as some may have feared. Mist is recommended for sticky materials, a Vortext Tube or other cooled air solution can work just as well as flood at the cooling part, and, if all else fails, at least make sure you've got an air blast to clear the chips. Given all that, the difference between Dry and Flood Cooling is probably in the 20-25% range in terms of impact of Surface Speed and none at all on chiploads.
Some situations that are difficult without coolant:
- High-temp "Super Allows" pretty well must have coolants unless you use tooling where coolant isn't recommended.
- Materials that form a built up edge (some stainless and aluminum) want either coolant or at least mist to discourage it through lubrication.
- It's very hard to get the chips up out of deep holes without coolant. Through the tool high pressure mist is a possibility.
Now consider:
- If your spindle isn't the fastest in the land, you may have already detuned your surface speeds downward because your spindle won't go fast enough. This will largely be true with aluminum (or soft materials like brass) and smaller cutters with carbide. The net is no penalty for such machines for not having flood coolant.
They say beauty is only skin deep, but where software is concerned, I think the UI runs much deeper than that. Without a great User Experience, an otherwise very powerful engine can lurk beneath unused.
I've been using Mach3 for years, and love it. It's a powerful engine, and it has had a decent UI, but not a great UI. By now you've probably seen it or even tried it:
The Old Mach3 UI...
It's functional, but garish and things don't line up very well. There are deeper issues, but suffice it to say, I have been thankful that Mach3 allows alternate screens (just one more aspect of the powerful engine), and I've been taking advantage of it for quite a while. Tormach provides an alternate screen that's pretty and more functional to their users too. It's written in Flash and deals with utilizing more screen resolution where available.
This is all fine and well, but unless Tormach or someone deals with setting up a turnkey system for you, many users will not go to the trouble of modifying or even changing their screen set for Mach3. But, there is good news--Brian Barker and David Bagby are making available for Beta test a new Mach3 screen set that's excellent:
Isn't that a gorgeous screen? Much calmer, though no less complex. Because of the tasteful use of colors, and all the elements are properly aligned, they eye is less distracted by little imperfections and can focus on the task at hand. There's a lot more to this screen set than just good looks, though. Dave Bagby invested a lot of time analyzing other popular Mach3 screen sets and talking to users about their likes and dislikes, and he built a whole lot of that into this screen set.
Let's start with consistent navigation. The bar along the bottom lists all the available screens. And it stays put--no matter which screen you're on, the bar is in exactly the same place with exactly the same choices. But that's not all. If we look at the "User Exts" screen, a place for you to put any extensions you've made to Mach3, you can see that the jogging and MDI clusters stay put as well:
There's a lot going on in a CNC controller, and some of the screens you won't visit all that often. Always having the nav controls (your most commonly used controls) in one place is hugely valuable to productivity. Note that the status information is right at the top and pretty well stays there too unless you're on a screen where it would make no sense. Consistency is a real virtue for User Interface (or User Experience as it has come to be known) design.
I want to point out one more goodie, which is the ability to get at all the documentation, release notes, and reference material right from your Mach3 screen:
It's very handy not to have to go dig up a printed document or fumble for a pdf or web browser. There's a lot more to like about this screen set. I think it'll be great that every Mach3 user can get it by default when they go to the new version. That saves them the vagaries of learning how to install a new screen set (although Dave has built a nice installer program to go with these new screens as well). I've found the Mach3 Standard Mill (the name of the screen set) to be quite stable and a wonderful improvement over the defaults. Highly recommended.
The full scoop on how to get the new screen is here on the new support forum for the screen set. Be sure to go through the instruction before just installing. The screen was an integrated effort with Mach3, meaning there is some new Mach3 functionality needed for it to work properly. As a result, you'll need to download a new version of Mach3 (still a beta test) to use the new screen set. I was part of the alpha test for the screen set, and have really enjoyed it. Dave is wonderful about trying to make the code as stable as possible, and especially about providing lots of great documentation.
BTW, for those of you who are into software (sorry, I am, ignore if you aren't) and want to know what makes it all tick, there are several threads full of fascinating info about what MSM (Mach Std Mill) does under the covers and how it is integrated with Mach3. As Dave Bagby says more than once, "this is not your father's screen set." Many screen sets are just pretty pixels with a few added macros here and there. MSM truly is an integrated effort with Mach3 that significantly extends the functionality. There are some tantalizing details of that in this thread, which responds to why one must install a new Mach3.
7/17/10
Boring Big Holes With Small Boring Heads
Sometimes we need to bore a large diameter, but we only have a small boring head and it isn't practical to put the part in the lathe. What to do?
Check out the big bar. It's rigged across a couple of the holes, I'll bet...
Take it easy, light cuts, and the surface finish looks pretty decent. This was done on a Bridgeport. Initial passes with quill, final pass with quill locked by cranking the knee...
Increasing the Rigidity of a Small Lathe
The compound slide on a lathe is convenient to have, but it does reduce rigidity a certain amount. For that reason, you'll often see cases where the compound is removed and the tool is mounted directly on the cross slide. But I came across this clever method of increasing rigidity for a small lathe:
A typical compound slide arrangement...
Compound supported by a screw in post to reduce deflection. I'll bet that helps quite a bit for a parting off tool such as is shown...
Anything Worth Doing is Worth Overdoing: Making a Boeing 737 in the Garage
Okay, the title does exaggerate, but this project deserves a little exaggeration. What starts out as lowly particle board eventually becomes an amazing replica of a 737's center console to be used with a flight simulator:
How real does it need to be?
This one is the real thing...
7/7/10
How Can I Increase My Tool Life?
I see this question fairly commonly. Let's assume you're doing everything "right"--correct speeds and feeds, no chatter, good clearance so you're not recutting chips. That's an important baseline. Once you get there, suppose you still want to increase your tool life. The usual answer, based on Taylor's equation for tool life, is to reduce your SFM. Surface Speed (largely spindle rpm), is the major determinant of tool life, while chipload and depth of cut are much less significant.
Based on a discussion of this on the HSM board, I recently added the ability to calculate how much a reduction (or increase) in your SFM will impact your tool life. G-Wizard has long had the ability to apply an override or correction factor to its recommended SFM. The correction factor can be stored with a machine profile. The new calculation looks like this:
Scan down to where it says, "Tool life vs 100% SFM". Reducing SFM 20% gets you 6x longer tool life!
As you can see, a little reduction in you SFM can dramatically add to tool life. In the example screen shot, I am reducing SFM to 80% of recommended, so it runs 20% more slowly. The predicted increase in tool life is 6x.
As I write this I haven't yet released the update to G-Wizard for tool life in the wild, but it'll be out in the next release I make.
7/5/10
Slick Tormach Toolchanger Video
One thing about Tormach: those guys are never sitting still! I came across this video of their toolchanger prototype and thought it was very cool:
A lot of folks are going to want to get their hands on that Bad Boy when Tormach finishes making it production-worthy. They showed a prototype in the past, but it looks like this one is making some real progress forward. Adding a toolchanger will really step up the capability of the Tormach mill. This is one I'll be watching closely.
7/3/10
BC: Before CNC at NACA/NASA
Thanks to an HSM thread, I went out and found some cool pictures of how hydraulic tracer mills could be used with a 4th axis to make complex parts. Yes Virginia, there was life BC (Before CNC)!
The date: 1945. Cutting an impellor for a turbocharger or centrifigul flow turbojet. Twin hydraulic tracing probes, larger than life tracing models, 4th axis, and a Bridgeport headed mounted on that Cinci milling machine so they can get more rpms.
1952. Could be the same machine, just a little bit older and with a few more modifications. That's a more complex looking impellor. The machinist has a T-shirt and jeans. He'd feel right at home in a shop today! Note the one tracer model is on the 4th axis, so it drives the A-axis. The Z-axis is controlled by the model that is just off the picture on the left. The models look like they're made from plywood?
Making 4 simultaneous blades for a jet engine with a tracing mill...
Boring on a jet engine section. Note the shopmade steady rest under the flange. Just a couple of bearings to support the bottom. That's a good sized boring bar he has there. Come to think of it, the compound on that lathe is nearly as big as my lathe!
7/2/10
Free Local Advertising for Your Business on Google
A lot of machine shops rely on local business. It turns out you can get some free advertising help from Google. They're trying to make Google Local and Google Maps more relevant, and they want your information to help. In exchange, you can wind up with some free advertising. To take advantage of it, you'll need:
- A description of your business.
- Your phone number, address, and any other contact information
- A logo or image you use with your business
- A coupon or special. This is optional, but Google will let you add one for free if you like.
To get hooked up, follow these steps:
1. Go to Google Local and search for your business. You need to verify it is not yet listed with an ad.
2. Go back to the Google Local link and click Add/Edit Your Business (bottom left part of the page).
3. Follow the steps provided by Google.
You can check back in a few weeks to verify what got listed.
This idea comes from the Hubspot blog, which is a great source of online marketing ideas for small businesses.
6/30/10
Pre-CNC Machine Tool Automation
Screw machines are fascinating devices. Programming is entirely mechanical. Here's a venerable Brown and Sharpe 2G chugging away:
Machine Vintage: 1942!
Handy Table Clamps from Pipe
These clamps from J Tiers look handy and very easy to make:
6/26/10
Thoughts on Tool Rigidity and Deflection
I was recently asked by a G-Wizard customer how to determine their depth and width of cut. This is a hard question, because there are many trade offs. This customer's primary concern was that they not break a cutter. For the most G-Wizard is set up to help avoid that for obvious reasons (!). In general, cutters are broken when chiploads are exceeded. G-Wizard will automatically scale back chiploads as you attempt more aggressive cuts that have either a great depth or width of cut. Other than keeping the chipload within limits, the other issues I find involve various ways that the chips manage to jam up the cutter.
You need to also be aware that for some sticky materials like aluminum, some for of lubrication helps. Built up edge on your cutter dulls it and pretty soon you can wind up with a nasty blob of aluminum completely engulfing the cutter. Nothing good comes of that!
In addition, if your coolant or air blast is not clearing the chips well enough, chip recutting is going to jam things up and dull the cutter too. Keep an eye on it, especially if you are putting your cutter down in some narrow canyon where the chips tend to accumulate.
But things often go to pot well before we break a cutter. Deflection, for example, is a pretty common and can ruin the accuracy of the cut if nothing else. I found an excellent Kennametal link that has some interesting tips about deflection. I didn't have to look at them for long before I had whipped up an Excel spreadsheet to compare the trade offs, and from there, it was a short trip to creating an experimental "rigidity" calculator for G-Wizard. It looks something like this:
A 1/8" endmill versus a 1/2" endmill...
The calculator breaks down how much each component, cutter diameter, cutter length, and cutter material, affects the overall rigidity. The length is measured from where the tool holder or collet ends to the deepest point where cutting occurs. So in this example, we're saying 1.25" down from the tool holder on the 1/2" endmil and 1/2" down on the 1/8" endmill. The result is that the 1/8" endmill is about 1/16 as rigid as the 1/2".
Consider some other scenarios we can analyze with the calculator:
A 1/2" endmill at 1" depth is twice as rigid as the one cutting 11/4" deep. Be careful with deep cuts and choke up on the tool as much as you can in the holder.
A 1/4" endmill at 1" depth is almost 1/16 as rigid as the 1/2" endmill at 1" deep. Use the largest diameter endmill that fits your internal radii.
A 5/8" endmill at 1" depth is 2.4 times more rigid than a 1/2" at 1" depth. I have a little 5/8" Iscar Helimill indexable cutter. Even though it adds a mere 1/8" in diameter, it is more than twice as rigid. That's why I like to rough with it.
For turners, you can get a sense of the rigidity of different boring bars from the Calculator as well. It's no wonder that using the biggest carbide bar that fits the hole makes such a difference!
If you're having a problem with deflection, try this calculator. I'd look at increasing rigidity 2-4x and seeing if the deflection problem doesn't go away or isn't greatly reduced. If it is still an issue, bump up another 2-4x in rigidity until you get rid of it.
If you'd like to try the Rigidity Calculator, make sure you've signed up for the G-Wizard Beta Test and have downloaded the latest release.
BTW, this is kind of late-breaking as I already uploaded the latest which added all sorts of goodies before I wrote this calculator this morning.
6/25/10
ShopVac Parts Catcher for a CNC Lathe
Watching that video made me think an excellent parts catcher for small parts could be put together from a shop vac for CNC lathes. Whether you choose to move the hose or leave it fixed near the chuck, it should be possible to control the vac with a relay and an M-code. Might want to put some foam rubber in the bottom of the shop vac barrel so the parts don't fall down too far and get banged up.
Worried About Viruses on Your Computers?
Some machinists will not let the machines in their shops have Internet access because they're worried about viruses. It's important to be vigilant, but it's also important to be well-informed and to run appropriate anti-virus software. I couldn't do without Internet access in the shop--too many great resources I want to refer to.
- Maybe you don't want to run one of the market leading anti-virus programs. After all, those are the ones most virus writers will try to get around first. Symantec and McAfee score pretty poorly in the article I linked to, for example.
- Viruses are much more likely to come to you via e-mail than web browsing according to the article. What are you doing to prevent it? I run all my email through Google G-mail. Google is a company that does a great job blocking spam as well as detecting and eliminating viruses from incoming messages. Plus, its much easier to use than Outlook, and I can access my mail from any computer with a web browser.
- Given that viruses are often passed around via email, what are your family members doing about virus protection? Be sure their machines are protected and that they understand not to click on any phishing notices. I hear from a lot of folks who were infected because a family member read an email from a friend that was infected and forwarded it. Of course, if your whole family is on G-mail, that helps too!
- Keep your software up to date. For example, if you use G-Wizard, there's a new 10.1 Flash player out that fixes various vulnerabilities and runs faster to boot. I always take the latest updates for my web browser, operating system, Flash player, and so on.
Just a few thoughts to stay safe in the online world!
6/23/10
Wonderful Amateur Machinist's Board
I wanted to give a hat tip to Mad Modder, which is a wonderful board. I had seen it before, but hadn't really got into the habit of checking in as often as I should. I think of it as sort of an offshoot of the HMEM Board, but one with a more general focus than just the model engines. Same really nice atmosphere (no trolls allowed), and as a result, many of the same really nice machinists that you meet around many other boards congregate here.
Here is a little sampling of some projects that caught my eye this most recent visit:
Wander over and check out the site. You really can't go wrong if you like such projects!
6/20/10
Shiny Cubes
Here are some photos of some little (0.600") cubes I made. Eventually, they will be turned into some jewelry for my wife and daughter:
Actual size...
Close-up
These were done with my Glacern 45 degree facemill. They're 6061. Feedrate was 20 IPM, spindle was 1600 rpm, and depth of cut was about 10 thousandths for the last pass. It's hard to photograph, but there is a slight "rainbow" diffraction effect when the grooves are close together. You can see it slightly on one of the lefthand cubes (diagonally up to the left from the bottom-most cube). These would have come out better with full flood coolant (I don't have it), but they're not too bad considering they are straight off the mill. I'm going to throw them into the vibratory polisher for a few days before I get on with the next step. You can see a pretty good reflection in the one on the right, but as I've said before, you don't really get optical mirrors right off the mill.
6/13/10
Kenneth Maxon's Crazy Cool 'Bots
Amateur robotics is a decidely high-brow hobby, although I like to think that my CNC conversions are just "blue collar" bots.
I've been following Kenneth's work for quite a while and he recently sent me some photos of a new project:
Sojourner's task is to autonomously circumnavigate a residential neighborhood...
One of the things I find intriguing about Kenneth's work is it is always so intricate. These are not simple, knock-it-together designs. The parts are quite complex and finely detailed:
Hopefully you've had a chance to join the beta test and play with the G-Wizard Machinist's Calculator. If not, check it out, it's very cool!
Equally as cool is the G-Wizard G-Code Editor that will soon be joining the G-Wizard lineup. I've been spending a lot of my programming time on it (though the Calculator continues to get new features too, watch for another one tomorrow!), and it is starting to bear fruit. Here is a very grainey early demo video of it that shows off a few of the basic features working:
G-Wizard G-Code Editor...
Sorry for the lousy quality of the video, I was having some problems matching the resolution of the screen capture against my machine and didn't have time to iron that all out. The Editor is not ready to release for testing yet. There are still too many bugs and not enough features. I like to make my software at least a little bit useful before I turn it loose on the unsuspecting world. But, I thought you might enjoy an early preview of what's coming!
The primary goal for the early version of the editor I will make available to testers will be basic g-code editing plus features that make it super easy for newcomers to learn G-Code. Towards that end, you can see things like the Hint view that translates the G-Code to simple English line by line. After this early version is available with solid simulation and education features, I'll start to add the power user features. I have some ideas for some very cool features that haven't been seen before that I think everyone will really like.
If you want to be sure not to miss the opportunity to try the G-Code editor, be sure to sign up for the Calculator Beta Test. Everyone there will get email telling them when the Editor is available for test and how to go about installing it.
6/8/10
CNCCookbook T-Shirts
I'm thinking of doing a T-Shirt design for CNCCookbook. Let me know what you think of the ideas.
Laser Fishmouthing (or Tube Scallops, if you prefer)
Michael Moore called my attention to this great video:
Looks like a great advertisement for why I need a plasma table with 4th axis to me! That laser really cooks, doesn't it?
Mill Fine Tramming Adjustment
Hold the presses, somehow I missed a really cool and very simple mod to the mill.I love this idea that MachineChick published on CNCZone:
That little setscrew with locknut will apply pressure to the top of the head causing it to pivot smoothly. Makes tramming the head faster, easier, and more precise. I would think it might help hold the head in place a little better too! Mount one on either side so the head can be pushed either way.
This is now at the top of my projects page (not that they're really in order). I gotta get me one of those!
How Well Must I Align My DRO?
When you mount a DRO, every effort should be made to ensure the DRO is tracking parallel to the axis. A failure to do that can result in two problems:
First, the DRO is travelling the same distance as the axis, because it is not parallel. Hence there is some diagonal versus the shorter side of the triangle that the DRO reader head is moving.
Second, the potential exists for binding. The DRO's components are made to a high accuracy, and they don't like to have to "give" too much. The reader head is rigidly attached to the machine axis. If the scale itself isn't parallel to the axis, the reader head is going to be moving closer or further away from one end of travel to the other and could quite possibly be damaged.
Of the two, the second (potential for binding) consideration is by far the more important. The actual geometric error in measurement of a non-parallel scale is slight and be calculated using G-Wizard's triangle calculator as follows:
2 tenths error on a 30" DRO scale that is misaligned by 0.100"
Assume a scale length of 30" that is out of alignment by being high relative to the axis travel 0.100". When the DRO has travelled 30", the axis has only travelled 29.9998", so it's out by 2 tenths. Presumably, tenth accuracy therefore only requires alignment to 0.050" for a relatively long 30" scale. Even a long 60" Z-axis on a big lathe still only takes alignment to 0.025". But, most DRO manuals require you to align more much more closely.
There are some exceptions based on the construction of the DRO. Newall's excellent spherosyn DRO's use rods rather than glass scales. Once you have the head level to 0.002", there merely have you insert the rod and use a transfer punch to locate the mounting brackets. The head is only aligned so accurately because you have a relatively short baseline (length of the head) in which to determine that the rod is aligned with respect to the axis. However, the rod itself can tolerate a little "give" much better than a delicate glass scale.
Fishmouth Templates for Welders Using CAD
A fellow on HSM reading about the CNC fishmouthing mentioned his firm would create templates and then torch cut 6" pipe to make their fishmouths. He wanted to know if cheap CAD systems could make the templates by unrolling the surface. No problem. Rhino3D did that task lickety split:
In fact, I deleted a lot of the templates, because unroll gives you one for every exposed surface. There is an inner, outer, top front fishmouth edge, bottom front fishmouth edge, and even the ring that is the rear edge of the pipe. Print that out 1:1 and you've got your template.
6/5/10
CNC Fishmouths for Welders
CNC machines are excellent in terms of precision, repeatability, and doing tasks that would otherwise be difficult to get right manually. Take the cutting of arbitrary "fish mouths" as needed when welding tubing together to make frameworks. Imagine you're welding a bicycle frame, for example. Tubing of different sizes is coming together at various angles. The "fish mouth" is the shape one piece of tubing must have to be fit closely to the curve of another before welding can commence. Given the possibility of different angles, different diameters, and even different shapes (square tubing meets round tubing), these shapes can be odd. The name "fish mouth" (and I can't seem to decide if it is one word or two) comes from the shape's resemblance to a fish's mouth.
There are a variety of jigs and fixtures available to facilitate fishmouthing (if I may use that oddly contrived word). They hold the tubing in the desired configuration while an annular or other cutter comes down vertically. I didn't have such an apparatus at hand and needed to make some fishmouths as part of my tapping arm project. It seemed immediately obvious that my CNC mill would be a good choice for the job. The first task was to make up the proper curves for the fishmouths so my CAM program could generate g-code. That was also very easy in my favorite CAD program, Rhino3D. I started by drawing the configuration that needed the fishmouths:
Two 1" diameter round pivot blocks with the 1" square tubing between them...
Since Rhino3D is a solid modeller, we can "subtract" shapes from one another. I merely drew up the configuration and then "subtracted" the two blue rounds from the red square tubing. What was left is a perfect solid model of the desired fishmouth:
The result after "subtracting" the blocks to create the fish mouth with the right curves and angles...
Now I made 2 g-code programs using OneCNC. The first was to cut the diagonal side profile. "Why use CNC for something that simple?" you ask. Because its fast and easy. I have been fixturing using my Kurt-style vise. I set the part zero as being the left corner of the fixed rear jaw on the vise. I insert the square tubing 1" past that edge. Close enough is good enough--so even a tape measure will do on the diagonal. Insert tubing in vise, clamp, press green button, reverse tubing, repeat, done! CNC is great for this kind of repetition. Yes, you as easily set up a chop saw, but this was faster and more precise for me. In fact, I've seen a number of accounts of people using their CNC's largely just to saw pieces to size, especially lathes with bar feeds.
Okay, the second program cuts the upper and lower fishmouth. Its a quick and easy program. The curves are, in fact, elliptical and not circles, but that didn't phase OneCNC. Here's what the toolpath looks like:
Imported into OneCNC XR4 and profile curves created for the upper and lower curve...
The whole process took maybe one hour. If I'd had a fish-mouthing fixture, I could have done it faster, but probably not a lot faster. For this approach, I needed no special tooling and I can run off as many of these tubes as I like very quickly. The best news was not only that this was fast, but the fit was really nice. A little deburring with a file and I was ready to Tig together the parts.
6/3/10
Learning G-Code
G-Code is what the programs you feed to a CNC machine are called. While many prefer to avoid it as much as possible and rely on their CAM programs to "know" the g-code, you will ultimately come to a point where you wish you had a deep understanding of g-code. You will need such an understanding in order to do one or more of the following:
- Understand what your CAM program's g-code is really doing.
- Modify or fix that CAM program g-code to get a better result. I've seen bugs appear from time to time in every CAM program I've come across. If you don't know any g-code, you're just stuck with trial and error and at the mercy of your CAM provider. If you know some g-code, you can get into the CAM's program and fix the problem by hand in order to move ahead. Many have found that CAM generated code can also be improved upon with a little judicious hand tweaking.
- Lathe programs are often pretty simple and therefore not worth firing up the CAM program. Perhaps you don't even want to spend the money for lathe CAM.
- MDI. You're at the machine. Your CAM program is elsewhere. You don't have a drawing. You just want to make some chips quickly for a simple part, and the manual machinists are laughing at your inability to git 'er done. But wait! You've MDI and a notepad you can type code into. If you know g-code you can git 'er done.
The long and the short of all this is that a knowledge of g-code can be a very handy thing indeed. It's a skill that you add to your toolbox, and one that sets you apart from some of the other machinists who don't have it. If you're a one man shop, or even a small shop, it helps you to stand on your own two feet.
How best to go about learning some g-code?
Well that's what got me started writing this thing in the first place. At the moment, I am engaged in learning g-code at a deeper level than what most machinists would ever contemplate as even being useful. I know, that's a bold claim, but I don't make it lightly. There are three ways to learn about g-code. One is a warm up, and the other two are the real thing.
The warm-up is passive. Read books like Smid's bible on the subject, "CNC Programming Handbook." Read your machine or controller's documentation on g-code. Putting those two together, you are likely to start to feel some of the special pain I'm going through because as you will learn: g-code is not necessarily the same from one machine to the next. That's why CAM programs have Posts. The role of the post processor is to take what the CAM program produces and tailor it to your specific machine.
Read code too. Go over the code that you CAM program puts out and figure out what it is doing and why. You will discover, for example, that they all emit a ton of code at the beginning whose purpose is simply to put the machine into a known state so that every program starts out on the same page if you will. For example, OneCNC (my CAM program) throws out a line like this near the beginning:
G-Code 0: Rapid positioning (moves at jog speed)
G-Code 40: Tool radius compensation off
G-Code 49: Tool offset compensation cancel
G-Code 50: Reset all scale factors to 1.0
G-Code 80: Cancel canned cycle
The "Hints" are to help people learn g-code faster. Are they helping you to understand what line N60 was all about? BTW, the editor isn't ready for public consumption yet, but if you want to be sure to be invited to try it, just join the G-Wizard Machinist's Calculator Beta Test so you'll be on the mailing list.
Okay, now let's say that you've looked at a fair bit of code, and you've now got some inkling of what those diabolical g-codes are doing inside your machine. Your next step is to write some g-code of your own. Try a simple program. Even if you're not going to cut any chips, load it into your control and single step through it while cutting "air" to see that it does what you expect. When you're comfortable with that, undertake a project that might be handy and something you'd use more than once.
For example, you could write a macro program that engraves your shop's logo at various sizes. In fact, you can even use your CAM program to create the logo (choose a 1" height so that its easy to scale it using G51 to any size you want and easy to calculate the scale factor (multiply by 1", Duh!). Use your new-found g-code programming skills to package that logo up as a reusable macro subroutine. Now you can slap it into any program, feed it a location and scale, and your logo will appear at the desired location and size. Cool beans!
So what's the last step in becoming a true Jedi g-coder? Well, in computer science, if you really want to learn a language inside and out, you have to recreate that language yourself. There is a lot of pain associated with that, but it is a rewarding experience in terms of the learning. If you happen to also need a g-code interpreter as I did for the G-Wizard Editor, then you have a happy coincidence. While it is hard to get good at writing g-code, there are a lot of times you can just bull your way through, trying various things until you get what you want. This is not the case when writing a g-code interpreter. The g-code interpreter has to understand anyone's g-code that happens to come in so it can do whatever it is going to do with the g-code--displaying a backplot of what your tool is doing in the case of my editor, or actually controlling that tool via steppers or servos in the case of Mach3 or a Fanuc controller.
Understanding anyone's g-code is where the rub comes in. The language itself seems simple, but it is not very well documented, and there are lots and lots of variations. I was taking note of all the reference sources I keep open when I'm researching how a particular g-code is supposed to work. Here is a partial list (perhaps you'll find some of it useful):
And of course, I have a couple of the Smid books and whatever else is available along with Google searches to find examples and more data. Some of it can be a bit obscure. Haas offers this PowerPoint slide show on some of their non-standard g-code behavior.
Do I really need to go through all of that stuff? Well, consider the G51 scaling code that you may want to use for your logo. First, there are a number of variations:
- X, Y, and Z may indicate the "scaling center" so that you can not only scale, but position relative to the original program.
- X, Y, and Z may instead indicate individual scale factors along each axis. X2Y1Z0.5 would make it twice as long in X, the same in Y, and half as long in Z, for example. Or, some controls put these individual factors in IJK.
- Some controls only allow one scale factor, to be contained in "P". P2 gives me an object twice the size while P0.5 is half the size.
You have to understand how the g-code interacts with the machine. For example, it may set or use some of the "#" variables that g-code programmers use. Many g-codes create modes that affect the behavior of other g-codes until the mode is cancelled. Certainly G51 scaling does that. You have to be cognizant that g-codes need not execute in the order the appear on the line. That's a bit mind boggling. There is a defined order in which the codes are executed, and that order is respected first, followed by the order on the line. This is a good thing. For example, we select the tool then we change the tool and not vice versa despite how it looks on the line.
There are other kinds of interactions too. G51 scaling does not affect tool path compensation (G40, 41, and 42). Depending on the control, it affects XYZ, IJK, and R.
And then there are the concepts associated with each g-code. For G51, the tricky concept is the "scaling center". To find the position of a scaled point, draw a line from the scaling center to the point in the program. That distance is what we apply the scale factor to. We then move the new scaled distance in exactly the same direction from the scaling center to find the newly scaled point. Sounds really complicated, and you have to get it right. Whereas if you are just writing the g-code, you can kind of eyeball the diagrams (if your doc has any) and try a couple of things until you get what you want.
There's useful hints and kinks to think about too. How about scaling by -1? Hmmm, that mirrors the program without "scaling" it at all. Clever!
I don't wish this business of learning g-code deeply enough to write your own g-code software on anyone, but I will tell you I'm enjoying it. For the rest of you, go learn some g-code. You may find you enjoy it quite a lot too!