![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| ||||
| ||||
| http://www.micro100.com/downloads/ThreadMillAssist.html Take a look at this.It may be of some help to you. |
|
#3
| |||
| |||
| Can you program a circle? For example G03 I0. J-.3125 Fsomething. This does one counterclockwise circle around a centerpoint located negative 0.3125 on the Y axis. (Actually some controls interpret the J value as the absolute Y coordinate; mine interpret it as the incrmental distance from the location of the tool.) Can you do helical interpolation using incremental? G91 G03 I0. J-.3125 Z0.0769 Fsomething. This does one CCW circle but during the circle the tool moves up the distance Z.0769; in other words it has cut one thread. Thread milling is simply helical interpolation where the Z movement per circle is the thread pitch. To do a right hand thread 3/4" deep you start at the bottom and spiral your way up. G91 G03 I0. J-0.3125 Z.0769 Fsomething L10 This does ten CCW circles and moves up a total of 0.769"; it has cut your thread. I have left out all the details about moving to the hole location, moving out to the starting position with tool comp and all that stuff. If you know any G-code you should be able to sort things out from this.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#5
| |||
| |||
|
I thinbk if you got to the OSG websight they have a program you can download that will generate G code for thread milling. I know that tere catalouge comes with it I would guess you could get for the web sight too Bluesman |
| Sponsored Links |
|
#6
| ||||
| ||||
Thanks!!!
__________________ Toby D. "Imagination and Memory are but one thing, but for divers considerations have divers names" Schwarzwald (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) www.refractotech.com |
|
#7
| |||
| |||
| [QUOTE=Geof;323187]Can you program a circle? For example G03 I0. J-.3125 Fsomething. This does one counterclockwise circle around a centerpoint located negative 0.3125 on the Y axis. (Actually some controls interpret the J value as the absolute Y coordinate; mine interpret it as the incrmental distance from the location of the tool.) Can you do helical interpolation using incremental? G91 G03 I0. J-.3125 Z0.0769 Fsomething. This does one CCW circle but during the circle the tool moves up the distance Z.0769; in other words it has cut one thread. Thread milling is simply helical interpolation where the Z movement per circle is the thread pitch. To do a right hand thread 3/4" deep you start at the bottom and spiral your way up. G91 G03 I0. J-0.3125 Z.0769 Fsomething L10 QUOTE] I am still pretty new to CNC, so go easy. I do not fully understand I, J and K. Is I the same as X and J the same as Y, except they are circular movements? If not, how do I determine my I and J coordinates? This is how I have learned to make a circle. G2 X.5 Y.25 R.25 F10 G2 X0 Y.25 R.25 This makes a circle, but makes it very hard to make threads since you are just cutting two 180's. I have downloaded the spreadsheet and Advent's program, but I would like to have a grasp on the actual mechanics of the code. Thanks for any assistance. http://www.advent-threadmill.com/2_downloads.cfm |
|
#8
| |||
| |||
to quote a famous military figure... I will return.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#9
| |||
| |||
I, J and K, where did I mention K? Are you trying to confuse me? Getting serious: All the following is correct for Haas machines. Circular interpolation moves; the G02 clockwise motion and G03 counterclockwise motion, for a partial circle can be programmed using the Radius method or the I, J method but for a full circle it is necessary to use the I, J, method. You can understand why the R method does not work for a full circle when you look at what the G02 or G03 command is telling the machine to do with the R method. In absolute programming G02 says follow a clockwise circular path with a radius equal to R from your present position to the position X, Y. In incremental programming G02 says follow a clockwise circular path with a radius R from your present position to a position located a distance X and a distance Y from your present position. G03 just says follow the counterclockwise path. For a full circle the start position and end position are the same, or looked at it another way the distance travelled is zero. So using the R method for a full circle means you are telling the machine to go to the position it is already at in absolute or telling it to go nowhere in incremental. It is possible to do almost a full circle using the R method. In fact when you tell the machine to move on a circular path between two points you always have two choices; the short way in which the circle covers less than 180 degrees or the long way which covers more than 180 degrees. Giving R a negative value tells the machine to go the long way round. Of course it is possible to do two half circles using the R method to get one full circle; or any combination of two partial circles. For a full circle in one command the I, J method has to be used With the I, J method the effect of the G02 or G03 command is slightly modified; G02 says move in a clockwise circle all the way around to your starting point using the position defined by I and J as your center point. G03 is move counterclockwise. In this command the center is located the distance I along the X axis from the starting point and the distance J along the Y axis from the starting point. As an example imagine the Work Coordinate is located at the center of a 1.000" dia. hole that has to be interpolated. Using a 0.500" dia cutter the centerline of the cutter has to follow a radius of 0.250". If the tool is positioned first at the Work Zero, X0. Y0. a move to Y0.25 puts the cutter at the correct radius; the distance back to the center point is 0.250". The circular interpolation command for counterclockwise motion is: G03 I0. J-0.25 The J is negative because the Y move was positive; if the Y move was negative the J would be positive. I is 0. because there was no X movement from the center point to the starting point for the circle. When using the I, J method for full circles absolute and incremental has the same effect; the circular interpolation command says follow a circular path back to this point using the point defined by I and J as your center point. Because the command returns to the same point no incremental motion has occured; because the command returns to the same point it has returned in absolute to its original location. Thread milling makes use of this by using incremental to command an incremental Z move during the circular interpolation. To end I will comment that it is possible to use R for thread milling and it is possible to do partial circles with I and J but not tonight .
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#11
| ||||
| ||||
| This is for single point tool that I have. Gary % O0 G17 G40 G80 G90 (3/8 THREAD MILL 5/8-13 TPI) T2 M6 S6500 M3 G0 G90 G54 X0.0637 Y0 G43 Z1. H2 M8 G0 Z0.1 G1 Z-1.0269 F10.1 G41 X0.0625 D2 G3 X0.126 Z-1. I0.0318 J0 Z-0.9231 I-0.126 J0 Z-0.8462 I-0.126 J0 Z-0.7692 I-0.126 J0 Z-0.6923 I-0.126 J0 Z-0.6154 I-0.126 J0 Z-0.5385 I-0.126 J0 Z-0.4615 I-0.126 J0 Z-0.3846 I-0.126 J0 Z-0.3077 I-0.126 J0 Z-0.2308 I-0.126 J0 Z-0.1538 I-0.126 J0 Z-0.0769 I-0.126 J0 Z0 I-0.126 J0 X0.0625 Z0.0269 I-0.0317 J0 G1 G40 X0.0637 G0 Z0.1 Z1. G0 G49 G90 Z0 M9 G28 G91 Y0 Z0 M30 % |
|
#12
| |||
| |||
| I just realised maybe K is when you are working in a vertical plane; doing circular motion in X and Z or Y and Z, K would be the distance to center along the Z axis. This is motion in G18 and G19.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 0M-Thread milling? | mikul | Fanuc | 1 | 12-05-2006 11:56 PM |
| thread milling | STS_Kevin | Daewoo/Doosan | 0 | 11-28-2006 06:50 PM |
| Thread Milling 3/8-18 NPT | shawn | G-Code Programing | 13 | 08-26-2006 08:24 AM |
| ACROLOC series 10 Vertical Milling Center CNC | DieGuy | General Metal Working Machines | 2 | 07-20-2005 05:12 PM |