Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Mason Dixon on May 04, 2016, 06:33:49 PM

Title: Beginners help need with CNC
Post by: Mason Dixon on May 04, 2016, 06:33:49 PM
I just setup a machine and set my soft limits which work fine. I jog my machine over towards the middle of the table and load a simple gcode of a 2" circle just to see if it runs and I keep getting soft limits warning error. Please advise, thanks.

(http://i.imgur.com/bZlviFQ.jpg)

Title: Re: Beginners help need with CNC
Post by: Charlie_M on May 04, 2016, 07:09:10 PM
What are the dimensions (x,y,z max travel) of your machine and what do you have your soft limits set to?
Title: Re: Beginners help need with CNC
Post by: Mason Dixon on May 04, 2016, 09:47:08 PM
Dimensions:
x=50
y=96
z=6

Soft limits set to:
x=49
y=94
z=2
Title: Re: Beginners help need with CNC
Post by: Davek0974 on May 05, 2016, 02:21:00 AM
Is the machine homed first?

Did you set a start origin and regen the toolpath?

I have had this error a lot and its always fixed by doing these two things, for me at least - it's telling you the code is trying to move the X beyond what it thinks it is capable of but usually because it doesn't know where it really is;)
Title: Re: Beginners help need with CNC
Post by: Mason Dixon on May 05, 2016, 12:15:17 PM
It wasn't homed, I'll give that a shot this afternoon after work, thanks
Title: Re: Beginners help need with CNC
Post by: Davek0974 on May 05, 2016, 01:54:46 PM
Fingers crossed :)

Until it's homed the limits won't really know where the axes are you settings are similar to mine - 2mm under max travel, do you have a slow-down zone set as well, you will likely need it but best set by trial and error.
Title: Re: Beginners help need with CNC
Post by: Mason Dixon on May 05, 2016, 08:00:43 PM
Still not having any luck, this is the process I've been using after watching this youtube video  https://youtu.be/08qK4NfnXqA?t=266

Jog to center of table
(http://i.imgur.com/ljlp5ct.jpg)

Zero out
(http://i.imgur.com/nGBLrCO.jpg)

Regen Toolpath
(http://i.imgur.com/LAUOVvZ.jpg)

I'm getting a soft limits warning on the z axis, but I have my soft limits set to -5 inches which should be enough for a simple circle file I'm trying to cut which says only .75" on the z if I'm reading it right. (I would upload the circle file I'm trying to cut but don't know how)
Title: Re: Beginners help need with CNC
Post by: Davek0974 on May 06, 2016, 02:16:54 AM
Its still being told to go somewhere it thinks it can't.
Is it just Z thats faulting now?

That code appears to be from Vectric, check the end of the code to see if there is an M05 line, vectric seems to leave these out which is odd, my one did anyway.

You should be able to post the code file as you did the pictures - add attachment, maybe change the file name by putting your name in front etc first, or open it in notepad and screenshot it if its a short code.

When you home Z is home at the topmost part of the travel?
X&Y zero at front-left corner?
Title: Re: Beginners help need with CNC
Post by: Charlie_M on May 06, 2016, 05:48:56 AM
can you post a pic of the soft limit settings?
Title: Re: Beginners help need with CNC
Post by: ozymax on May 06, 2016, 09:26:42 AM
What's your safe Z set to in your Vectric program?
If you're not sure where to find it, it's under the "Material setup" in the Toolpaths tab.
The safe Z is set under "Rapid Z gap above material" and "Home/Start position".
If this is set higher than your soft limit distance, it will give an error when you hit cycle start.
Title: Re: Beginners help need with CNC
Post by: Mason Dixon on May 06, 2016, 02:59:21 PM
Soft Limits
(http://i.imgur.com/Z8VE6PC.jpg)

Circle G Code
(http://i.imgur.com/xmmlvKR.jpg)
(http://i.imgur.com/dv7IuSg.jpg)

I found this particular vectric sample gcode on a forum, I haven't actually made any gcode myself in vectric although I plan to learn this weekend.
Title: Re: Beginners help need with CNC
Post by: Davek0974 on May 06, 2016, 03:11:28 PM
Are you zeroing the Z axis at the surface of the material?

BTW was the g-code made for the same material / cutter you are using, things can get ugly if using settings that are way off ;)
Title: Re: Beginners help need with CNC
Post by: fixittt on May 06, 2016, 05:40:35 PM
I think there is a work coordinates setup error on the user end.

I have use Vectric Aspire with a 3040 router and mach3.  no issues.

Where and how are you zeroing your WORK zero points?  Are you moving the tool over a corner and zeroing X and Y work cords.?  Z Axis zeroed with the endmill on the top of the part?  If you are trying to use the HOME position to run the G code from it will never work.
Title: Re: Beginners help need with CNC
Post by: Mason Dixon on May 07, 2016, 11:36:27 AM
Finally was able to get it working.....here was the problem
(http://i.imgur.com/iCD2NjX.jpg)

That should not have been green. I originally followed the tutorial on soft limit setup on instructables.com and the guy there had it green. After watching the above youtube video I posted earlier again, I noticed he had it red. Thanks for everybody's help on this silly little issue.
Title: Re: Beginners help need with CNC
Post by: Davek0974 on May 07, 2016, 11:47:09 AM
Nice one, now the fun starts.....