by Ed Hume
This article introduces the basic G-code sequences that are used with a CNC rotary table to step through positions on a circle. It doesn’t take an elaborate program to apply this code to making gears, fluted knobs, ratchet wheels, or other rotationally symmetric parts.
Take a look at the setup in Photo 1. A Sherline rotary table under computer control is being used to index the positions of a pinion gear. Each run of the G-code program advances the table to the next tooth position, and then the tooth profiling cut is made manually. Here is the complete program, which includes some initialization commands that are not strictly necessary, but good to have since the startup condition is not known (Listing 1). (Editor’s note: Listing One is available for download on our website.) Typically, you don’t even think about the initialization commands; you just copy them to the start of every program to specify your usual settings.
The heart of the logic is the pair of lines “#1007 =
“Hands–on with the Rotary Table” appears in the Summer 2009 issue of Digital Machinist. If you’re already a subscriber, stay tuned! Your issue will be in your mailbox soon. If you are not a subscriber, and would like to read the rest of the article, request a no-obligation issue now! If you do so by July 31st, you’ll receive the issue with this article in it! You can request an issue by following the links below or by calling 1-800-447-7367. Make sure you tell our circulation representatives that you’d like the Summer 2009 issue!
Please do us a tremendous favor and forward this e-mail on to your machining friends!
Are you not a subscriber to DIGITAL MACHINIST? Visit us at www.digitalmachinist.net and request a no-obligation issue, or call and request it at 1-800-447-7367. Tell them you received an e-mail from a friend!
And don’t forget to check out Digital Machinist’s page on Facebook and our Twitter feed!
Your friend thinks you’ll enjoy DM, or you wouldn’t have this e-mail!
We hope you enjoyed this e-mail tip, brought to you by your friends at Digital Machinist.
Get Involved!
Do you enjoy our e-mail tips? Has one of them ever “knocked something loose” in your head? Your tip could be a future e-mail blast from your favorite magazine. Just send your tips to george.bulliss@VPDemandCreation.com. If we use your tip, we will extend your subscription by an issue. We like to see 200 to 300 words, plus an image, if available. Thanks!
We hope you enjoyed this e-mail tip, brought to you by your friends at Digital Machinist, dedicated to precision metalworking.