![]() | |
| 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 |
|
#1
| ||||
| ||||
Could anyone give me a general case using the diagram I have attached for the values of I and J in coding for a circle, if the tool start position is Xb,Yb ? As my software seems to run into problems if I enter zero for the value for I, I've located the tool start position at 45 degrees from the circle center. The value of sq.rt. 2 is permanently etched in my brain, so I have no problem in locating the tool, given the position of the center. I'm looking for a general formula primarily to help me get a better grasp of this command, as I have found a lot of 'explanations' ambiguous. Many thanks, John
__________________ It's like doing jigsaw puzzles in the dark. Enjoy today's problems, for tomorrow's may be worse. |
|
#2
| |||
| |||
| Half the square root of two comes into it. If the radius is 1.0000 the X and Y distances from the start point at 45 degrees are 0.7071 which is half the square root of two. Your I and J would be the same and the +/- sign is determined by the direction of your 45 degrees; in your diagram J is positive and I negative. This presupposes your software treats the I and J as incremental distances from the start point to the center; I believe some controllers treat the I and J as the absolute position of the center.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#3
| ||||
| ||||
| Is ther any possibility that it might treat I and J differently, one as absolute and one as incremental ? Sounds a nightmare, but I need to consider it ! John
__________________ It's like doing jigsaw puzzles in the dark. Enjoy today's problems, for tomorrow's may be worse. |
|
#5
| |||
| |||
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
| Sponsored Links |
|
#6
| ||||
| ||||
| Thanks Geof. Now I know why my hat stays on in high winds. ![]() Unfortunately this is a problem for my set up - the controller seems to have a problem with a vaue of zero for I or J, and just tries to drill a hole radius = 0 ![]() John
__________________ It's like doing jigsaw puzzles in the dark. Enjoy today's problems, for tomorrow's may be worse. |
|
#7
| ||||
| ||||
| Jimmy's giving you incremental IJ. Is your control looking for absolute? Absolute IJ specify the actual center coordinates.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#8
| ||||
| ||||
| Hi Gerry, So do I assume this for incremental or absolute coordinates ? Regards John
__________________ It's like doing jigsaw puzzles in the dark. Enjoy today's problems, for tomorrow's may be worse. |
|
#9
| |||
| |||
|
I interpret this as incremental. Have you done a successful circle using non-zero values in both I and J?
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#10
| ||||
| ||||
| Looks like incremental to me too. Not sure why it won't work with a zero coordinate.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
| Sponsored Links |
|
#11
| ||||
| ||||
| What comes to my mind, is that the TAN90° or TAN270° are undefined. So perhaps whatever formula the controller uses incorporates this trig function somehow, so it craps out when these particular angles are involved.
__________________ First you get good, then you get fast. Then grouchiness sets in. (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#12
| |||
| |||
| Here is a technique to test. Position the tool at what will be the hole center. Move the radius distance in Y and something like 0.1 in X. Now program the G02 using I-0.1 Y-(radius distance). EDIT: Your radius comes out wrong of course with the mov e of X0.1 but if this works see if it will accept an X move of 0.001 with a corresponding I-0.001; this will have negligible affect on the true radius.
__________________ 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 |
| Need Help!- formula? | JOptionPane | CNC Machining Centers | 2 | 06-23-2008 01:52 PM |
| need a formula | gravy | General Metalwork Discussion | 4 | 03-29-2008 07:38 AM |
| looking for a Formula | rusticr6 | Haas Mills | 29 | 10-18-2007 10:23 AM |
| What is the Formula? | widgitmaster | General Metal Working Machines | 6 | 03-23-2006 10:35 PM |
| Formula | CNCRob | General CAM Discussion | 3 | 07-01-2005 09:18 AM |