Newbie questions about CNC workflow
Hi
A friend has purchased a Sherline 4410 CNC lathe with computer (supplied with the lathe) running Linux. I am trying to help him get started as I know about Linux, but I know nothing about CNC. I need to understand the workflow. I guess the best way to understand is to ask some questions.
1) I believe the starting point is to write some g-code. Is that typical or would you expect to use a CAD package for that?
2) I've heard that the g-code must be compiled into machine code. Is that correct?
3) My friend was thinking of using Mach3 but I believe that only runs on Windows. Would LinuxCNC be a sensible choice?
4) Any other advice please? Such as how to use Windows for part of the workflow (he is more familiar with Windows than Linux).
Best regards
David
Re: Newbie questions about CNC workflow
Hi Lee
Thanks for your reply. I think the issue is that the PC supplied by Sherline has built-in drives for the CNC lathe's motors. Something like this:
http://www.sherline.com/8540pg.htm
(although he has a lathe not a mill).
So I guess he really is tied to a Linux environment - unless he can develop g-code on Windows and copy it to Linux for running on the Lathe.
David
Re: Newbie questions about CNC workflow
I think that he already has LinuxCNC, although the web site refers to it under its old name, EMC2. Same thing but name changed due to trademark or some such issue a while ago.
You can develop gcode wherever you like. You can hand-write it, but most people use some kind of CAM package that takes a CAD drawing as input and gives gcode as output. It can be a bit more complicated than that, but that is the basic principle. As Lee says, your friend would then run LinuxCNC which takes the gcode file and turns it into actual motor control signals. Because the gcode is portable (pretty standard with minor variations depending on whether LinuxCNC or Mach3 or some other machine control package will read it - you tell the CAM package which flavour of gcode you want) then you don't have to run CAD or CAM or machine control on the same platform. Mix and match as you will. I use Windows for CAD and CAM but copy files over the network to my LinuxCNC/Ubuntu machine in the garage. That kind of thing is pretty standard practice.
That's a pretty high-level description. Someone will be able to fill in details if you would like to go down a level or two.
Re: Newbie questions about CNC workflow
Thanks Neale, i'm currently mobile so slow typing for me and trying to multi task, didn't see your reply till after posting...
Side stepping a little, what/how do you go about doing the network share, Samba ?
.Me
Re: Newbie questions about CNC workflow
Yes, Samba. The client is bundled with the Ubuntu version that is part of the LinuxCNC distribution, so it's pretty easy to use. Curiously, it used to work well, then it stopped being able to map drives for a few weeks, but last night it was fine again. I suspect problems with an update somewhere. I also use Ethernet-over-mains adaptors to get a network connection to the garage. Tends to be a bit flaky if the router control electronics are powered up but very useful otherwise.
Re: Newbie questions about CNC workflow
Hi Lee and Neale
Thanks very much for your replies. They were very helpful.
Best regards
David
Re: Newbie questions about CNC workflow
Quote:
Originally Posted by
Neale
Yes, Samba. The client is bundled with the Ubuntu version that is part of the LinuxCNC distribution, so it's pretty easy to use. Curiously, it used to work well, then it stopped being able to map drives for a few weeks, but last night it was fine again. I suspect problems with an update somewhere. I also use Ethernet-over-mains adaptors to get a network connection to the garage. Tends to be a bit flaky if the router control electronics are powered up but very useful otherwise.
Cool, I usb most stuff at the mo as the boxs around the network are only a flight of stairs or a gardens lenth away, when I get my new shed/workshop built I will be moving the file server to there so think it will be samba I go with for that, didn't know they bundled it with LinuxCNC/emc...
.Me