Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: woodwurker on October 30, 2010, 12:20:58 PM

Title: Mach 3 and limit switches being seperate of wired into one input.
Post by: woodwurker on October 30, 2010, 12:20:58 PM
Hi all,

First of all, I want to thank you in advance for any answers that I may receive from this question. I assume the answer to this question is a matter personal preference rather than the answer being "There is ONLY one way to do it." I am putting the finishing touches on my machine and just want to get this ? answered before I proceed.

I am using the G540 as my controller board with which there are 5 total inputs on this board. I have, like most everyone else, have limit switches on all of the axis's. I have two on the X axis, 2 on the y axis and 1 on the Z axis. At present all five of the switches are tide together and run into one input on the Gecko G540. I suppose I am being a little hard headed to say that it would only seem better to have each axis running into its own independent input. At this point, the light indications for M1,M2 and M3 respectively will have have each axis separated. Is this the "right way to do if you have the open inputs or does it really matter? I just want to do it the best way from the beginning of putting this machine together rather that having to change it back to the other way down the road.

I am open to all opinions.....thanks in advance.

Mike

Title: Re: Mach 3 and limit switches being seperate or wired into one input.
Post by: woodwurker on October 30, 2010, 02:29:53 PM
The Subject should have been.....Mach 3 and limit switches being seperate or wired into one input.....I hoping to get some input here.

Thanks again.

Mike
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 30, 2010, 07:28:52 PM
Thee only difference, I can think of,  is you will not get a visual indication on screen which axis has hit its limit. Will this matter? to me it wouldnt as a visual inspection of the machine will tell you in two seconds which axis it is.
Only thing I can think of that would make it a benefit of having three separate inputs for the three axis would be if your wiring or a switch fails. With 3 separates it would make finding the offending wiring/switch slightly easier, but not much.
So to me if using the parallel port with limited Inputs then wire into a single input, unless you have plenty spare Inputs and dont think you will ever use them in the future.

Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: woodwurker on October 31, 2010, 12:22:01 AM
Hood,

I appreciate your reply. I was thinking along those same lines but wanted to hear the pros and cons form someone who has been there. I dont foresee any reason not to use one input for eash axis as I dont foresee anyhting coming down the pipe that would need an extra input...do you?

Thank you for your reply...hope your weather is good and the wind is at your back.

Mike
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 31, 2010, 04:12:20 AM
Just depends, you may wish to have external buttons for things such as Start or Feedhold etc which will use up inputs.

Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: TOTALLYRC on October 31, 2010, 04:55:55 AM
I have done it both ways.
On my DSPMC powered machine with lots and lots of I/O I have everything wired separately.
On my pport machine I will wire them all into one so I have the I/o for something else, like a probe.

Mike
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: GeorgeRace on October 31, 2010, 08:12:34 AM
I may be off base here, but wonder if there is quite a difference between wiring the three limit switches in series, to one port, versus individual limit switch lines to three ports.

It would seem to me that if the three limit switches were in series, when you home the mill, the first switch to hit its limit would stop all axis movement toward home.  This would result, for example, I think, if the Z axis limit opens first, the gantry stops with the X and Y no where near the home position.

If you wire the three switches to their own port, then the three axis will always go to the same home position, the place where the three switches go open as determined by the position of the limit switch stop block.

Just another thought about how to do it,

George

Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 31, 2010, 08:40:56 AM
Homing is normally done one axis at a time. If you wish to combine homing on two or more axis then you will need separate inputs.
Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: TOTALLYRC on October 31, 2010, 08:50:57 AM
I believe if you check ignore limits during homing adn hook them all to one input it will work.
The machine will home the Z and back off the switch, then it will home the y and back off the switch, lastly it will home the x and back off the switch. IIRC.

Mike
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: GeorgeRace on October 31, 2010, 08:55:02 AM
Mike, thanks I never realized that you could do that.

Neat idea and it would save a couple of inputs for other uses as well.

George
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 31, 2010, 09:04:00 AM
Mike
I cant recall ever seeing that setting, where is it?
As far as I am aware that is the normal way the axis will home when you press the RefAll button, Z first, Y, X then A etc, unless the VB in it is customised of course, but maybe that setting you refer to is chosen by default and that is why.
Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: TOTALLYRC on October 31, 2010, 12:39:07 PM
Hi Hood,
Notice the IIRC on the end of my last. as apparently I didn't remember correctly.

I must be confusing this with something else.

According to the manual you can combine all of the limits to one input and all the homes to another, as long as you remove the ref all function from your screen set.


Mike
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 31, 2010, 02:11:47 PM
Mike,
 I am wondering if that was possibly a setting in Mach2 as it does sound vaguely familiar to me.
Regarding the manual,  it would seem to me it  is wrong. As far as I am aware you can have all limits/homes combined and entering via one Input and the RefAll will work perfectly, so not sure why the manual says that.
Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: ostie01 on October 31, 2010, 03:21:00 PM
Could it be possible to have all switches together with a machine where there is a slave axis like mine.


How would you do that if I have separate switches for the X axis, one on each side to square the gantry.

I would like to do that since I use 4 separate inputs, one for each switch.

Jeff

Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on October 31, 2010, 05:42:56 PM
I am not sure how slaving and homing work work, I know there are settings on General Config for it but the only machine I have with a slaved axis is the coil winder (dual spindles) and I dont have home switches on them.
Hood
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: TOTALLYRC on November 07, 2010, 05:06:42 PM
Mike,
 I am wondering if that was possibly a setting in Mach2 as it does sound vaguely familiar to me.
Regarding the manual,  it would seem to me it  is wrong. As far as I am aware you can have all limits/homes combined and entering via one Input and the RefAll will work perfectly, so not sure why the manual says that.
Hood

Hi Hood,
I figured out where I have seen it. It is a DSPMC specific check box that is part of the integrated axis works. Since I have 2 of them I forget that everybody doesn't use them.

A friend of mine is hooking all of his limits and home to one input so we will see what happens. Although he is not completely finished it seems to be working well so far.
Title: Re: Mach 3 and limit switches being seperate of wired into one input.
Post by: Hood on November 07, 2010, 05:23:33 PM
That would explain it, not many settings in Mach I havent seen, thats not to say that I know what all the settings do though ;D
Hood