|
Post by sims426 on Jul 22, 2017 22:25:38 GMT
Hey all, I'm having a problem with the Z axis rapidly traversing up, then down after I send the .nc file in UGS. I'm completely new to G-code and learning CNC. I've spent the better part of the last two months trying to learn fusion360 cad/cam, and I still haven't made one object that has ran seamlessly. I know the machine is perfect, I have homing switches installed, machine traverses as it should when jogging and running homing cycles. I'd be lying if I said I'm not totally discouraged in my ability to learn to run this machine. I'm at a loss for what it is I'm doing wrong and I could really use help and encouragement. I know I can do this, I'm just getting overwhelmed with these failures and its robbing my drive to keep trying. The part I drew up is very basic, its a ring that is 6.475" OD x 5.625" ID x 0.220" height. Stock dimensions are 8" x 8"x 0.225" height. Any help is greatly appreciated guys, thanks in advance, hope everyone has a great weekend! adapter1.nc (3.87 KB)
|
|
|
Post by Derek the Admin on Jul 23, 2017 1:15:29 GMT
Hey Sims. I can guarantee that we will get you going. If you hang around here and asks questions like this you will get the skills you need to be a successful operator.
When you run this particular file is it raising the Z up then down? The g code file that you posted looks okay. I have a feeling that it has something to do with your part zeroing procedures.
Please tell me how you set the machine up to run this file. Where did you designate the origin for the port before you ran the part? Did you designate the top of the stock as the zero point?
Also, type $$ and enter into the command line and copy and paste or post a screenshot of those results. I want to check that everything looks okay in your controller settings.
|
|
|
Post by sims426 on Jul 23, 2017 2:40:27 GMT
I set the clearance, retract, feed, and top heights to stock top, then the offsets 10, 6, 1, and 0mm. the bottom height is set to selected contours with 0mm offset. As far as my zero, I set the origin point for z in the center of the part in fusion, then in UGS I run my homing cycle, jog my machine to center stock, and bring zero down using the paper drag method. I then enter G92 X0 Y0 Z0.1, Then G90 G0 Z10. The z axis moves up 10mm as it should. I then browse, open the file, check the visualization, then send the file. Thats when the defecation hit the oscillation, lol. It travelled rapidly upward, crashed, I went into a panic, then it moved to where the start of the toolpath was and plunged directly through my part and the X/Y spoil board before I finally yanked the plug. It was only after the fact I realized that I should have just hit pause but It definitely startled me and I froze. As far as the $$ command when I get up in the AM I'll do that and post the results. Thanks again for your reply, really hoping to get better at this soon!
|
|
|
Post by aforww on Jul 23, 2017 4:07:22 GMT
I think the problem is your height settings. Bottom height should be model bottom 0 offset. Top Height should be stock top and 0. Retract height should be stock top 5mm (or whatever you need to clear obstructions) offset. Clearance Height should be from RETRACT HEIGHT with 10mm offset.
|
|
|
Post by Derek the Admin on Jul 23, 2017 4:08:45 GMT
Ill look at your file again. All of that sounds okay at first blush. I'll look at your g code again when I'm on my computer. There could be a G28 in there that I wasn't looking for before. If the G28 position is set to an out of range Z that causes it to crash upward it will lose steps and then send it too far downwards. I will look at the code again for that.
|
|
|
Post by aforww on Jul 23, 2017 4:10:32 GMT
Ill look at your file again. All of that sounds okay at first blush. I'll look at your g code again when I'm on my computer. There could be a G28 in there that I wasn't looking for before. If the G28 position is set to an out of range Z that causes it to crash upward it will lose steps and then send it too far downwards. I will look at the code again for that. I looked for it and didn't see it.
|
|
|
Post by Derek the Admin on Jul 23, 2017 4:13:30 GMT
I think the problem is your height settings. Bottom height should be model bottom 0 offset. Top Height should be stock top and 0. Retract height should be stock top 5mm (or whatever you need to clear obstructions) offset. Clearance Height should be from RETRACT HEIGHT with 10mm offset. Could be, but if he selected the bottom contour of the 3d model then 0 offset from selected contour would be right for a profile op intended to cut to full model depth. You bring up a good point though. Let's see the fusion f3d file please.
|
|
|
Post by aforww on Jul 23, 2017 4:19:50 GMT
I think the problem is your height settings. Bottom height should be model bottom 0 offset. Top Height should be stock top and 0. Retract height should be stock top 5mm (or whatever you need to clear obstructions) offset. Clearance Height should be from RETRACT HEIGHT with 10mm offset. Could be, but if he selected the bottom contour of the 3d model then 0 offset from selected contour would be right for a profile op intended to cut to full model depth. You bring up a good point though. Let's see the fusion f3d file please. He said that's what he had the bottom set for so that's what I went with lol. But yea, much easier to diagnose with the file. I had a similar issue a while back where I forgot to adjust my retract height to a lower number when I was going to mill some really thick stock. Crashed the Z up twice before it dawned on me.
|
|
|
Post by sims426 on Jul 23, 2017 17:57:40 GMT
Here is the setup for you guys to look through, hopefully you spot something I did wrong, lol. Thanks for all your help guys, and aforww are you done making the encased control boxes for these machines? 2d contour.docx (274.42 KB)
|
|
|
Post by aforww on Jul 23, 2017 18:22:59 GMT
Here is the setup for you guys to look through, hopefully you spot something I did wrong, lol. Thanks for all your help guys, and aforww are you done making the encased control boxes for these machines? Can you send or link to the actual design file? I still think it's the height tab. What caught my attention is the "maximum stay down" value of 50mm. How thick is the stock in the model?
|
|
|
Post by sims426 on Jul 23, 2017 23:19:44 GMT
Please don't laugh...how do I post a link to it? I believe you are right about it being in the heights tab, and the settings not being correct. After looking at the heights in fusion with the different planes I realized that there isnt a bright blue plane at the bottom of the stock like your picture. Can I attach pictures or video directly from my phone or computer on this forum without having to use an image host?
|
|
|
Post by aforww on Jul 23, 2017 23:41:50 GMT
|
|
|
Post by sims426 on Jul 24, 2017 17:58:45 GMT
Well I screwed up somehow and deleted the entire file... Ill try again tonight after I get home from work! I had travelled to a friend of mines house yesterday who makes and sells cnc routers to pick his brain and physically show him what was happening. He found something at the beginning of the g-code and made a small change and we were able to run a ghost cut without any issues so i'm not sure what happened! He is also a dealer for vcarve software and used it to make a few engravings with my machine that worked great, I was honestly in awe after finally watching my machine run flawlessy and knowing that this is only the beginning! im still not sold on starting over with another program so I think i'll be sticking with fusion and trying to find some local classes to get some more hands on training. I really appreciate all your help Derek and aforww, and I cant believe the support and passion you guys put into this machine and helping others! I will post my results tomorrow and hopefully gain more confidence with this. Thanks again guys!
|
|
|
Post by aforww on Jul 24, 2017 18:49:54 GMT
Glad you got it working bud. Fusion is a beast but it's so feature rich it's to be expected. You'll get there. I'm still learning about it every time I use it. I just recently stumbled on to importing .obj files like what you can download off Thingiverse and converting them to mesh for 3d carving. Super cool stuff. I also just purchased ArtCam but don't like the lack of control for tool paths. So I design in ArtCam then send the Mesh to Fusion for CAM and post processing.
|
|
|
Post by Derek the Admin on Jul 24, 2017 20:04:40 GMT
Glad you got it all worked out. Congrats
|
|