Professional Documents
Culture Documents
CNC Prog Assistant
CNC Prog Assistant
% O8010(PARABOLA SUB) #100=.5934 WH[#100GT.0081]DO1 N1#101=SQRT[#100*15.168] #102=.132*#101 #103=[#510/#102]*2 G1U-[RO[#103]]W -#510F.01 #100=#100-#510 END1 M99 %
WexTech Systems, Inc. 310 Madison Avenue, Suite 905 New York, NY 10017 1-800-WEXTECH (212) 949-9595 Fax: (212) 949-4007
Contents
Quick Reference 1
What Does it Do? ................................................................................................................. 1 Whats new in CNC Helper?................................................................................... 1
Unit Conversions ................................................................................................................. 7 The Degrees Menu ............................................................................................................... 8 Drill Calculations ................................................................................................................. 8 Drill Point Calculations .......................................................................................... 9 Center Drill Calculations ........................................................................................ 9 The Speeds and Feeds Menu............................................................................................... 10 The Speed Calculator............................................................................................ 11 The Feed Calculator.............................................................................................. 11 The Metal Removal Rate menu............................................................................. 12 The Time in Cut Calculator................................................................................... 13 The Surface Finish menu ...................................................................................... 13 The Threads menu.............................................................................................................. 14 The Tap Drill Calculation menu............................................................................ 14 Thread Calculations.............................................................................................. 16 The Maximum Threading Speed Menu ................................................................. 17 The Triangles Menu ........................................................................................................... 19 Using the Triangle Solver ..................................................................................... 19 The Weights Menu............................................................................................................. 20
23
Useful Data at your Finger Tips.......................................................................................... 23 The Drill Chart Menu ........................................................................................... 23 The EIA and ISO Tape Format Menus .................................................................. 24 The Screw Dimensions Menu ............................................................................... 25 The Thread Data Menu ......................................................................................... 27 The Control G Code Reference Menus.................................................................. 27 The Custom Entries menu..................................................................................... 28
31 33
Contents i
Quick Reference
Quick Reference 1
Drill Points CNC Helper can calculate the length of a drill point or tell you how deep a center drill needs to be drilled. Speeds/Feeds CNC Helper can calculate SFM or Meters per minute, feed rates in IPR, IPM, MM/Min and MM/Rev. The metal removal rate and Time of Cut for turning operations can also be calculated. Surface Finish CNC Helper can calculate the theoretical surface finish for turning given the tool nose radius and feed rate. Threads CNC Helper can calculate the tap drill diameter for inch and metric threads, best wire diameter for measurement and percent of thread for a given hole size. Finally, CNC Helper can calculate the maximum RPM and SFM for threading on a lathe. Triangles CNC Helper can solve Right triangles.
Weight CNC Helper can calculate the weight of round, square and Hex stock for a wide variety of materials.
2 Quick Reference
You can organize the code segments by category and then use Keywords to search the category. You can even include a searchable description of the segment.
The left arrow with the line in front moves to the first record. The right arrow with the line in front moves to the last record in the database.
Click File, Code Library... or CTRL+L to open the database. Click Add to create a new record. Click Paste from Clipboard to paste the code into the database. Now enter a number in the category ID field, a description in the description field and one or more keywords in the keyword field. Finally, click Update to add the record. You could also click the single right arrow on the Record Selector to add the record. The category field can have up to 8 characters, the description field can have 250 characters and the keyword field can have up to 400 characters. A practical limit for Key words is probably closer to 50 characters or 5 words. The code segment can be up to 32k.
Deleting an Entry
To delete an entry, use search or the record selector to make the code segment the current record. Then click Delete to delete the entry. You will be prompted to confirm the delete. If you have changed your mind click on No and the record wont be deleted.
different types of controls in your shop you might want to create categories based on control type. The following figure shows the setup dialog:
Deleting a Category
To remove a category simply click on it in the Current Entries list box and then click Remove. You will notice that Remove is grayed out unless you have an entry selected.
Unit Conversions
CNC Helper allows you to convert to and from most commonly used units. Click on the Tools Menu (you can also use ALT+T) and select the Conversions item. A dialog box will open up ready to convert units. To change form one unit to another simply type in the known unit and the conversion will be displayed in the appropriate box. For example, to convert 1.0 inch to its equivalent in millimeters type 1 into the box labeled Inches and 25.4 will be displayed in the MM box.
When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
Now, to do a conversion from DMS to decimal degrees simply enter the Degrees, Minutes and seconds in the appropriate boxes. The decimal and radian formats will be automatically calculated and displayed. To convert from decimal format to DMS simply enter the decimal format in the Decimal: box and the DMS boxes will be filled in and the Radians box will be updated. When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
Drill Calculations
This menu has two sub menus Drill Point and Center Drills. The first sub menu, Drill Point is used to calculate the length of a drill point given the diameter and included angle of the drill. The second menu, Center Drills, calculates the depth to drill given the center diameter.
In the figure D2 is the diameter that we are drilling. To calculate the depth that corresponds to D2 we need to find L1, L2 and L3. L1 is the tip length and is looked up in a table. L2 is equal to the (tip diameter/2)/TAN(60). L3 is equal to (D2 the tip diameter)/2 x TAN(60) Finally, the depth to drill is L1+L2+L3. For example to drill a .190 diameter center with a #3 Center Drill: L1 is .109 L2 = (.109/2)/TAN(60) or .0545/1.7321 L2 = .0315 L3 = (.190 - .109)/2 x 1.7321 L3 = .0701 Depth = .109 + .0315 + .0701 Depth = .2106 When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
Keep in mind that the feed rate in Inches per Minute is dependent on the RPM and the feed rate in Inches per Minute. The conversion is feed in IPR x RPM. In the example .004 per rev. x 500 rev. per min. = 2.0 Inches per Minute. For example, if you had a 3/8-16 Tap running at 1000 RPM the feed rate would be 1/16 or .0625 in IPR or 31.250 IPM. When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
in the same removal rate. In this case the new insert doesnt removal metal any faster even though it can run at a higher speed. Use CNC Helper to find the most efficient parameters for your application and maximize your profit. Remember, a larger depth of cut or feed rate usually doesnt effect tool life much but a higher speed will.
The surface finish dialog allows you to estimate the surface finish that a given combination of insert radius and feed rate will produce. This is the best theoretical finish possible. The actual surface finish may be rougher.
In the above figure, a tool nose radius of .0156 (1/64) and a feed rate of .003 IPR will give a theoretical finish of 72 microinches or an RMS of 32. This is a very good finish and the low feed rate will increase cycle time. If the print doesnt call for such good finish a higher feed rate will result in a lower cost. When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
The tap drill calculation dialog allows you to enter the nominal tap diameter and the number of threads per inch and get the size drill needed for the thread. The default percentage of is 75%. This is a standard percentage of thread is used by most tap drill charts. The following figure shows the dialog for a -20 tap.
The dialog has another feature that is very useful in the shop. Next to the calculated drill size are four boxes. These boxes list the drill sizes close to the calculated drill size. These are based on a drill chart and you can click the arrows to view drills that are larger or smaller than the calculated size. The following figure shows the Closest Drill sizes for the -20 tap.
The calculated drill size for a -20 tap with 75% thread is .2013. This isnt a standard drill size but CNC Helper makes it easy to find a standard drill. Simply look at the Closest Drill Sizes part of the dialog. The boxes on the left show the standard drill that is smaller than the calculated and the boxes on the left show the next drill larger. The first box shows the decimal size and the second shows the letter, number or fractional designation. You can click on the arrows to move down or up the drill chart range to find a different drill if the size shown doesnt fit you need.
Selector Arrows
For example, you may want to use the largest drill size possible to minimize the chance of breaking the tap. In this case you could click the up arrow on the Larger side dialog to find another drill. For a -20 thread the next few drills are .204, 6 and .2055, 5. If you want to know what percentage thread these drills will produce you can enter the decimal size into the Tap Drill Dia. Box and the calculator will show the new percentage of thread.
The Tap Drill Calculator can also calculate the percentage of thread based on a drill diameter if you enter the decimal size into the Tap Drill Diameter Box. For example, if you entered .25 for the Tap Diameter, 20 for the Threads per Inch and .2055 for the drill diameter you will see 68.5 for the percentage of thread.
Number Taps
The Tap Drill Calculator works with number size taps. To calculate the tap drill size for a number tap, click the Number Tap option button. A new box, Inch, will appear. When you enter the number for the tap in the Tap Number box, the corresponding decimal diameter will be displayed in the Inch box. See the following figure.
A 10-32 Tap
Metric Taps
The Tap Drill Calculator also works with metric taps. To calculate the tap drill size for a metric tap click on the option button Metric Tap. When the metric tap option button is selected the label for tap size changes to read Tap Diameter in MM and the threads per inch box changes to Pitch of Thread in MM. In the next figure a 5mm x .8 tap has been entered.
A 5mm x .8 Tap
The diameter has been converted to English and the Threads per Inch are displayed. The threads per inch box doesnt actually make sense for a metric tap and is only included for educational purposes. In other words you can start to get a feeling for how fine a .8mm pitch thread is by seeing that it is equivalent to 31.75 TPI.
Thread Calculations
This menu choice is different from the Tap Drill Calculator because it calculates several parameters needed to program external threads on a lathe. If you hold the mouse over each of the calculated dimensions a Tool Tip will appear showing the calculation used. In the next figure a -20 thread has been entered. The best wire size is calculated as .0289, the Pitch is .0500 and the depth of the external thread is .0325. Since a standard thread wire set doesnt include a .0289 diameter wire you can click into the
Wire Diameter for Measurement box and change it to .029, which is a standard thread wire. The Measurement over wires box will change to reflect the new wire size.
When cutting threads on a lathe the maximum traverse feed of the lathe in IPM limits the spindle speed that can be used. The limit comes from the fact that threads required higher feed rates than standard turning operations and the feed must be synchronized to spindle. For example, a 3.000-4UNC thread has a pitch of .25 which means you have to program a threading feed rate of .25 IPR. Compare this to most turning operations where you would use .02 IPR or less. In this example suppose you are threading an Aluminum part and the carbide insert youre using could run at 1000 SFM. If the lathe youre programming has a maximum Z axis feed of 150 IPM can you run the thread at 1000 SFM? CNC Helper makes it easy to figure this out. To find out open the Maximum Threading Speed dialog. Enter 4.0 in the Threads per Inch box, 3.0 in the Thread Diameter box and click on Haas in the Select a Machine Type list box. See the following figure.
As you can see the maximum SFM that can be attained is 471. Thats because the combination of 150 IPM maximum feed and a pitch of .25 limits the RPM to 600. The equation for the maximum SFM is Diameter x PI x TPI x Max. IPM/12. This equation gives you the maximum SFM but dont forget, you always program threading operations in RPM. This is because the feed must be synchronized to the spindle and programming SFM causes the spindle RPM to change as the diameter changes. This makes it difficult for the control to keep the start point synchronized and usually results in a poor quality thread.
Selecting a Machine
CNC Helper comes with several machines built in. To select a machine simply click on it in the Select a Machine list box. The SFM and RPM fields will be recalculated based on the machines capability. See the next figure.
Enter the maximum feed rate, the letters IPM and a description of the machine. The following figure shows the Machine File Update Dialog adding the Super High Speed lathe.
The Machine File Update dialog adding the Super High Speed Lathe
When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
Just as easily you could enter a hypotenuse and base or hypotenuse and one of the angles. For example, if you clicked in the Height box and entered 5.0 and then clicked in the box labeled A2 and entered 50.000 the hypotenuse would change to 7.7786, the base to 5.9587 and A1 to 40. Notice that the height didnt change. The first box you click in will remain constant. When finished click Exit or press the ESC key to close the dialog and return to CNC Helper. You can also press ALT+X to exit.
With the Weight calculator you can quickly determine the weight of round, plate or hexagon stock. You can use the plate fields to calculate the weight of square stock also. Simply enter the same value for length and width. Enter the length of the stock in the width field. For example, to find the weight of a 2 square bar of 316SS that is
144 long enter 2 for the length, 2 for the width and 144 for the thickness. The following figure shows the weight calculator solving for this piece of stock:
Click Open to open the file in CNC Helper. When the file opens you will recognize the entries from the drill chart. Scroll down to where you want to add an entry. Press Enter to add a new line and then type the diameter of the drill. Press the space bar and then the TAB key. Now enter the name for the drill. If you make a mistake you can use the standard editing keys to fix it. If you get completely mixed up simply close the file without saving it. You probably wont need to add any entries because CNC Helper already has a complete set of drill sizes. The following figure shows the drill chart:
If you would like to insert the diameter of the drill into your program you can click the Insert button. One nice feature of CNC Helpers reference dialogs is that they remember where you placed them and how you sized them. For example you might decide to make the dialog long and narrow and place it on the right side of the screen. When you close it the current size and position are stored in a file. The next time you open a dialog it remembers it size and location.
Set Screws
The database contains dimensions for the following types of set screws: Oval Point Oval radius Dog Pont Dog diameter, Dog Length Cup & Flat point Cup or Flat diameter
Miscellaneous Screws
Each screw type has at least two entries: Head Diameter The diameter of the head on the screw. Head Height The height of the head on the screw.
Additional entries include: Wrench Size The Hex Wrench needed for the screw. Distance Across Flats This is the wrench needed for Hex Head screws. Maximum Cross Hole Diameter for Wire This is the largest Hole that should be drilled through the screw for safety wire.
Hex Nuts
There are two entries for Hex Nuts: Distance Across Flats This is the wrench size needed for the nut. Distance Across Points This is the distance measured across the points on the nut.
Shoulder Screws
There are six entries for shoulder screws: Wrench Size The Hex Wrench needed for this SHCS Head Diameter The Diameter of the head on the SHCS Head Height The height of the head on the SHCS Body Diameter The diameter of the screw body. Thread Length The length of thread on the screw. Thread Size The diameter of the threads on the screw.
When finished looking up screw dimensions click on Exit to close the dialog and return to you program.
To view by a family of threads click on the button with the family name. For example, to view only UNC threads click on the button marked UNC. To select a thread size after sorting click on the up or down arrow on the Thread Size list box.
Click Open to open the file in CNC Helper. When the file opens you will recognize the entries. Scroll to where you want to add or edit an entry. To add an entry, press Enter to add a new line and then type the new data. Do not use a comma in the line. If you do the comma will be interpreted as a separator and the line will be broken. Press the space bar and then the TAB key. If you make a mistake you can use the standard editing keys to fix it. If you get completely mixed up simply close the file without saving it. You probably wont need to add any entries because CNC Helper already has a complete set of G codes but at least you have the option.
Custom Menu
Glossary of Terms
RPM
Revolutions per Minute. This is how fast the part or cutter is revolving in the machine. Most cutting tools are rated in Surface Feet per Minute instead of RPM. You will need to convert RPMs into Surface feet per Minute to program the tool.
Glossary of Terms 31
E
external threads 16
Index
G
G codes 2, 2728, 27
H
Hex Nuts Distance Across Flats 26 Distance Across Points 26
I B
best wire size 16, 27 IPM 2, 12, 1718, 1719, 1718
K
keyword 4 Keywords 34
C
calculated drill size 15 category 34, 34, 3, 4 Category ID 1, 4, 5 code library 1, 35 Code Library category 34, 34, 3, 4 Category ID 1, 4, 5 description 34, 34 Description Field 4 keyword 4 record selector 45, 45, 4, 5 Counter Bore Diameter 2, 26 Cup & Flat point 25
M
machines capability 18 Measurement over wires 1, 17 metal removal rate 2, 10, 12 Metal Removal Rate Cubic Inches per minute 12 Time in Cut 13 metric taps 16 Mylar Tape 2, 2425
N
number size taps 16
D
Degrees DMS format 8 involute 8 Radians 1, 8 Degress Degrees, Minutes, Seconds 8 delete 5 description 34, 34 Description field 4 Description Field 4 Dog Pont 25 Drill Calculations body diameter 9, 26 Center Drills 89, 89 Drill Point 2, 8 Tip Diameter 910, 910, 910 Tip Length 910, 910, 910 To calculate the depth 9
O
Oval Point 25
P
Paper Tape 2, 2425 percentage of thread 1415, 1415, 1416 Pitch 12, 12, 1618, 1618, 1618, 27 pitch diameter 2, 27
R
record selector 45, 45, 4, 5
S
select a machine 1718, 1718, 1718 Set Screws
Index 33
Cup Point 25 Dog Point 25 Oval Point 25 SHCS Couter Bore Diameter 2, 26 Speeds & Feeds diameter 2, 811, 811, 811, 14, 811, 14, 1618, 1618, 2426, 2427 Inches per revolution 11 millimeters per revolution 11 RPM 2, 1113, 1113, 18 Speed calculator 11 Surface Feet Per Minute 11 spindle speed 17 surface finish 2, 10, 1314, 1314 synchronized 1718, 1718, 1718
Unified National Extra Fine 27 Unified National Fine 27 Unified National threads 27 Unit Conversion 78, 78, 78, 12 Inches 7, 1112, 1112, 1112 millimeters 7, 11
W
Wire Diameter 2, 17 best wire size 16, 27 Wrench Size 2, 26 SHCS 2, 26 Shoulder Screws 2, 26
T
tap diameter 1416, 14, 16 tap drill 2, 1416, 1416, 1416 Tap Drill Calculations calculated drill size 15 metric taps 16 number size taps 16 percentage of thread 1415, 1415, 1416 tap diameter 1416, 14, 16 tap drill 2, 1416, 1416, 1416 threads per inch 1417, 1417, 14, 1617 tape 2, 2425 Thread Calculations best wire size 16, 27 external threads 16 measurement over wires 1, 17 pitch 12, 12, 1618, 1618, 1618, 27 wire diameter 2, 17 Thread Data pitch diameter 2, 27 threading operations 18 Threading Speed IPM 2, 12, 1718, 1719, 1718 machine capability 18 select a machine 1718, 1718, 1718 spindle speed 17 synchronized 1718, 1718, 1718 threading operations 18 Threads Unified National Coarse 27 Unified National Extra Fine 27 Unified National Fine 27 Unified National threads 27 threads per inch 1417, 1417, 14, 1617
U
Unified National Coarse 27
34 Index