Re: Limit Switch's ????????????
Yes you are bang on. They limit the movement so you don't crash into the end stops.
A lot of the cheaper builds don't use them as a cost cutting exercise and just rely on the operator making sure his work envelope stays with the limits.
Not to bad on small machines as they usually just stall and loose position.
The larger industrial servo machines can do serious damage if they hit the end.
I have seen heads ripped off laser cutters when they have gone walkabout.
Three options and combinations of :-
[1] Don't bother and try to stay within limits
[2] Fit switches and wire up.
[3] Mach 3 has what are known as "Soft Limits" These are software limit switches that tell the program you can only go xx in that direction. You do need to set these from job to job as they only run from 0.0.
My router which is a Techo Isel bridge router was bought S/H with no motors or mounts fitted but it did have the nessesary linear rails and ball screws. This had crude limit switches which I ripped off as they were broken and bent.
At the moment it has no switches but I recently bought 3 reed switches and 6 magnets from RS as fitted to door and window alarms, very cheap about £1.50 a part and only accurate to about 3 to 5mm but as I don't need to home, only act as a limit I think they will work OK.
One switch per axis and a magnet at either end of the travels. Cuts wiring down and will look neat but time and testing will tell.
John S.
[edit] Not sure what's happening here but the * should read f-i-t-t-e-d somehow the software doesn't like that word ?
Re: Limit Switch's ????????????
Intresting ill take a look into this.
Yea f.i.t.t.e.d must be in the word censor i added last night, reminds me i need to post about that and let everyone know. Ill remove that word, the list of offensive words came from a guy in another country so maybe that word is offensive to them.
Re: Limit Switch's ????????????
Limit switches are essential in my view... and they are much more useful than just to prevent something going off the rails so-to-speak. Having said that 30p spent on a micro-switch can save you thousands of pounds in damages.. which is worth it in itself. The day your gantry falls off the end of your table will be the day you decide should have used a limit switch....
Also each time you set up for a job you will need to have a referenced position in relation to the stock... Same goes with tool-changing ... or setting up for a different job..... this is soooo much easier when you can ref the tool position in relation to the table overall. You can only really do this using switches... Also, if there is any kind of problem with the cut and you have to re-start the job.. you will need to do so from a known position.
You can just ref off the stock each time.. and on a small machine sat next to the controller this might be an acceptable way to work for you... but for peace of mind and ease of use I'd recommend home and limit switch on each axis....
Re: Limit Switch's ????????????
Ok, Yohudi can you start me off then please mate as i have no idea where to start with this.
You'v seen my build log right, so if we need to a new post would be good. If you let me know what information i need to give you ill post that up promtly, everything to do with my build is on here anyway.
Ill keep it short and sweet while you get back to me. :-)
Re: Limit Switch's ????????????
Hi there,
Limits aren't that difficult but to a degree the way you implement them depends on the facilities offered by your breakout board... or in your case the Dsub board... there are usually about 5 pins dedicated to input, which looking at the pic I can see the Dsub board has. In your CNC control software you will be able to assign functions to these inputs based on pin numbers.. Estop , Limits or Encoders are usually the functions assigned.
Just looking at limits they operate as follows:- Use a normally open switch, when the software detects any of the assigned inputs switching closed it stops ALL motors. In the case of Estop it similarly stops ALL motors. Shared Home/-ve limits operate slightly differently to just a simple limit. When homing the control software moves each axis until the switch is triggered then advances a small amount off the switch to a known position. When NOT homing if the shared switch is triggered then ALL motors are stopped as with a bog standard limit. A lot of this is down to the features available in the software you plan on using. It's one of the reasons I went with Mach2/3 myself as it has ALL the bells and whistles IF you want to implement them.
It's usual to assign a separate input for each axis home position/-ve limit, this uses 3 inputs. Then a further single input can be used for all +ve limits, this is called summed limits. The remaining input can be used for a separate Estop or enable function... again on a normally open switch. If you plan on using the inputs for other purposes it is possible to sum the home/-ve limits too... but then you have to ref each axis 1 as a time instead of being able to ref all.
I've upped a rough diagram based on a pic from your build log with suggested trigger/switch positions. I'd mount the switches to the base/frame so that the blocks of your moving parts would trigger the switches or you can preferably use adjustable trigger blocks. This avoids having the wiring to the switches in motion and also means it's easy to move the trigger block to adjust the point at which the limits are switched. You don't have to use expensive cable for limit switches.... they are normally open for starters so there's no signal/voltage in the circuit anyway. micro switches are as good as anything.. I use micro switches on my Y axis and Z axis and have excellent positioning and repeatability which I've tested using multiple-passes over the workpiece.
If there are no docs related to limits etc with the hardware you bought then I suggest a good read of the Mach2/3 manual which has a good discussion of the subject and you can then relate this back to your own hardware.
hope this helps
oh BTW... I notice you are located in Wigan... I used to, work down the road in St Helens up until 1989.. for a firm called Sutton Timber.. maybe you know the place as it's a sizeable timber/UPVC fab setup.. then again maybe not...
Re: Limit Switch's ????????????
Quote:
Originally Posted by Yohudi
Also each time you set up for a job you will need to have a referenced position in relation to the stock... Same goes with tool-changing ... or setting up for a different job..... this is soooo much easier when you can ref the tool position in relation to the table overall.
Does a 30p microswitch really have that degree of repeatability?
Not saying it doesn't, just curious.
And what about the z axis where you want to detect the tool tip rather than the slide position? That'd be tricky with a microswitch.
I keep meaning to fit them but I have these nagging doubts, everytime I look at it I start drawing long amplifying levers and schmitt opto switches :D
Re: Limit Switch's ????????????
Could someone please tell me what wire I should be using on my limit switches?
Would 7/02 equipment wire be ok to use or?
Cheers,
CM
Re: Limit Switch's ????????????
Ok so mike over at routoutcnc.co.uk has been in contact and its screaned cable i need to be using.
Quote:
no 7/0.2 will be fine longs as it's screaned
So now we know !
Re: Limit Switch's ????????????
If you want a microswitch to set the zero point, rather than spot a whoopsy, make sure you always use the same transition. They have huge hysteresis.
I prefer an opto slot. They usually move from high to low in a fairly straight line as the beam is interrupted. Reading it is slightly tricky because logic gates have big hysteresis, so, you add a comparator and get no hysteresis at all. Switches perfectly in either direction.
Any cable will do, if worried about interference, twist it :D