Hello Guest it is March 29, 2024, 05:15:36 AM

Author Topic: Newbie needs easy help  (Read 3933 times)

0 Members and 1 Guest are viewing this topic.

Newbie needs easy help
« on: October 15, 2010, 12:47:02 PM »
Hi All, not too smart on the Gcode.
Had a fellow make me the following code.
It creates me a 3 inch circle cutout disk in Plexiglas.
I would like to make a step 1/8th of an inch smaller to make a lip on my circle cutout disk.
This is required to fit the disk inside a tube but as a lid and not fall inside.
Ive tried editing the code but it ends up off-center to the original disk.

Any GURU Goders feel up-to providing me some assistance.

_--------------------------------------_

G20 G40 G90 G91.1
G0 Z-1.500
G0 X5.000 Y8.0 Z-0.500
G1 X5.000 Y8.0 Z0.000 F75
G3 X5.000 Y8.0 Z0.125 I0.000 J-1.5 F125
G3 X5.000 Y8.0 Z0.250 I0.000 J-1.5
G3 X5.000 Y8.0 Z0.250 I0.000 J-1.5
G0 X5.000 Y8.0 Z0.500
G0 Z1
M30

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: Newbie needs easy help
« Reply #1 on: October 15, 2010, 06:02:56 PM »
Have you thought about giving one of the wizards a try?
You willl learn a lot and can try a number of different ways of doing the machining task.
Run the code in Mach and see what each line of code does.

RICH

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Newbie needs easy help
« Reply #2 on: October 15, 2010, 06:55:09 PM »
OK not a problem BUT that does not appear to be a workable Cut fille for many reasons. Have you cut a 3 " disk with it yet??

(;-) TP
Re: Newbie needs easy help
« Reply #3 on: October 15, 2010, 07:08:07 PM »
In foam yes.
My play area.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Newbie needs easy help
« Reply #4 on: October 15, 2010, 09:07:40 PM »
You have your machine set up wrong. Typically, Z zero is the top of the part, and -Z is down into the part. When I load your code, it starts at the bottom and cuts up.  :o

Since the code you posted is modified from code that I gave you, I guess I'll give you new code.

So, you start at 5,8, with the center at 5,6.5.

Your center will stay the same, but you want to start 1/8" in, so you start at 5,7.875.

G0 X5.000 Y7.875 Z0.500
G1 X5.000 Y7.875 Z0.000 F75
G3 X5.000 Y7.875 Z0.125 I0.000 J-1.375 F125
G3 X5.000 Y7.875 Z0.1250 I0.000 J-1.375
G0 X5.000 Y7.875 Z0.500

All together you do this. I added comments to help out.

G20 G40 G90 G91.1 (inch mode, comp off, absolute, incremental IJ)
G0 Z1.500  (rapid up 1.5inches above part)
G0 X5.000 Y8.0 Z0.500 (rapid to start position, .5 above part)
G1 X5.000 Y8.0 Z0.000 F75 (move down to surface of part)
G3 X5.000 Y8.0 Z-0.125 I0.000 J-1.5 F125 (make one revolution helical cut, ending .125 down)
G3 X5.000 Y8.0 Z-0.250 I0.000 J-1.5 (make another revolution helical cut, ending .25 down)
G3 X5.000 Y8.0 Z-0.250 I0.000 J-1.5 (make one more revolution at z= -0.25, to release the part)
G0 X5.000 Y8.0 Z0.500 (rapid up to .5 above part)
G0 X5.000 Y7.875 Z0.500 (rapid to start of lip)
G1 X5.000 Y7.875 Z0.000 F75 (move down to surface of part)
G3 X5.000 Y7.875 Z-0.125 I0.000 J-1.375 F125 (make one revolution helical cut, ending .125 down)
G3 X5.000 Y7.875 Z-0.1250 I0.000 J-1.375 (make one more revolution to give flat bottom)
G0 X5.000 Y7.875 Z0.500 (retract to .5 above part)
M30 (rewind)

Again, you need to set up your machine so that +Z is up, and -Z is down.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Newbie needs easy help
« Reply #5 on: October 15, 2010, 09:30:59 PM »
Thankyou.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Newbie needs easy help
« Reply #6 on: October 16, 2010, 10:37:28 AM »
Not to interferre but should you not cut the lip first before it is cut loose then the rest?

How about tool offset allowance to make sure it comes out 3"?

Just a thought, (;-) TP

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Newbie needs easy help
« Reply #7 on: October 16, 2010, 11:01:08 AM »
Yes, the lip would be better cut first. He'll also need some way to keep the part from coming loose and being damaged. This way would be better.

G20 G40 G90 G91.1
G0 Z1.500
G0 X5.000 Y7.875 Z0.500
G1 X5.000 Y7.875 Z0.000 F75
G3 X5.000 Y7.875 Z-0.125 I0.000 J-1.375 F125
G3 X5.000 Y7.875 Z-0.1250 I0.000 J-1.375
G0 X5.000 Y7.875 Z0.500
G0 X5.000 Y8.0 Z0.500
G1 X5.000 Y8.0 Z0.000 F75
G3 X5.000 Y8.0 Z-0.125 I0.000 J-1.5 F125
G3 X5.000 Y8.0 Z-0.250 I0.000 J-1.5
G3 X5.000 Y8.0 Z-0.250 I0.000 J-1.5
G0 X5.000 Y8.0 Z0.500
M30

And in his original post at CNC Zone, he stated he was using a 1/4" tool.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Newbie needs easy help
« Reply #8 on: October 16, 2010, 11:09:55 AM »
Thankyou again fellows. Im happy to have anything working at the moment.
ger21 has taken me in under his proverbial wing, that has spanned 2 forums.
Thankyou ger21, your coding works great in my styrofoam, once i move my machine outdoors (need a new pc to do that) then i can rev her up and make some noise.
Thanks to all who have assisted.