HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Dec 06, 2012, 04:52 PM
Registered User
USA, NY, Syracuse
Joined Jul 2010
156 Posts
Question
Need advice on g92 use

Hi,

Though I thought it would be easy at first, I'm stumped. What I want to do is "cookie cut" in some of my programs. I make multiple copies of the same parts frequently, and thought that using the g92 command I'd be able to cut a part, move to the next location, reset the origin with g92, cut the same part again, etc. etc. simply by copying and pasting the original part throughout my program at different locations.

I've tried writing the commands in different sequences, but no luck. I'm using a program called Millmaster Pro from Microkinetics with a 3 axis vertical mill.

Any suggestions?

Thank you,
Tom
tr4252 is offline Find More Posts by tr4252
Reply With Quote
Sign up now
to remove ads between posts
Old Dec 06, 2012, 06:52 PM
Registered User
Denver, CO
Joined Dec 2005
6,380 Posts
G92 is a command for the mill controller. Normally people will generate the g-code. Then in a text, or g-code editor copy the parts g-code, then insert the g92 between the parts. Here is an example. Easy to get lost, so good idea to run a simulation if you have the software to do that.
http://www.cncezpro.com/g92m.cfm

You probably can also do the cut, and paste in the Millmaster software. Then you would need to generate the tool path for each part in the Millmaster software. I don't use your software. In mine I would just use the same settings, and just select the different geometry. Or I can select all the geometry in one operation. It will move the tool to the clearance height, and move to the next geometry.
Roto Rob is offline Find More Posts by Roto Rob
Last edited by Roto Rob; Dec 06, 2012 at 07:01 PM.
Reply With Quote
Old Dec 06, 2012, 09:46 PM
Registered User
USA, NY, Syracuse
Joined Jul 2010
156 Posts
Thank you, Roto Rob.

I tried again, with a test that (I'd hoped) would cut two 1/2" squares side by side, with 1/4" between them. In the sample below, when I reached n050, the toolpath moved to the original X.5000, as if the g92 hadn't been there, and proceded to follow the path of the first part again back to the first origin point. Did I miss something in this simple example?

n000 g90
n005 g01 z-.050 f5
n010 x.5000
n015 y-.5000
n020 x0
n025 y0
n030 z.050
n035 x.7500
n040 g92
n045 z-.050
n050 x.5000
n055 y-.5000
n060 x0
n065 y0
n070 z.050

edit: Sorry it's compressed like this, in the window where I wrote this post all spaces were present; they seem to be deleted here.

Thank you,
Tom
tr4252 is offline Find More Posts by tr4252
Last edited by tr4252; Dec 06, 2012 at 09:51 PM.
Reply With Quote
Old Dec 07, 2012, 12:30 AM
Registered User
Ward Hagaman's Avatar
San Diego
Joined Mar 2003
2,315 Posts
Tom, the G92 command needs an X and Y value, in your example G92X0Y0. This resets the program coordinates to 0,0. Think of it as saying "I'm now at 0,0".

Another way might be to write the "part" program in incremental mode (G91), that way you can just write the part program once and put it wherever you want inside the "absolute" program.
Ward Hagaman is offline Find More Posts by Ward Hagaman
Last edited by Ward Hagaman; Dec 07, 2012 at 12:57 AM.
Reply With Quote
Old Dec 08, 2012, 01:55 PM
Registered User
USA, NY, Syracuse
Joined Jul 2010
156 Posts
Rob and Ward,

Thank you for your help, you've enabled me to do the operations I need to do, through your advice.

Though I'm still having trouble using the g92 command, the suggestion to try g91 incremental mode is working well.

Sincerest thanks,
Tom
tr4252 is offline Find More Posts by tr4252
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Question Need advice on a use for a motor Darryl Miller High Performance 2 Aug 24, 2012 07:52 AM
Question Need advice for a 3D foamy that will use the electronics I have lying around Rota 3D Foamies 6 May 08, 2012 05:18 PM
Discussion Advice on what to use. bluemeane Foamies (Scratchbuilt) 1 Mar 16, 2012 07:14 PM
Question Need advice on new quad frame, to replace x525!!! Arxangel Multirotor Talk 3 Mar 01, 2012 05:29 PM
Help! landing gear on an fpv radian. need advice. ne1 try it? g3f0rc3 FPV Talk 5 Feb 28, 2012 12:48 AM