CNC
CNC lathes and CNC mills repair,
CNC machine repair forums for machinists, cnc programing and manufacturing community.   
   CNC Store
Go Back   CNC Professional Forums > CNC Machinst Help & CNC Troubleshooting Forums > Programming / Applications
Members List Calendar Register FAQ/Rules/Policies Mark Forums Read
Home Recent Posts HELP-FORUMS (ask/answer) Classifieds-freeFile Sharing / Documents Photo Galleries Polls Newsletter   Machinetoolhelp.com.

Programming / Applications All CNC programming, CNC applications, milling, turning, tooling, macro programming, and other CNC machine tool related questions.

Reply
 
Bookmark or Share Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-12, 10:50 AM
Mach Manager/CNC Prog
 
Join Date: Feb 2012
Location: Indiana
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default G-code radial arc blending

Hello..i was looking for some help in creating the programming codes to produce a R12.7 internal arc that continues into a R19.05 external arc with a 1" endmill? Simple coding i'm sure but we don't do much of this at our shop....usually just a simple mill, drill and tap application.
Reply With Quote
  #2 (permalink)  
Old 02-15-12, 02:04 PM
Senior CNC Specialist
 
Join Date: Dec 2011
Location: Illinois / Wisconsin border
Posts: 123
Thanks: 26
Thanked 5 Times in 5 Posts
Default Re: G-code radial arc blending

Quote:
Originally Posted by BeezCNC22 View Post
Hello..i was looking for some help in creating the programming codes to produce a R12.7 internal arc that continues into a R19.05 external arc with a 1" endmill? Simple coding i'm sure but we don't do much of this at our shop....usually just a simple mill, drill and tap application.
It sounds easy enough however, you're missing some basic information.
From what dimension to what dimension? What kind of control? Do you plan on using cutter comp? Which cutter direction? Are these arcs 90degrees each?

For a basic Fanuc assuming no comp;
G01G42D1XxxYyy
G02XxxYyyR12.7(interpretted as no move)
G03XxxYyyR19.05
G01Xxx

Now, for without comp and assuming that you'll need I,K centers;
G01XxxYyy
G01XxxYyy(arc cannot be same as tool)
G03XxxYyyI-6.35J0
G01XxxYyy

Whenever you're programming arcs, you need to write the ARC ENDPOINT. How it gets there (via radial move) depends on either the Radius (R) created or the Center of the Radius (Ix,Ky) from the starting point.

Now, just to make this even more confusing, SOME machines require ABSOLUTE arc center designations. It really depends on which control and what parameters are set.
Reply With Quote
  #3 (permalink)  
Old 02-15-12, 02:16 PM
Mach Manager/CNC Prog
 
Join Date: Feb 2012
Location: Indiana
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: G-code radial arc blending

to produce an S-curve. first arc is internal at R19.05 with arc center at X 213mm, Y 73mm.......2nd arc that it blends into is an external R12.7 with arc center at X209.3mm, Y40.5mm......and i am using a 1" diameter endmill. The coding will just be G-code M-code on a Mazak Fusion 640M control......
Reply With Quote
  #4 (permalink)  
Old 02-15-12, 02:17 PM
Mach Manager/CNC Prog
 
Join Date: Feb 2012
Location: Indiana
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: G-code radial arc blending

There will also be no cutter comp used....prefer I and J being on a Mill
Reply With Quote
  #5 (permalink)  
Old 02-15-12, 03:15 PM
Senior CNC Specialist
 
Join Date: Jan 2012
Posts: 172
Thanks: 0
Thanked 23 Times in 20 Posts
Default Re: G-code radial arc blending

Quote:
Originally Posted by BeezCNC22 View Post
to produce an S-curve. first arc is internal at R19.05 with arc center at X 213mm, Y 73mm.......2nd arc that it blends into is an external R12.7 with arc center at X209.3mm, Y40.5mm......and i am using a 1" diameter endmill. The coding will just be G-code M-code on a Mazak Fusion 640M control......
To help you with an example, you still have not supplied enough information. You don't say where on the R19.05 radius you want to start and where on the R12.7 you wish to finish. There is another issue:
1. If you refer to the attached drawing, you will see that arcs generated from the centres and radii listed in your Post will not intersect.
G-code radial arc blending-2_circles.jpg

D= Diagonal distance between arc centres
D=Sqr((213-209.3)^2 + (73-40.5)^2)
D= 32.7099

D1=The sum of the radii of the two arcs
D1=19.05 + 12.7
D1=31.75

Gap = D-D1
Gap = 0.9599

There is a gap of 0.9599 between the circumferences of the two circles. Therefore, a program where one arc blends with another arc directly, based on the data supplied, is not possible.

Accordingly, I suggest that you Post a sketch or detailed drawing of what you wish to achieve.

Regards,

Bill

Last edited by angelw; 02-17-12 at 02:01 AM.
Reply With Quote
The Following User Says Thank You to angelw For This Useful Post:
MMMMM (02-16-12)
  #6 (permalink)  
Old 02-16-12, 07:57 AM
Senior CNC Specialist
 
Join Date: Dec 2011
Location: Illinois / Wisconsin border
Posts: 123
Thanks: 26
Thanked 5 Times in 5 Posts
Default Re: G-code radial arc blending

As you can see from Bill's reply, we need more information.

ASSUMING that your trying to figure out the tangent line between the two, here is the code w/o comp - to match the picture attached;

G-code radial arc blending-arcs.pdf

(start at) X206.65
G01 X206.65 Y73.0
G03 X210.786 Y67.049 I6.35J0
G01 X218.158 Y64.305
G02 X234.7 Y40.5 I-8.858 J-23.805
G01 Yyy

Last edited by MMMMM; 02-16-12 at 08:02 AM.
Reply With Quote
  #7 (permalink)  
Old 02-19-12, 04:12 PM
Senior CNC Specialist
 
Join Date: Jan 2012
Posts: 172
Thanks: 0
Thanked 23 Times in 20 Posts
Default Re: G-code radial arc blending

Hi Doug,

Looks like the OP's gone Missing In Action.

Regards,

Bill
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
IMPORTANT DISCLAIMER
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Although The CNC Professional Forum has attempted to provide accurate information on the forum, The CNC Professional Forum assumes no responsibility for the accuracy of the information. All information is provided "as is" with all faults without warranty of any kind, either express or implied. Neither The CNC Professional Forum nor any of its directors, members, managers, employees, agents, vendors, or suppliers will be liable for any direct, indirect, general, bodily injury, compensatory, special, punitive, consequential, or incidental damages including, without limitation, lost profits or revenues, costs of replacement goods, loss or damage to data arising out of the use or inability to use this forum or any services associated with this forum, or damages from the use of or reliance on the information present on this forum, even if you have been advised of the possibility of such damages.


All times are GMT -5. The time now is 04:12 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
| Copyright ©2010-2011 CNC Professional Forum LLC
CNC Machinist Forums