what is a cnc machine

37
What is a CNC machine and how it relates to programming? By: Heydar Elahi [email protected]

Upload: mheydar-elahi

Post on 25-Jan-2017

272 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: What is a cnc machine

What is a CNC machineand how it relates to programming?

By:Heydar [email protected]

Page 2: What is a cnc machine

Who am I?

● Hak Felez Mashhad Co.

- IT & Electronics manager

- Researcher

- CNC developer

- Embedded systems designer/developer

Page 3: What is a cnc machine

How we used to make things!

Page 4: What is a cnc machine

Difficulties:

● Needed manpower● Needed plenty of time● Was in lower quality● Had higher costs● ...

Page 5: What is a cnc machine

Then we made these

Milling Machine Lathe Machine

Page 6: What is a cnc machine

But it was also manual

Page 7: What is a cnc machine

Problems:

● Was hard● Took time● Was dangerous ● Product was not precise● ...

Page 8: What is a cnc machine

We’ve needed to do things automatic! but HOW?

Page 9: What is a cnc machine

So we’ve combined things we had

+

Page 10: What is a cnc machine

Punched tape

Page 11: What is a cnc machine

Then Magnetic tape

Page 12: What is a cnc machine

Still there where problems

● Was hard to produce commands● Was annoying● Was hard to manage● Couldn’t do sophisticated things● ...

Page 13: What is a cnc machine

Just say what is CNCfor God's sake!

Page 14: What is a cnc machine

CNC stands forComputer(ized) Numerical Control

Page 15: What is a cnc machine

Then we’ve changed them with this...

Page 16: What is a cnc machine

And this!

Page 17: What is a cnc machine

How to program?

What was before?

By the end of the 50's, NC was starting to catch on, though there were still a number of issues. For example, G-Code, the nearly universal language of CNC we have today, did not exist. Each manufacturer was pushing its own language for defining part programs.

The Electronic Industry Alliance standardized g-code in the early 1960's.

(This program draws a 1" diameter circle about the

origin in the X-Y plane. )G17 G20 G90 G94 G54

G0 Z0.25

X-0.5 Y0.

Z0.1

G01 Z0. F5.

G02 X0. Y0.5 I0.5 J0. F2.5

X0.5 Y0. I0. J-0.5

X0. Y-0.5 I-0.5 J0.

X-0.5 Y0. I0. J0.5

G01 Z0.1 F5.

G00 X0. Y0. Z0.25

Page 18: What is a cnc machine

G-Code

or G programming languagenot to be confused with LabVIEW's G programming language.

(This program draws a 1" diameter circle about the origin in the X-Y plane. )G17 G20 G90 G94 G54

G0 Z0.25

X-0.5 Y0.

Z0.1

G01 Z0. F5.

G02 X0. Y0.5 I0.5 J0. F2.5

X0.5 Y0. I0. J-0.5

X0. Y-0.5 I-0.5 J0.

X-0.5 Y0. I0. J0.5

G01 Z0.1 F5.

G00 X0. Y0. Z0.25

Page 19: What is a cnc machine

G-Code problems

● Too many codes for small jobs● No graphic view● Couldn’t write code for more sophisticated

products● Needed to calculate and measure things

yourself● Each manufacturer has it’s own standard

of coding

Page 20: What is a cnc machine

Imagine you want to write a code for doing this job!

Page 21: What is a cnc machine

We invent CAD/CAM

Page 22: What is a cnc machine

CAD - Computer Aided Design

Page 23: What is a cnc machine

CAM - Computer Aided Machining

Page 24: What is a cnc machine

G-Code again!

Page 25: What is a cnc machine

Now we can do this easily

Page 26: What is a cnc machine

Also This

Page 27: What is a cnc machine

Or this

Page 28: What is a cnc machine

Or even this

Page 29: What is a cnc machine

And by changing tool we can cut

Page 30: What is a cnc machine

Can mark

Page 31: What is a cnc machine

Can weld

Page 32: What is a cnc machine

And nowadays we can print objects!

Page 33: What is a cnc machine

What do we do at the factory?

Page 34: What is a cnc machine

Our own CAD/CAM software

Page 35: What is a cnc machine

Our own machines

Page 36: What is a cnc machine

Some samples

Page 37: What is a cnc machine

Thank you all

and The Holy Google :)

By:Heydar [email protected]