Search This Blog

Showing posts with label Part programming. Show all posts
Showing posts with label Part programming. Show all posts

Saturday, September 05, 2015

CNC Procedure Step by step procedure


In a CNC machine we can create a CNC Program in hundreds of ways to machine the same work piece and all the ways we can expect the same finished part.
                                When you receive a 3D model to do CNC program, check the 3D Model for the numbers of ways we can place fixtures and number of setups required to finish the part. But, in addition to creating the CNC program, there is many other factors need to Know to machine the work-piece. There are many questions on your mind about how to hold the work, which cutting tools to be selected and which machining conditions to be used to get a perfect part on CNC machine.

Step #1: Selecting a Machine.
-       As described above we can machine a part in hundreds ways, but it’s wise to select the machine if you have many options in your shop floor. 
-       If the machining part has a difficult angles and surface profile, an ideal 3-axis machine may take number of setups consuming time and may be difficult to achieve the tolerance.
-       A 5-Axis machine can reduce the setup and give the best tolerance for the complicated parts.
-       A simple part can’t be machine on a 5-axis machine due to the high cost. So we need to decide wisely keeping in mind of machining time and the labour.

Step #2: Work holding Selection for the Part.
-       There are number of ways to hold a part on the machine, it always depends on the billet you are using. Billet may be a rectangular block, forging stock, casting block.
-       If you are using a rectangular block, you can use a machine wise on the machine table. If the block is big for machine wise you can use the push clamps to hold the block on machine table.
-       If the stock is an forging or a casting then you need to design the special fixture which can hold the stock comfortable and rigid.

Step #3: Choose the cutting Tools.
-       Choosing the tools for cutting the part is an important factor for the finishing the part. We need to choose the cutting tools depending on the type of material we are cutting.
-       For aluminium stainless steel cutting tools can perform well, but for the hard material like titanium and steel better consideration are carbide tools.
-       Before generating the programs it’s better to check the tools available in the shop floor, instead of waiting for the tools to be ordered.
-       Always shorter tools give more accurate results than the longer tools, so wisely use the tools in your programs depending on the height and depth of the part.

Step #4: Gather all Cutting Condition Data.
-       After the tools have been decided, calculate your cutting data such as speed & feed which can suit easy removal of material.
-       Recommended to use the cutting data given by the tools catalog given from tool manufacturers.
-       You can experiment using the different feeds and speeds later while optimizing the programs.

Step #5: NC-Axis Selection on the Part.
-       Decide the NC axis Point on the part. Example: you can select a corner of the part where X, Y and Z meet.
-       Selection of NC axis must make the machine operator to probe the part X, Y and Z easily. There is only on machine Zero axis, But you can create a number of NC axis i.e., Work co-ordinate offset.
-       If you are using a rectangular block, you can select the corner of the block for your NC axis XYZ=0, operator can probe the three walls of the block to make XYZ=0 on the machine and store the value on the machine Work offset. Usually we can use G54 which is standard..
Step #6: Creating a CNC PROGRAM.
-       An NC Program can be created in many ways, now a day’s using software like UNIGRAPHS, Catia, Mastercam etc. is the common way to create a NC program.
-       If it’s a simple program it can be done manually, such as program involving only drilling, reaming and tapping cycles.
-       After creating the tool paths’ using the software’s you can generate a NC-program which as G-codes directly within built postprocessor.
-       If you have a customized postprocessor loaded with the control of your machine, then the results are accurate.

Step #7: Checking the CNC PROGRAM.
-       There are number of ways to check the programs, program can be simulated for errors in the software’s used for generating the tool path.
-       You can use simulator software like Vericut, where we can build our machine and load the controls and test our G-code. The simulation can be actual like it’s been milled on machine.
-       If you want to verify only the tool paths you can use software’s like cimco edit. You can find much software on internet to visualize the tool paths.

Step #8: Setting up the CNC Machine.
-       Setting up your machine for testing the program is very important. Load all the fixtures decided to hold the part and mount the part as you designed while generating tool path.
-       Load the NC-program on the CNC machine memory or you can use the DNC software’s.
-       Load the tools into the tool magazine on the machine as per the tool numbers described in the program.
-       Define the individual tool offsets and store on the machine.
-       Probe and define NC program Zero and store G54 on the machine.

Step #9: PROGRAM PROVE OUT.
-       After all the setup. Here we go we can test our programs.
-       There are number of ways to test the programs if you are not sure of your program go well..
-       Testing the programs can be done on the dry run option on the machine.
-       Testing the programs can be done by cutting the wood instead of metal.

Good luck, have fun learning CNC Programming... 
If you have any questions and comments please let me know



Thursday, November 13, 2014

A to Z Letter address used on CNC Machining

A to Z Letter address used on CNC Machining


Letter Address
 Description
Refers to



A
 Angular Value about the X-axis. Measured in degrees
 Axis nomenclature



B
 Angular Value about the Y-axis. Measured in degrees
 Axis nomenclature



C
 Angular Value about the Z-axis. Measured in degrees
 Axis nomenclature



D
the tool diameter or radius used for cutter
compensation
Cutter compensation Parameter



E
second feed function
accuracy required when cutting a corner



F
Feed word (code)
Feed words



G
Preparatory word (code)
G-code Words



H
Unassigned/specifying for tool height compensation




I
 Interpolation parameter or thread lead parallel to the X-axis
Circular interpolation and threading



J
 Interpolation parameter or thread lead parallel to the Y-axis
Circular interpolation and threading



K
 Interpolation parameter or thread lead parallel to the Z-axis
Circular interpolation and threading



L
Unassigned




M
Miscellaneous or auxilliary function
Machine Control Codes



N
Sequence number
Program Line numbers



O
 Sequence number for secondary head only
Indicates Program Number



P
P address character is used for a dwell time
Delay of time



Q
character is used in canned cycles
Depth specification



R
used in canned cycles or circular interpolation
 Axis nomenclature



S
Spindle-speed function
 Spindle speed



T
Tool Change function
 Tool function



U
Secondary-motion dimension parallel to X
 Axis nomenclature



V
Secondary-motion dimension parallel to Y
Axis nomenclature



W
Secondary-motion dimension parallel to Z
Axis nomenclature



X
Dimension of Tool movement in X direction
Axis nomenclature



Y
Dimension of Tool movement in Y direction
Axis nomenclature



Z
Dimension of Tool movement in Z direction
Axis nomenclature


ALPHABETICAL ADDRESS CODES

The following is a list of the Address Codes used in programming the Mill.

A -  FOURTH AXIS ROTARY MOTION:

The A address character is used to specify motion for the optional fourth, A- axis, which is angular value about X-axis. It specifies an angle in degrees for the rotary axis. It is always followed by a signed number and up to three fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/1000 degrees.

B -  FIFTH AXIS ROTARY MOTION:

The B address character is used to specify motion for the optional fifth, B, axis, which is angular value about Y-axis. It specifies an angle in degrees or the rotary axis. It is always followed by a signed number and up to three fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/1000 degrees.

C -  AUXILIARY EXTERNAL ROTARY AXIS:

The C address character is used to specify motion for the optional external sixth, C, axis, which is angular value about Z-axis It, specifies an angle in degrees for the rotary axis. It is always followed by a signed number and up to three fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/1000 degrees.

D - TOOL DIAMETER OFFSET SELECTION:

The D address character is used to select the tool diameter or radius used for cutter compensation. The number following must be between 0 and 200 (100 programs on an older machine). The Dnn selects that number offset register that is in the offset display which contains the tool diameter/radius offset amount when using cutter compensation (G41 G42). D00 will cancel cutter compensation so that the tool size is zero and it will cancel any previously defined Dnn.

E -  ENGRAVING FEED RATE / CONTOURING ACCURACY:

The E address character is used, with G187, to select the accuracy required when cutting a corner during high speed machining operations. The range of values possible is 0.0001 to 0.25 for the E code.

F - FEED RATE:

The F address character is used to select the feed rate. It is either in inches per minute with four fractional positions or mm per minute with three fractional positions.

G - PREPARATORY FUNCTIONS (G codes):

The G address character is used to specify the type of operation to occur by the tool in the block containing the G code. The G is followed by a two or three digit number between 0 and 187. Each G code defined in this control is part of a group of G codes.

H - TOOL LENGTH OFFSET SELECTION:

The H address character is used to select the tool length offset entry from the offsets memory. The H is followed by a two digit number between 0 and 200 (100 programs on an older machine). H0 will clear any tool length offset. You must select either G43 or G44 to activate a tool length (H) offsets. The G49 command is the default condition and this command will clear any tool length offsets.

I - CIRCULAR INTERPOLATION / CANNED CYCLE DATA:

The “I” address character is used to specify Interpolation parameter or thread lead parallel to the X-axis. It is defined in inches with four fractional positions or mm with three fractional positions.

J - CIRCULAR INTERPOLATION / CANNED CYCLE DATA:

The J address character is used to specify Interpolation parameter or thread lead parallel to the Y-axis. It is defined in inches with four fractional positions or mm with three fractional positions.

K - CIRCULAR INTERPOLATION / CANNED CYCLE DATA:

The K address character is used to specify Interpolation parameter or thread lead parallel to the Z-axis. It is defined in inches with four fractional positions or mm with three fractional positions.

L - LOOP COUNTS TO REPEAT A COMMAND LINE:

The L address character is used to specify a repeat count for some canned cycles and auxiliary functions. It is followed by a number between 0 and 32767.

M - M-CODE MISCELLANEOUS FUNCTIONS:

The M address character is used to specify an M code. These codes are used to control miscellaneous machine functions.

N - NUMBER OF BLOCK:

The N address character is used to identify or number each block of a program. It is followed by a number between 0 and 99999.

O - PROGRAM NUMBER:

The O address character is used to identify a program. It is followed by a number between 0 and 99999. You can have up to 500 program numbers (200 programs on an older machine) in your List of Programs.

P - DELAY OF TIME / M98 PROGRAM NUMBER Call:

The P address character is used for either a dwell time in seconds with a G04, or in canned cycles G82, G83, G86, G88, G89 and G73. When used as a dwell time, it is defined as a positive decimal value between 0.001 and 1000.0 in seconds. When ‘P” is used to search for a program number with an M98, or for a program number block in an M97. When P is used in a M97 or M98 the P value is a positive number with no decimal point up to 99999.

Q - CANNED CYCLE OPTIONAL DATA:

The Q address character is used in canned cycles and is always a positive number in inches between 0.001 and 100.0.

R - CIRCULAR INTERPOLATION / CANNED CYCLE DATA:

The R address character is used in canned cycles or circular interpolation. It's either in inches with four fractional positions or mm with three fractional positions. It is followed by number in inches or metric. It's usually used to define the reference plane for canned cycles.

S - SPINDLE SPEED COMMAND:

The S address character is used to specify the spindle speed; The S is followed by an unsigned number between 1 - 99999. The S command sets the desired speed.

T - TOOL SELECTION CODE:

The T address character is used to select the tool for the next tool change. The number following must be a positive number between 1 and (20) the number in Parameter 65.

U - AUXILIARY EXTERNAL LINEAR AXIS:

The U address character is used to specify motion for the optional external linear, U-axis.
It specifies a position of motion in inches. It is always followed by a signed number and up to four fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/10000 inches. The smallest magnitude is 0.0001 inches, the most negative value is -8380.0000 inches, and the largest number is 8380.0000 inches.

V - AUXILIARY EXTERNAL LINEAR AXIS:

The V address character is used to specify motion for the optional external linear, V-axis.
It specifies a position of motion in inches. It is always followed by a signed number and up to four fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/10000 inches.

W - AUXILIARY EXTERNAL LINEAR AXIS:

The W address character is used to specify motion for the optional external linear, W-axis.
It specifies a position of motion in inches. It is always followed by a signed number and up to four fractional decimal positions. If no decimal point is entered, the last digit is assumed to be 1/10000 inches.

X - LINEAR X-AXIS MOTION:

The X address character is used to specify motion for the X-axis. It specifies a position or distance along the X-axis. It is either in inches with four fractional positions or mm with three fractional positions. It is followed by a signed number in inches or metric. If no decimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.

Y - LINEAR Y-AXIS MOTION:

The Y address character is used to specify motion for the Y-axis. It specifies a position or distance along the Y-axis. It is either in inches with four fractional positions or mm with three fractional positions. It is followed by a signed number in inches or metric. If no decimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.

Z - LINEAR Z-AXIS MOTION:

The Z address character is used to specify motion for the Z-axis. It specifies a position or distance along the Z-axis. It is either in inches with four fractional positions or mm with three fractional positions. It is followed by a signed number in inches or metric. If no decimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.