A Haas MiniMill like Configuration
LinuxCNC gives me a "select a machine configuration" message. Can you recommend a "Haas-like" machine to use?
The work flow is like this:
CAD program creates a drawing => CAM program (MasterCAM) creates G-code (tool paths) to make a part from that drawing => Machine controller (Linuxcnc) reads the G-code, and commands the hardware to move => machine the makes part.
So unless you are intending to retrofit the control on your schools Haas MiniMill to Linuxcnc. I'm not sure how much good it is going to do for you.
To me that says that LinuxCNC can open the G-code I write and tell me if it works.
Todd Zuercher wrote: Machine controller (Linuxcnc) reads the G-code, and commands the hardware to move => machine the makes part.
1. Is that correct? It seems to be because it gave me an error message ("Near line 6" ... "G code out of range" ).
2. Is there a better free simulator I can run on Linux?
Our teacher gave us this link, but it's not great nraynaud.github.io/webgcode/ .
3. What would be the best way to debug my G-code? (Seeing what the code does in a simulator would help.)
If you just want to check what your code might look like, download a g-code backplot program. Here is a link to one that is geared more towards g-code made for Linuxcnc.
Sometimes you can do some pretty nifty things that increase productivity and impress your employer, and to have done so through the CAM program would have been too slow or downright impossible.
Regarding your original question, I have a preference for NCPlot . I think there was a free/demo version offered a number of years back but it seems to just be a short trial now. Worth a few bucks if the current version is anything like what I've been using.
If you really want to understand g-code, try writing your own interpreter. That's just about enough to drive you nuts.
While computer-generated code is where the vast majority of code is and will be generated. I can see the value of writing g-code from scratch in a teaching environment as being a very good way to learn how to read, use, and diagnose code problems.
Sparky961 wrote: However, being able to intelligently modify g-code that comes from a CAM program is in my opinion an essential skill that many machinists lack. Also, memorizing a subset of the g-code for a particular machine and running certain MDI commands can greatly improve your efficiency and connection with a machine.
Yes, that is exactly what I want to do.