Friday, January 11, 2008

What is GCode?

-Code is the common name for the programming language of CNC Machines. Somewhat of a generic, catch-all type of term for CNC programming language. Very few machines adhere to this standard today. There are as many variations as there are manufacturers. This is how I think of G-Code. It is a simple language built off of the Cartesian Coordinate System for motion control. That is a mouthful.

I don't know if that is exactly right, but you will get my meaning in a second when we go through some code line by line. You will remember your High School Geometry soon enough. For the real pros out there, you know there is much more to G-Code then that, but it is a good place to start thinking about it.

You will see many variations of the G-Code name like:

Gcode
gcode
G-Code
g-code
G Code
G-Code

Are there other "Codes?"

In a word...Yes. We will get to that in a moment. G-code is also the name of any command in a CNC program that begins with the letter G. G-Codes generally tell the machine to perform an action. G-Codes can tell machines to move a certain distance in the X-Axis for example. Or, make a rapid move to another location. Or, move in an arcing fashion while milling. An on and on and on.

Here are some examples of G-Codes:

Remember these codes change to a certain degree between CAM Software packages and CNC Machine Manufacturers.

G00 Rapid positioning
G01 Linear interpolation
G02 CW circular interpolation
G03 CCW circular interpolation
G04 Dwell
G20 Programming in inches
G21 Programming in mm
G28 Return to home position
G40 Tool radius compensation off
G41 Tool radius compensation left
G42 Tool radius compensation right
G43 Tool offset compensation positive
G44 Tool offset compensation negative

Why does G-Code Change?

We humans like flexibility. We also like standards. G-Codes are standardized in a certain sense. Once you start to be able to read it, you can read just about any flavor of it. That is the standardized part. All machines are not created alike. Even identical machines are different to a certain degree. They may not have the same tools loaded or they have been slightly modified to produce a certain type of part. Interesting how people like to customize.

That is why G-Codes are not the same. You need some flexibility in the programming to accommodate all situations. Couple that with the fact that every manufacturer thinks their version is the best and you get a myriad of G-Codes out there.

Many manufacturers also try to force you to only use their code. For example, they give you a design interface to make parts and a CAM interface to produce code. They lock you into their "Black Box" so you can't go elsewhere for service and support. They lock you in their "Family." Sometimes they make up a completely different kind of G-Code language that no one can understand but them. They do that to keep your hands tied up.

What is an M-Code?

M-Codes are related to G-Codes. M-Codes control different machine functions. Some of these functions are turning the machine on and off. Turning the spindle on or off. Turning a plasma torch on or off. Turning coolant on or off. You get the idea. When programming your CNC machine you may need to perform these functions.

Like G-Code, M-Codes vary from manufacturer to manufacturer and from machine to machine. As you can imagine you would need an M-Code for turning a plasma torch on and off on a CNC Plasma Cutting Machine. You wouldn't need an M-Code to turn a spindle on and off though. Hey, the machine doesn't even have a spindle. It's a plasma cutter!

Ivan is active in Gcode and CNC Programming.

G-Code is one of his expertise.

Labels: , , ,

Thursday, January 10, 2008

Do I Need to Be a G-Code Expert With CNC?

Do I need to be a G Code Expert? In a word, no. You will probably need to know how to quickly scan your G-Code if you are having problems during your machining simulation. Other then that G-Code and a CNC program are throwaway programs for the most part. What do I mean by that? Let me explain.

Let's look at a specific design. Let's say a 12" by 12" square. You build your model, run it through your CAM Software and create a CNC Program made up of G-Code instructions to your machine. Say tomorrow the job requirements change to a 24" by 24" square. Do you go into your G-Code line by line and change the code? Most people wouldn't. They would go back into their CAD or CAM program and scale the square up to 24" by 24". Then post-process the job again to get their new G-Code program.

There are some people that would do this editing line by line because the design is simple. Now think of a complex shape and what scaling it up or down would entail. This would include massive changes to it and reviewing it line by line. We are talking thousands of lines here vs. going back and quickly scaling the model and spitting out some new G-Code.

And that is why this is throwaway. Use it over and over when you can, but don't fret over archiving it if something changes. It is much better to make a copy of the design (CAD File) in its original state and save that somewhere. That is much more useful. Post Processing? - Now you have me worried. With all the variations in G-Codes and M-Codes, how will I ever keep it straight? Don't worry about that. The CAM program you choose will have many Post Processors. Post Processors are like translators. They help the CAM Program spit out the right G-Codes for your specific machine. All you have to do is select the right Post Processor before you spit out the code. That is simple.

Most CAM programs have many machine specific post processors already loaded. All you do is go to the list of them and click on your machine to select it. If you build your own CNC Machine, there are generic post processors loaded for different types of machines. Usually you pick a generic one and modify it a bit with a little testing. You are making sure a move in the X-Axis positive direction really means what you want it to mean.

Don is active in CNC Programming and G Code.

G-Code is part of his expertise.

Labels: , , , , , ,

How to Pick a CAM -Computer Aided Manufacturing- Program

There are multiple CAM programs available for generating tool paths and machining operations. Generally, people become familiar with one and stick with that. As far as selecting the right one for you, my advice is this. Most software companies have free trial. Thirty-day trials are common. Take advantage of these trial periods and test the software out. Then at the end, decide if you want to try another or stick with your best one. I would advise you try out at least three different packages.

The one you select will probably have to do with your liking the interface or finding it intuitive. Keep in mind it may work for you now. A simple to use and understand interface probably has some limitations for your designs. The very best programs are complex with many tools that give you the most control. I have found that I start with a simple program and outgrow it. At some point, I move up to the next level of software. This usually means a higher price as well.

The difference with CAM Software levels is the number of Axis the software allows for. You will see the standard types below. Think of it like this, as you add more Axis’, the more sophisticated the software must get and the more it will cost. It will also give you more flexibility though. That is the trade off, money for flexibility.

The different types of CAM Software

There are many different types of CAM Software. You will need to purchase the type that fits your machine. For example, if you have a CNC Plasma Cutter, you probably only need a 2D CAM Software version. The torch will only move in the X and Y planes. That is if you have a torch height control.

What if you have a CNC Milling Machine with X and Y axes that are powered by stepper motors? You will probably only need 2.5D CAM Software. That is because your parts will have depth.

What if you have a CNC Wood Router and it carves out three-dimensional shapes out of wood? It has three servo motors to control on the X, Y and Z-axis. Yep, you need 3D CAM Software.

What if you want to mill or carve something into a cylinder of stock material? You will need a 4th Axis CAM Software so the machine can rotate the cylinder while all the other three Axis’ are moving.

Here are the most common types of CAM Software2D CAM

2.5D CAM

3D CAM

4th Axis CAM

5th Axis CAM

Don Edge has used CNC in making some of his metal art. If you want more information on CAM Software or CAD CAM Software please go to http://www.cncinformation.com

Labels: ,

Monday, January 7, 2008

Computer Aided Manufacturing Software

Computer Aided Manufacturing (CAM) is one of the software automation processes that directly convert the product drawing or the object into the code design, enabling the machine to manufacture the product. The CAM system is used in various machines like lathes or milling machines for product manufacturing purposes. It allows the computer work instructions to communicate directly to the manufacturing machines. This saves on time and money, in that the controls can all be routed directly to a computer or laptop system, where changes can be made with the click of a button.

It provides compatibility with any CAD file format including DXF, DWG and DGN Professional 2D Mechanical drafting and design. It allows easy 3D modeling and rendering options. The CAM software provides complete support for milling, drilling and lathing operations. It includes the setup wizard, the tool database and a dialog-free CAM palette.

CAM software has developed in such a way that it has become quick, flexible machining with effective simulation. The 2D and 3D simulation is developed in the real time environment - a major advantage of the software. Load factor compensation for machine and tool, tool paths, automatic optimal tool paths and cumulative time are also major benefits in this CAM software.

Several software vendors like AutoDesk, EDC, PTC, GibbsCAM and CamSoft offer you the software with factors involving high quality, ease of use, and a reasonable price. EDS e-factory, EDS e-Vis, EDC FactoryCAD, PTC Pro/ENGINEER Advanced Assembly, and the API Toolkit are a few of the major software applications that are used in the CAM system.

Computer Aided Manufacturing provides detailed information on Applications of Computer Aided Manufacturing, Cam And Computer Aided Design, Computer Aided Design, Computer Aided Design Scanners and more. Computer Aided Manufacturing is affiliated with Computer Aided Design and Manufacturing.

Labels: , ,

CNC And CAD - Computer Aided Design

CAD stands for Computer Aided Design or Computer Aided Drafting. CAD was developed in the early 60s. Today it is the premier way to design, develop and optimized products. People use CAD every day to design virtually every product you see. Generally, designers use CAD to design a product, and then produce prints to manufacture that product. A print is a picture of a part or assembly that is very exact. It includes the dimensions and a parts list used to manufacture a product. CAD is the use of computer based software packages that assist engineers, architects and other design professionals in their designs. CAD is the part of the main designing process and involves both software and sometimes hardware. Current software packages range from 2D vector based drafting systems to 3D solid and surface modelers.

Computer Aided Drafting software packages can generally be broken into two groups. The groups are 2-D drafting packages or 3-D drafting packages. Most all software packages are moving to 3-D design. 3-D design is really the next generation of CAD. Utilizing 3-D design, engineers can make a model of their product. They can then look over this model for any apparent defects before it is ever made.

CAD is used to design, develop and optimize products. CAD is mainly used for the engineering of models and/or drawings of components. It is also used throughout the engineering process from concept to design of products. These products can be used by end consumers or used in other products. For example, you can design a bolt in CAD, and then use it in a Sub-Assembly in a planetary, which is a part of an earth-moving machine. CAD is also used in the design of tools and machinery. Finally, it is used in the design of all types of buildings from sheds to shopping malls.

Ivan Irons runs http://www.cncinformation.com/CNCBlog/ were you can get the latest on auto cad blocks, computers aided design, and CAD Blocks.

Labels: , , , , ,

Friday, January 4, 2008

CAD Online Schools (Computer Aided Design)

An online degree in CAD (Computer Aided Design or Computer Aided Drafting) can prepare the graduate for a career in architecture, engineering, aerospace, manufacturing, and other design and drafting fields. Distance learning courses offer instruction in various CAD applications to aid in product design and development, and proper methods and techniques used in the field.

Graduates of online CAD courses are qualified to prepare plans and technical drawings for buildings and other large structures. CAD students learn to take a rough sketch and turn it into a detailed technical plan that is required before production can begin.

Online CAD schools allow future professionals to obtain certification and/or college degrees without stepping foot in a classroom. Students can study CAD at their own pace, in their own environment, while maintaining current employment.

There are multiple Distance Learning colleges that offer courses in CAD. Students may seek an online certification course, or college degrees including Associate, Bachelor, Master and even Doctorate. Positions for graduates of online CAD Schools can include drafter, architect, and engineer, among others.

If you are interested in learning more about Online CAD Schools and other programs of study, please search our site for more information and resources.

DISCLAIMER: Above is a GENERAL OVERVIEW and may or may not reflect specific practices, courses and/or services associated with ANY ONE particular school(s) that is or is not advertised on SchoolsGalore.com.

Michael Bustamante is a staff writer for Media Positive Communications, Inc., in association with SchoolsGalore.com. Visit our Distance Learning Directory and find Online Schools and other Schools, Colleges, Universities, and Trade Schools at SchoolsGalore.com; your educational resource to locate schools.

Labels: , , , , ,

Wednesday, January 2, 2008

Computer Aided Manufacturing Applications

Computer Aided Manufacturing (CAM) refers to an automation process, which accurately converts product design and drawing or the object into a code format, readable by the machine to manufacture the product. Computer aided manufacturing complements the computer aided design (CAD) systems to offer a wide range of applications in different manufacturing fields. CAM evolved from the technology utilized in the Computer Numerical Control (CNC) machines that were used in the early 1950s. CNC involved the use of coded instructions on a punched paper tape and could control single manufacturing functions. CAM controlled computer systems, however, can control a whole set of manufacturing functions simultaneously.

CAM allows work instructions and procedures to be communicated directly to the manufacturing machines. A CAM system controls manufacturing operations performed by robotic milling machines, lathes, welding machines and other industrial tools. It moves the raw material to different machines within the system by allowing systematic completion of each step. Finished products can also be moved within the system to complete other manufacturing operations such as packaging, synthesizing and making final checks and changes.

Some of the major applications of the CAM system are glass working, woodturning, metalworking and spinning, and graphical optimization of the entire manufacturing procedure. Production of the solids of rotation, plane surfaces, and screw threads is done by applying CAM systems. A CAM system allows the manufacturing of three-dimensional solids, using ornamental lathes with greater intricacy and detail. Products such as candlestick holders, table legs, bowls, baseball bats, crankshafts, and camshafts can be manufactured using the CAM system. CAM system can also be applied to the process of diamond turning to manufacture diamond tipped cutting materials. Aspheric optical elements made from glass, crystals, and other metals can also be produced using CAM systems. Computer aided manufacturing can be applied to the fields of mechanical, electrical, industrial and aerospace engineering. Applications such as thermodynamics, fluid dynamics, solid mechanics, and kinematics can be controlled using CAM systems. Other applications such as electromagnetism, ergonomics, aerodynamics, and propulsion and material science may also use computer aided manufacturing.

Computer Aided Manufacturing provides detailed information on Applications of Computer Aided Manufacturing, Cam And Computer Aided Design, Computer Aided Design , Computer Aided Design Scanners and more. Computer Aided Manufacturing is affiliated with Computer Aided Design and Manufacturing.

Labels: , , , , , ,