603,965 active members*
3,361 visitors online*
Register for free
Login
Results 1 to 20 of 20
  1. #1
    Join Date
    Dec 2003
    Posts
    7

    New to G-code got some ?'s

    I in the learning process of G code. what im trying to write is something very simple to you guys, but not for me. I cant seem to get the G02 down, can you help me write this simple rectangle for me? The dementions are 2.740in by 1.760. With the 4 conors rounded.
    Thanks bob

  2. #2
    Join Date
    Mar 2003
    Posts
    6855
    T0 M06
    G00 X0.0000 Y0.0000 Z0.0000
    X6.2999 Y4.4187
    G01 Z-1.0000 F0.00
    G03 X6.4190 Y4.2555 I0.1190 J-0.0382
    G01 X7.8361
    G03 X7.9551 Y4.4187 I0.0000 J0.1250
    G01 X7.2465 Y6.6249
    G03 X7.0085 Y6.6249 I-0.1190 J-0.0382
    G01 X6.2999 Y4.4187
    G00 Z0.0000
    M02

  3. #3
    Join Date
    Dec 2003
    Posts
    7
    Thanks So that will do it?

  4. #4
    Join Date
    Mar 2003
    Posts
    6855
    OOPs, the above will make a triangle.

  5. #5
    Join Date
    Mar 2003
    Posts
    6855
    Here you go -

    T0 M06
    G00 X0.0000 Y0.0000 Z0.0000
    X3.4541 Y5.8512
    G01 Z-1.0000 F0.00
    X5.9441
    G03 X6.0691 Y5.9762 I0.0000 J0.1250
    G01 Y7.4862
    G03 X5.9441 Y7.6112 I-0.1250 J0.0000
    G01 X3.4541
    G03 X3.3291 Y7.4862 I0.0000 J-0.1250
    G01 Y5.9762
    G03 X3.4541 Y5.8512 I0.1250 J0.0000
    G00 Z0.0000
    M02

  6. #6
    Join Date
    Dec 2003
    Posts
    7
    i may not know much but i new some thing was wrong with that first one.i got one more question,Whats T0 M06 on the first line mean and do. Thank you

  7. #7
    Join Date
    Oct 2003
    Posts
    8
    T00 = TOOL STATION NUMBER
    M06 = IS PREPATORY COMMAND TO CHANGE TOOLS

    how about using the R value instead of I and J

    2.00" .25 radius on the corners

    T1M6
    G0 X-.25 Y-.25 S1500 M3
    G43 H1 Z.1 M8
    G1 Z-.10 F8.0
    Y1.75 F16.0
    G2 X.25 Y2.25
    G1 X1.75
    G2 X2.25 Y1.75 R.25
    G1 Y.25
    G2 X1.75 Y-.25 R.25
    G1 X.25
    G2 X-.25 Y.25 R.25

  8. #8
    Join Date
    Dec 2003
    Posts
    7
    Thanks i'll try both.

  9. #9
    Join Date
    Dec 2003
    Posts
    7
    Schulze- I like the R it's simpler. I tested your way out, without and material and it didnt look like a box.It looked like a 2 flat sides with 2 round sides. I could be wrong thoe.What i wanted was 4 sides with all the conors rounded, just a bit. Im am understanding it alot more thansk to you guys. Thanks again.

  10. #10
    Join Date
    Oct 2003
    Posts
    8
    keep in mind the R value is only good for arcs less than 180 degrees. Anything over must use I and J

  11. #11
    Join Date
    Oct 2003
    Posts
    8
    I goofed. the R value should be .5 not .25

  12. #12
    Join Date
    Oct 2003
    Posts
    38

    Re: New to G-code got some ?'s

    Originally posted by RCARCA
    I in the learning process of G code. what im trying to write is something very simple to you guys, but not for me. I cant seem to get the G02 down, can you help me write this simple rectangle for me? The dementions are 2.740in by 1.760. With the 4 conors rounded.
    Thanks bob
    How much are they rounded by. IE what are the radii of the 4 corners ??

  13. #13
    Join Date
    Oct 2003
    Posts
    38
    And you will deffo need some kind of cutter compensation if your milling a rectangle pocket. G41 or G42 depending on which way you go round

  14. #14
    Join Date
    Dec 2003
    Posts
    7
    Its not a triangle that guy messed up. The radius is .4. Can you explane what cutter compensation is? thanks

  15. #15
    Join Date
    Mar 2003
    Posts
    2139
    Cutter comp takes into account the radius of the cutter. If you want a rectangle the size you indicate, the gcode will have to make a smaller (or larger) rectangle because of the cutter diameter. G41 and G42 do that for you. Most of the hobby controller software packages don't support it (yet). All the industrial controllers do.

    Eric
    I wish it wouldn't crash.

  16. #16
    Join Date
    Oct 2003
    Posts
    263
    Check out this site - free CNC editor with backplotting. Plus, they sell a book ($39.95) designed to teach CNC programming.


    http://www.betatechnical.com/
    Software For Metalworking
    http://closetolerancesoftware.com

  17. #17
    Join Date
    Apr 2003
    Posts
    361
    Easy to use software and good explanations on the G and M codes. Thanks for link
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

  18. #18
    Join Date
    Jul 2003
    Posts
    22
    Ya, cool editor. Does anyone know of an editor that will backplot macros?

  19. #19
    Join Date
    Dec 2003
    Posts
    7
    I downloaded that program, and delta Cad came up when i downloaded it. Is there something wrong with the file ?

  20. #20
    Join Date
    Apr 2003
    Posts
    361
    Nope.
    I just tried the download link again just now (it a 4MB file).
    Try this direct link.
    http://www.betatechnical.com/misc/Au...all%20V3.0.exe
    Stupid questions make me smarter...
    See how smart I've become at www.9w2bsr.com ;-P

Similar Threads

  1. parametric programming
    By Karl_T in forum CamSoft Products
    Replies: 21
    Last Post: 05-24-2005, 08:58 PM
  2. g code interpreters ???
    By aran.nav in forum G-Code Programing
    Replies: 1
    Last Post: 01-08-2005, 09:31 PM
  3. I need sample G code program
    By bunalmis in forum G-Code Programing
    Replies: 1
    Last Post: 08-24-2004, 09:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •