Go to Post If you are "retiring" the old ball, make all the lights green, hang it 8 feet in the air, line up a bunch of 'bots and let 'em shoot poofs. RoboPinata! (warning kids - don't eat the "candy" that falls out!) - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 25-06-2004, 13:17
Katie Reynolds Katie Reynolds is offline
Registered User
no team (NEW Apple Corps)
Team Role: Alumni
 
Join Date: Nov 2001
Rookie Year: 2001
Location: Appleton, WI, USA
Posts: 2,598
Katie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond reputeKatie Reynolds has a reputation beyond repute
Send a message via AIM to Katie Reynolds Send a message via Yahoo to Katie Reynolds
Re: Help - G-Code Circular Motion for CNC Milling

Let's see ...

G02 = circular interpolation (clockwise)
G03 = circular interpolation (counter-clockwise)

Ok ... let's see if I remember this. We'll start with an arc.

You first have to identify the point at which you want to start your arc. We'll use (1,4) as our starting point.

The next step is the trickiest - you need to determine what the center point of your circle will be. mapping the whole thing out on graph paper is the easier way to do it, because then you can calculate the radius and you'll know where the centerpoint is (without a whole lot of trial and error on the actual part)

the coordiantes for your center point are your (I,J) coordinates. The beginning and end points will always be (X,Y) coordinates

Then, you need to identify your end point. We'll go with a quarter of a circle, which will put us at (6,1)

**make sure that there is an equal distance from the center point to your beginning and end points! Otherwise, your mill will hate you and make your part look funny**

For example:

N08 G01 X1 Y4 ------ will move your cutter to (1,4)

N09 G02 X4 Y7 I4 J4 ------- (4,4) - your (I,J) coordinates - is your center point. the cutter will move in a clockwise position until it hits (4,7) - your (X,Y) coordinates.

If you want a larger arc, change your (X,Y) coordinates.

For example:

N09 G02 X7 Y4 I4 J4 --- will give you half a circle.
N09 G02 X4 Y1 I4 J4 --- will give you three quarters of a circle.
N09 G02 X1 Y4 I4 J4 --- will give you a full circle.


Of course, you'll have to tweak this a bit to get the exact size circle you want and such but ... I hope this helped! (If you want a drawing, PM me!)
__________________
Team #93 - NEW Apple Corps
Student - 2001-2004
Team #857 - Superior Roboworks
Mentor - 2006-2009

Last edited by Katie Reynolds : 25-06-2004 at 14:39.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding / Style Standards for sharing C code Joe Johnson Programming 33 01-05-2004 15:15
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12


All times are GMT -5. The time now is 03:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi