Shop Floor Talk  

Go Back   Shop Floor Talk > Welding and Metalworking Forums > Machining

SFT Search:   
Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2015, 07:26 PM
allessence's Avatar
allessence allessence is offline
Gadget Girl
 
Join Date: Jul 2009
Location: MA, 01543
Posts: 6,823
Default What to learn for CNC programing?

Hi guys.. I am assuming This is a fairly hard question to answer.

But, I am interested in learning how to program CNC..

Where do I start.. basically a CNC Milling machine is the main interest..

The good the bad and of course..
__________________
_________________
Jennifer

If I defend myself I am attacked.

My meaningless thoughts are showing me a meaningless world.

My attack thoughts are attacking my invulnerability.

I'd like to think of something smart, but I don't want to hurt myself.

My google+ page

DoALL 36"
Another Johnson model J Project
Lathe? Maybe..... 1958 SBL 13"
Yeti Esseti Aka running welder on 3phase.

https://www.shopfloortalk.com/forums...860#post766860
Reply With Quote
  #2  
Old 04-04-2015, 08:02 PM
GWIZ's Avatar
GWIZ GWIZ is offline
SFT Historian
 
Join Date: Feb 2006
Location: USA
Posts: 7,285
Default

Down load LinuxCNC. about 500MB
Run Shureline 3Axis_inch

It only runs with Linux Ubuntu 10.04 that comes with it.
I did not load the program on the computer but run it off the CD so I can not save things, best load it on a dedicated computer.

At least it ran for me without having the machine. its a good start.

Maybe this link.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl
Attached Thumbnails
Click image for larger version

Name:	Screenshot-1.jpg
Views:	143
Size:	85.0 KB
ID:	123370   Click image for larger version

Name:	Screenshot-18.jpg
Views:	153
Size:	94.5 KB
ID:	123371  
__________________
*
*
The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment. ~Warren G. Bennis

Last edited by GWIZ; 04-04-2015 at 08:18 PM.
Reply With Quote
  #3  
Old 04-04-2015, 08:26 PM
Lu47Dan's Avatar
Lu47Dan Lu47Dan is offline
Connoisseur of Old Iron
 
Join Date: Mar 2006
Location: N/W Pa.
Posts: 6,023
Default

I had looked at various CNC programs, I liked a few different ones. I actually programed on one that was what is called "Conversational" programing. It does away with having to understand G-Code. I do not remember the programs name.
Dan.
__________________
Tools to Men are like Shoes to Women , you can never have too many !!
Used diesel engines are an adventure anyway you look at them !!
Miller XMT-304 Multiprocess
Miller 10-E Wire Feeder
Miller Spectrum 2050 Plasma Cutter
Hobart AC/DC stick welder
Hobart 175 Mig
Craftsman O/A set
Turbo torch and B-tank
Reply With Quote
  #4  
Old 04-04-2015, 08:44 PM
LKeithR's Avatar
LKeithR LKeithR is online now
Hey...wait...is there a prize?
 
Join Date: Aug 2011
Location: Langley, B.C.
Posts: 5,450
Default

CNC programming is a huge field; it's very complicated and, in general, it's not getting any simpler. I think the first question you need to answer is what machine--or family of machines--do you want to program? What level of programming do you want to reach? Do you want to program a small machine of your own for fun--and possibly a little profit? Or are you looking at this as a career step with a job as a programmer in your future?

G code is the base on which most programming languages are built. If you had anything to do with computers in the early years you might have run across what are called "assembler" programs. G code is similar in nature. On the one hand it's "relatively" simple because each line of code executes one single step in the program. On the other hand it can be quite complex because it can take "many" lines of code to complete one operation.

Probably the most common "developed" program is Fanuc which has become a bit of a standard. There are, however, many other languages and, when you throw in all the proprietary stuff that individual manufacturers have created there are a lot of things to consider...
__________________
Keith

Measure twice and cut once...or...wait, was that the other way around?
Reply With Quote
  #5  
Old 04-05-2015, 05:05 AM
GWIZ's Avatar
GWIZ GWIZ is offline
SFT Historian
 
Join Date: Feb 2006
Location: USA
Posts: 7,285
Default

In the olden days if you wanted to cut a circle you would have to input each X, Y increment movement say .001 until you completed the circle
that could end up with a thousand increments (lines) just to cut a circle.

There is more then one way to use a G code for cutting a circle
Just entering G02 J-1.0 F10.0, would cut a 2" circle 10 ipm.
The machine figures out the math for each X Y increment so you don't have too, also allows the operator to change the circle size without alot on math.

Using G codes for drilling allows you to drill a thousand equally spaced holes with one line of information.

Some pc programs CAM that make CNC machine programs don't output G codes very well And will increment each X Y movement, in that case you have to go back to the PC to make corrections and reload the new machine program.
__________________
*
*
The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment. ~Warren G. Bennis
Reply With Quote
  #6  
Old 04-05-2015, 10:15 AM
dubby's Avatar
dubby dubby is offline
Twice the size--half the man
 
Join Date: Apr 2006
Location: Lubbock, TX
Posts: 9,716
Default

Learning G-code is likely the best starting point, but you really don't start to grasp it well until you're well underway. It's not difficult to figure out the simple stuff, but there's lots of simple stuff that adds up to make it complex.

You can get programs that will do all the coding for you, more or less. You still have to understand the basic processes in milling and then learn how the computer guys have translated them. It took me/us about 3 months to get efficient enough with one program to be able to make the machine do anything. Each program is different and still has a pretty steep learning curve. I do wish that I could find a simple, effective, cheap program that'd translate drawings to toolpaths.

What kind of machine (brand) are you considering? That makes a huge difference in what will work, and the manufacturer may already have a package deal that includes everything you need--software wise--to get you going. I'm still trying to find the money to buy a Tormach PCNC1100. The price has gone up from about $26k to closer to $32k fully loaded out in the two years that I've been dreaming. But, it'd come with all new software which really wouldn't work on my existing machines. That means I'd have to go back and learn a whole new system, which means more time, and more knowledge about CNC as a whole.


I currently run the LinuxCNC and have pretty decent result on my little Sherline. It will allow you to use the machine manually through the keyboard, as well as G-code. It doesn't write anything for you, so you're back to that again.

My one, absolute warning about looking at CNC. You've probably already come across the ads for them by now if you've googled the process any. A company called BobCAD exists, and they will absolutely suck the soul from your once dream filled body and spit it out on the floor, and leave you with a wasted, empty wallet. Their program works, sort of, it's cheap initially, sort of, but they'll be back for more and their license agreement is harsh. If I could go back in time to do one thing over, it would have been to never click on their website link.
__________________
I've always had more time than money.

Wade's Custom Kydex
Reply With Quote
  #7  
Old 04-05-2015, 11:27 AM
Roundrocktom's Avatar
Roundrocktom Roundrocktom is offline
Senior Member
 
Join Date: Feb 2007
Location: Austin, TX
Posts: 742
Default

To really get your feet wet, a super simple CNC machine (dremel tool / pen plotter) will work. Best if you can make it from as much scrap as possible (keep cost down). Even derlin bushings.

John over at NYC CNC did just that:
https://www.youtube.com/watch?v=gzLYNSQEPDk

You then have something that can be driven by GCode. Idea is to learn the basics of G Code -- so you can move the plotter around.

You can download something like this (just grabbed at random)
https://caminstructor.com/files/www/...20-%20Mill.pdf

For me until I actually could sit at the machine and start typing in line items
to move my machine... well, it was too boring! Start making something, and it is a lot more fun!

Tom

Snipped of some G-Code, video shows what it was doing (note snippet is just peck drilling.... made some 1" thick, video shows 1/2" thick 6061 being cut)

( Milling_Machine_Clamp_1_inch )
( File created: Sunday, March 23, 2014 - 01:13 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 8.000, Y= 10.000, Z= 1.000)
()
(Toolpaths used in this file
(Drill 1)
(Profile 2)
(Tools used in this file: )
(1 = V-Bit {90 deg 0.25"} Merlin Carbide)
N110G00G20G17G90G40G49G80
N120G70G91.1
N130T1M06
N140 (Tool: V-Bit {90 deg 0.25"} Merlin Carbide)
N150G00G43Z0.8000H1
N160S16000M03
N170(Toolpath:- Drill 1)
N180()
N190G94
N200X0.0000Y0.0000F70.0
N210G00X1.4644Y3.3206Z0.2000
N220G1X1.4644Y3.3206Z-0.0500F30.0
N230G00X1.4644Y3.3206Z0.0000
N240G1X1.4644Y3.3206Z-0.1000F30.0
N250G00X1.4644Y3.3206Z0.0000
N260G1X1.4644Y3.3206Z-0.1500F30.0
N270G00X1.4644Y3.3206Z0.0000
N280G1X1.4644Y3.3206Z-0.2000F30.0
N290G00X1.4644Y3.3206Z0.0000
N300G1X1.4644Y3.3206Z-0.2500F30.0
N310G00X1.4644Y3.3206Z0.0000
N320G1X1.4644Y3.3206Z-0.3000F30.0
N330G00X1.4644Y3.3206Z0.0000
N340G1X1.4644Y3.3206Z-0.3500F30.0
N350G00X1.4644Y3.3206Z0.0000
N360G1X1.4644Y3.3206Z-0.4000F30.0
N370G00X1.4644Y3.3206Z0.0000
N380G1X1.4644Y3.3206Z-0.4500F30.0
N390G00X1.4644Y3.3206Z0.0000
N400G1X1.4644Y3.3206Z-0.5000F30.0
N410G00X1.4644Y3.3206Z0.0000
N420G1X1.4644Y3.3206Z-0.5500F30.0
N430G00X1.4644Y3.3206Z0.0000
N440G1X1.4644Y3.3206Z-0.6000F30.0
N450G00X1.4644Y3.3206Z0.0000
N460G1X1.4644Y3.3206Z-0.6500F30.0
N470G00X1.4644Y3.3206Z0.0000
N480G1X1.4644Y3.3206Z-0.7000F30.0
N490G00X1.4644Y3.3206Z0.0000
N500G1X1.4644Y3.3206Z-0.7500F30.0
N510G00X1.4644Y3.3206Z0.0000
N520G1X1.4644Y3.3206Z-0.8000F30.0
N530G00X1.4644Y3.3206Z0.0000
N540G1X1.4644Y3.3206Z-0.8500F30.0
N550G00X1.4644Y3.3206Z0.0000
N560G1X1.4644Y3.3206Z-0.9000F30.0
N570G00X1.4644Y3.3206Z0.0000
N580G1X1.4644Y3.3206Z-0.9500F30.0
N590G00X1.4644Y3.3206Z0.0000
N600G1X1.4644Y3.3206Z-1.0000F30.0
N610G00X1.4644Y3.3206Z0.0000
N620G1X1.4644Y3.3206Z-1.0500F30.0
N630G00X1.4644Y3.3206Z0.0000
N640G1X1.4644Y3.3206Z-1.1000F30.0
N650G00X1.4644Y3.3206Z0.2000

https://www.youtube.com/watch?v=AYhhqex0MbI
Attached Thumbnails
Click image for larger version

Name:	Light Ring.jpg
Views:	144
Size:	74.0 KB
ID:	123376  
Reply With Quote
  #8  
Old 04-05-2015, 12:44 PM
Walker's Avatar
Walker Walker is offline
Standard of Excellence
 
Join Date: Aug 2004
Location: Cave Creek AZ
Posts: 4,671
Default

Spend some time reading over on cnczone.com
__________________
Walker
Chief slag chipper and floor sweeper, Ironwood Artistic
Reply With Quote
  #9  
Old 04-05-2015, 03:34 PM
PixMan PixMan is offline
Senior Member
 
Join Date: Jul 2011
Location: Central MA
Posts: 431
Default

I can teach you just about anything you need to know, from 2-axis conversational (which I have in my shop) to just shy of 5-axis milling.
Reply With Quote
  #10  
Old 04-05-2015, 03:43 PM
USMCPOP's Avatar
USMCPOP USMCPOP is offline
Gold Star Dad
 
Join Date: Jul 2006
Location: Richmond, VA area
Posts: 12,295
Default

Early 70's Go-Code:

N396CHV69.396375.4BBL-411POSI
__________________
USMCPOP
Reply With Quote
Reply

Thread Tools
Display Modes

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

Web Search:

All times are GMT -5. The time now is 02:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.