Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: brianmoody on October 01, 2015, 05:42:00 PM

Title: Mach3 Parallel Port Home Switch
Post by: brianmoody on October 01, 2015, 05:42:00 PM
I have mach3 setup with a gecko g540.  I have home switches on three of my axis.

I can hit the switch and watch the light blink on while on the diagnostic screen but it doesnt stop.  It just hits the mechanical limit once it blows past the switch. 

I've done some searching and spent about a week trying to switch things around but always get the same result so I broke down and made a post.

Can anyone lend a hand?  Your time is appreciated.

(http://i31.photobucket.com/albums/c360/brian88lx/mach31_zpsvgtivh05.jpg)

(http://i31.photobucket.com/albums/c360/brian88lx/mach32_zps5wqh9k1r.jpg)
Title: Re: Mach3 Parallel Port Home Switch
Post by: bfgstew on October 02, 2015, 04:54:02 AM
I thought the homing limit switches need to be in series with just one input (pin 10) to detect each home position before homing the next axis.

Have a read of this Brian, it may help?     ftp://machsupport.com/Docs/Mach3%20Setup%20Tutorial.pdf
Title: Re: Mach3 Parallel Port Home Switch
Post by: brianmoody on October 02, 2015, 09:19:55 AM
I've had a look at that as well as watching the Mach 3 tutorial videos on the main site.

I have been using these diagrams which show the home switch wiring seems to be correct.  Mach3 does properly see when the switch has been triggered.  It just fails to stop the motors.  Has me super puzzled.

(http://i299.photobucket.com/albums/mm287/land6266/Public%20Share/G540WiringDiagram.jpg)

(https://dumpyourphoto.com/files4/103013/0XSKAo.jpg)
Title: Re: Mach3 Parallel Port Home Switch
Post by: bfgstew on October 02, 2015, 12:03:34 PM
Z axis homes first, then Y, then Z. Exactly what happens with your yours?
Have you got anything else assigned to those inputs?
Title: Re: Mach3 Parallel Port Home Switch
Post by: brianmoody on October 05, 2015, 11:07:25 AM
I pretty much have it setup out of the box mach3 with the gecko g540 xml config loaded.

z does attempt to home, and proceeds to go right past the switch only stopping when i hit the e-stop.

I'm going to attempt to resintall the software this evening to see if i had messed anything up along the way.
Title: Re: Mach3 Parallel Port Home Switch
Post by: Vogavt on October 10, 2015, 01:01:45 PM
Look at page 5-22 of the manual. It may be what you're looking for.

Specifically, the "Home Sw. Safety" about mid page.

Home Sw Safety, if checked, will prevent motion of a axis during homing if the home switch is already active. This is useful to prevent mechanical damage on a machine which shares limit switches at both ends of an axis with Home.

Also, do you have your table limits set up and turned on within Mach3?
Title: Re: Mach3 Parallel Port Home Switch
Post by: fixittt on October 12, 2015, 10:30:56 AM
it sounds as if you have a macro issue.
I use a company modified version of mach 3 that has all the homing and tool probing macros installed.  I do know that if I change my xml profile name to something else.  Not all the macros get copied into the new profile macros directory.

I have to go into C:/mach3/macros  Look for the default folder mach3_4axis  and copy all of the macros from that folder into the new profile folder in the macros directory.  Then all the functions work with the new profile name. 

it looks like your home switches are setup correctly in the inputs as long as when you trigger the switch, the home LED lights up instead of going black.  I have set them up on different inputs on the g540 before, and I have also had them all daisy chained on one pin number.  Will work either way.
Title: Re: Mach3 Parallel Port Home Switch
Post by: brianmoody on October 12, 2015, 12:06:08 PM
This is somewhat resolved.  The reason it was going passed the home switch is, I had the z and x axis home switches wired backwards on the controller so I was seeing the diagnostic light come on, however it was attached to the wrong axis so the x was actually wired to the z axis home switch pin.

Still struggling with home and limits and table sizes but I'm addressing that in another thread. 

I thank you all for your time.  Your insight is very helpful for this newbie.  :)