![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm going to try to make this short and to the point, since everything else on my machine is working great, homing works fine, limit switches work fine. Is there a way to home a machine with soft limits turned on? I want to have my soft limits set an inch or so away from my limit switches as a buffer, but when homing, the soft limits are triggered. I read this post: http://cnczone.com/forums/showthread...tton%28&page=3 which I thought would totally work, but it didn't. I added the code to my button script, and with the soft limits off, it works great and my machine homes, then returns to x0 y0, but with soft limits on, it starts homing and stops after it hits the switch and backs off and says soft limits exceeded. any ideas? I've tried the following scripts: DoButton( 24 ) DoButton( 23 ) DoButton( 22 ) DoButton( 25 ) Code "G1 G53 X0 Y0" DoButton( 24 ) DoButton( 23 ) DoButton( 22 ) DoButton( 25 ) While IsMoving() Wend Code "G1 G53 X0 Y0" DoButton( 24 ) DoButton( 23 ) DoButton( 22 ) DoButton( 25 ) While IsMoving() Wend Code "G0 G53 X0 Y0" Again, if soft limits are off, all of these work, and the machine homes, then returns to 0, but with soft limits on, it stops after the first soft limit is reached. Is there a code I can add to the beginning that will turn off the soft limits, then another code that will turn them back on at the end of homing? Thanks Jesse |
|
#2
| |||
| |||
| Hmm, that's weird, I played around a bit here and on my system I can't even turn ON the softlimits before I've homed/referenced the machine. Anyway, you could try something like this: Code: If GetOEMLED(23) Then 'Check if Softlimits are ON DoOEMButton(1029) 'Toggle soflimits End If DoButton( 24 ) DoButton( 23 ) DoButton( 22 ) DoButton( 25 ) Code "G1 G53 X0 Y0" While IsMoving() Wend If NOT GetOEMLED(23) Then 'Check if Softlimits are OFF DoOEMButton(1029) 'Toggle soflimits End If |
|
#3
| |||
| |||
| I've not set this up before, but my understanding of this is that the soft limits should trip after passing through the home position. This is an over travel condition. CarveOne
__________________ "A $1,000 electronic device will almost always protect a ten cent fuse." |
|
#4
| ||||
| ||||
| No, he wants the machine to stop before tripping the limit switches. I don't have switches on my router to try it, but Henrik's code is what I was going to tell you.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#5
| ||||
| ||||
| You are probably aware of this, but I'll say it anyway. You can set the soft limits up right at you switches and have the soft limits implement a slow zone. This would effectively slow an axis way down before it actually hits a switch. I just assume that is why you want soft limits set before the switches.
__________________ Lee |
| Sponsored Links |
|
#6
| |||
| |||
| CarveOne
__________________ "A $1,000 electronic device will almost always protect a ten cent fuse." |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with limits and home switches | eloid | DIY-CNC Router Table Machines | 4 | 04-28-2009 09:27 PM |
| Mach 3 not reading 0.000 at home switches | hindocarina | Mach Mill | 2 | 11-17-2008 06:04 PM |
| Mach turn settup soft limits and tip numbers | Green0 | Mach Lathe | 1 | 03-31-2008 04:35 PM |
| How to set up limits w/out home switches | bullseye | Mach Mill | 5 | 10-26-2007 06:44 PM |
| Home / Limits switches | borrisl | Shopmaster/Shoptask | 12 | 03-30-2006 10:25 PM |