Lathe G code Generator

More
11 years 10 months ago - 11 years 10 months ago #54218 by BigJohnT
I'm working on a G code generator for the lathe that includes a roughing cycle.

What I have now in my mind is to enter the following items into the generator and it spit out the correct code.

Inch MM check box
Tool Number (not used if blank)
Roughing Depth
Finish Pass Depth (not used if blank)
Surface Speed and RPM limit.
Material Diameter
Z Clearance Point
List of lines or arcs that describe the profile from the outside to the center.

A tab will have the Lathe Arc Generator on it so you can get the arc G code and send it to the list.

The roughing cycle does a feed move to the Z end then a feed move following the contour of the line or arc so the finish pass is a constant depth of cut. Then a feed move out by X step depth. Then rapid moves to Z clearance and over to the next step.

Some screen shots of tests.





The Arc Generator



JT
Last edit: 11 years 10 months ago by BigJohnT.
The following user(s) said Thank You: Dimitrios, Rick G, fabworx, bjames28, joekline9, tkamsker

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #56072 by tkamsker
Replied by tkamsker on topic Lathe G code Generator
looks very promising
nice
keep up the good work
thomas

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #56119 by Rick G
Replied by Rick G on topic Lathe G code Generator
Pretty cool John, looking forward to giving it a try!

Rick G

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #56172 by joekline9
Replied by joekline9 on topic Lathe G code Generator
I Like it. :)

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #56186 by BigJohnT
Replied by BigJohnT on topic Lathe G code Generator
I need to get this finished, been backlogged with computer problems...

JT

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #56223 by BigJohnT
Replied by BigJohnT on topic Lathe G code Generator
I made some progress this morning on this, I've embedded a GladeVCP tab in Axis and will use the python interface to send the file to Axis. [strike]I'm pretty sure I'm on the right track with this as you can modify the path then load it in axis to view it with the back plot. Saves having a separate back plot. [/strike]



Edit: Well, crumb the file lathe02.ngc shows loaded in the title bar but the splash code is still displayed so Axis is not "seeing" the new code.

JT
Last edit: 11 years 8 months ago by BigJohnT.

Please Log in or Create an account to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum