585,962 active members*
3,836 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Posts
    1469

    Question Gcode I think

    My machine is almost done and I was wondering if someone would write three routines for me.

    I want to run each one seperately. This will let me know how accurate it is.

    1. Cut a square, 10" on each side and 1/8" deep.

    2. Cut a circle with a 4" radius and 1/8" deep.

    3. Drill four holes 1/4" dia and 1/8" deep 20" apart. Drill at the corner intersections of a 20" square.

    Tool will be 1/4" in diameter.

  2. #2
    Join Date
    Feb 2006
    Posts
    338
    Skiping a bit of other stuff that may be needed...
    Be aware that different controls may require differences in the G-code.

    X Y zero is the center of everything. Z zero is the top surface.
    no cutter comp or spring passes. Just one pass at the desired finish size.
    Putting in feed of 10.0 Change based on your spindle speed and material to cut.

    __________________________________

    ( 10" Square boss, outside measurement )
    G0 X5.125 Y4.0
    Z0.5
    G1 Z0.05 F10.0
    Y5.125 Z-0.125
    X-5.125
    Y-5.125
    X5.125
    Y5.125
    G0 Z0.5

    (4" circle boss, OD )
    G0 X2.125
    Z0.05
    G1 Z-0.125 F5.0 (better to drill this out instead of plunging in metals)
    G3 I-2.0 ( may need to be I0.0 for Absolute/incramental center points )
    ( assumed values for G3 X2.0 Y0.0 J0.0 )
    G0 Z0.5

    (drill 4 holes 20" square)
    G81 X10.0 Y10.0 Z-0.125 R0.5 F5.0
    X-10.0
    Y-10.0
    X10.0
    G80

    ________________________________

    Please check this on your control and make sure it runs as expected before putting a tool close to the part. While this would work on the controls I have, there are several unknowns about how your control expects g-code to be.

    Dale

  3. #3
    Join Date
    Sep 2003
    Posts
    1469
    Thanks Dale,

    That's exactly what I was looking for.

    Hager

Posting Permissions

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