![]() | |
| 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
| |||
| |||
Like the last one, this learning module is to help me. It is not intended to verify whether anyone else knows what they are doing. It might not even be a good way for me to learn but at this point in my struggle I think it might. The module I posted before didn't have an arc. What I hope you vets will do is to write a gcode for it. Then I can study it to see why you did what you did. Thanks for your time. arc a and arc b |
|
#2
| ||||
| ||||
| First thing, is that the origin (0,0) is usually at the lower left, not the upper left. But here's the code with the origin the way you have it, upper left. Looking at it again, with out knowing the location of the endpoint, and the radius of the arc, it's not possible for me to give you the exact g-code. I'll give you something close. The top of the workpiece is usually Z= 0, so the firs tjing you do, is lift up the tool to clear the workpiece. G0 Z0.125 (lift tool 1/8 above work) G0 X6.25 Y4.25 (move tool to start of line) G1 Z-.3125 F5 (plunge 5/16" @ 5" per minute) G1 X12 F10 (move to the start of the arc at 10" perminute) G2 X18 Y10.25 I0 J6 F10 The last move makes an arc with a 6" radius to position X18,Y8.25. The I and J specify the centerpoint of the arc relative to the start of the arc. I is the X, J is the Y. The center of the arc is 12,10.25. The start of the arc is 12,4.25, so the I =0 (12-12) and the J =6 (10.25-4.25). This is not exactly the way you show it, but hopefully it will help.
__________________ 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) |
|
#3
| ||||
| ||||
I make my targets against the sold jaw in vise operations. That's the back on the kurts. Also, on fixtures, when using locating pins, I put them to the back when possible because it's easier (safer for operators) to push the part against the pins instead of pull them. As for arcs, I wrote this up for one of my classes when teaching them arcs on a HAAS.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| |||
| |||
| I think I was told before about the proper starting place. I won't make that mistake again (left lower corner). The steps you laid out help me to see how something other than a straight line is executed. The need for this may seem ridiculous for many observers but it will help me a lot. I will study it thoroughly. Thanks |
|
#5
| |||
| |||
The next step for me (working backwards) is to revise the diagram showing 0/0 where it belongs and then show what the g-code (by ger21) looked like when it existed as a graphical tool path (my term- probably wrong). |
| Sponsored Links |
|
#7
| |||
| |||
| Chunky CNC convention places the machines xy origin at lower left. Rekd is talking about offsetting the origin to a position a given distance from machine origin by using a code such as G54 or G92. In my opinion no matter where you shift the origin, x0,y0 remains lower left. Any move from this new offset origin towards the machine origin now becomes a movement in the negative direction. Learn your movement codes first and the concept of offsets will be easier to understand. For now I would stick with the concept of x0,y0 is lower left. From the origin (overhead view) X movement right + X movement left - Y movement up + Y movement down - The thing to keep in mind is that you can place x0,y0 at any position on your part. For instance, if you place X0,Y0 at the top right corner of your part all points on this part will be X- , Y- . Last edited by cyclestart; 06-07-2005 at 07:39 AM. |
|
#8
| ||||
| ||||
I haven't done my CNC conversion yet, so haven't considered that, but every commercial CNC machine I've ran has the X0 Y0 in the back right.
__________________ Matt San Diego, Ca ___ o o o_ [l_,[_____], l---L - □lllllll□- ( )_) ( )_)--)_) (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#9
| ||||
| ||||
| Rek'd, I don't think any commercial routers are back right. Ours is actually upper left. ![]() Chunky, disregard this and make it lower left. You'll find that virtually all CAD programs use lower left, which makes it easiest to set up your machine that way.
__________________ 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) |
|
#10
| |||
| |||
I hope you guys will suffer through one more for me. This time I have written the code by looking at what you've done. The one thing I've not really addressed with my questions is what part of the tool is used for determining its position. I can't imagine it would be anything other than the center. But I'm about to see. Will you please look at this pic and see if the gcode is correct. Thanks. DIAGRAM |
| Sponsored Links |
|
#11
| |||
| |||
... and where would X0,Y0 be if you faced your monitor from behind...? ![]() ... the right hand doesn't know what the left hand is doing.... ... go get'um Chunky....! Dave leaves to get a popcicle.... |
|
#12
| ||||
| ||||
__________________ 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) |
![]() |
| 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 |
| Learning exercise (for me) | Chunky | G-Code Programing | 12 | 06-01-2005 08:05 AM |
| learning to g-code | bush666au | G-Code Programing | 3 | 04-06-2004 06:02 AM |
| Could use some advise on learning CNC? | Beezer | General CAM Discussion | 8 | 03-06-2004 12:12 PM |
| Mastercam Home Learning | motomitch1 | Mastercam | 12 | 11-21-2003 07:13 AM |
| learning to model | HuFlungDung | OneCNC | 6 | 04-18-2003 01:01 PM |