Project of the Month built by sbdtasos
Home Model Engine Machinist > CNC and 3-D Printers > CNC Machines and Conversions > Mach3- 4th axle

Reply
 
Thread Tools
Old 10-15-2016, 01:39 PM   #1
georgjorge
 
Join Date: Oct 2016
Posts: 7
Liked 10 Times on 3 Posts

Default Mach3- 4th axle

Hello,

could anyone tell me how to generate G-code for the 4th axle in Mach3? What I would like to do is to turn an item (like on lathe) which is fastened horizontally into the round table. I am using SheetCam TNG for milling, but there is no way to generate code for the 4th axle.

Jorge


georgjorge is offline  
 
Reply With Quote
Old 10-15-2016, 09:51 PM   #2
blighty
 
Join Date: May 2011
Posts: 319
Liked 42 Times on 36 Posts
Likes Given: 11

Default

going to be a bit hard if you want to do continuous 4 axis machining, but if you just need to step the 4th then you can just add the code in at the appropriate place.

e.g G01 Xwhat ever drill a hole
G00 get the Z out the way
G00 A turn 90
G01 X drill another hole
G00 get the Z out the way
G00 A turn 180
etc
etc

hope that made sense.


blighty is offline  
canadianhorsepower Likes This 
Reply With Quote
Old 10-16-2016, 06:52 AM   #3
georgjorge
 
Join Date: Oct 2016
Posts: 7
Liked 10 Times on 3 Posts

Default

Thank you for your reply and the proposal. The applications, I have in mind, are to mill slots into a cylinder and to engrave text into a cylinder. The cylinder is fastened in a round table parallel to x-axle. I thought, there is software or a macro existing to support this kind of works.
georgjorge is offline  
 
Reply With Quote
Old 10-16-2016, 07:55 AM   #4
rodw
 
Join Date: Dec 2012
Posts: 975
Liked 288 Times on 224 Posts
Likes Given: 142

Default

Quote:
Originally Posted by georgjorge View Post
Hello,

could anyone tell me how to generate G-code for the 4th axle in Mach3? What I would like to do is to turn an item (like on lathe) which is fastened horizontally into the round table. I am using SheetCam TNG for milling, but there is no way to generate code for the 4th axle.

Jorge
There is a solution for rotary cutting with Sheetcam but it might not give you lathe capability. You need to unwrap the design so it is a flat image the same length as the circumference. There is software that will do that. Then you just reconfigure your system so the travel distance is based on the circumference per revolution.

If you just want continuous turning on the 4th axis, you could consider plugging your 4th axis into an Arduino and use my controller sketch which supports Continuous turning.

http://www.homemodelenginemachinist....ad.php?t=25091
__________________
RodW
Brisbane, Australia
vehiclemods.net.au
rodw is offline  
 
Reply With Quote
Old 10-16-2016, 12:30 PM   #5
blighty
 
Join Date: May 2011
Posts: 319
Liked 42 Times on 36 Posts
Likes Given: 11

Default

Quote:
Originally Posted by georgjorge View Post
Thank you for your reply and the proposal. The applications, I have in mind, are to mill slots into a cylinder and to engrave text into a cylinder. The cylinder is fastened in a round table parallel to x-axle. I thought, there is software or a macro existing to support this kind of works.
in that case you could do it by plugging you A axis stepper in to your Y axis controller. then write the g code as if your part was flat. you would need to work out the circumference of your part, then change you step unit for the 4th axis. to match. bit of a pain in the bum to do thi but it should get you going till you find a better way.
blighty is offline  
 
Reply With Quote
Old 10-17-2016, 05:31 PM   #6
georgjorge
 
Join Date: Oct 2016
Posts: 7
Liked 10 Times on 3 Posts

Default

Thank you for all the solutions. I found a software solution for my application, which could be of interest :

http://www.cncwrapper.com/


Jorge
georgjorge is offline  
 
Reply With Quote
Old 10-17-2016, 09:36 PM   #7
blighty
 
Join Date: May 2011
Posts: 319
Liked 42 Times on 36 Posts
Likes Given: 11

Default

by the looks of it, that software does what i said. but a lot easer.

good find


blighty is offline  
 
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mach3 cnc instruction ramhobbies Software and Programming 2 11-23-2014 05:58 PM
What's more popular, Mach3 or LinuxCNC? BobWarfield CNC Machines and Conversions 36 01-15-2013 12:46 AM
Ox Wagon Axle Antman Metals 10 11-17-2011 09:04 AM
MACH3 on a laptop cfellows Software and Programming 23 01-23-2011 10:06 AM
Small Axle water Pump Rob General Engine Discussion 6 02-08-2009 05:27 PM



Newest Threads






- Top - Member List