Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Jake2418 on December 03, 2011, 08:59:16 AM

Title: Home Switch Staying Active
Post by: Jake2418 on December 03, 2011, 08:59:16 AM
The Home Limit signals are staying active in Mach 3 without any of the switches being pressed. Ran the mill a few weeks back and had no problems. Went out the other morning and soon as I started Mach the problem arose. The switches are wired in parallel. I've tried moving it to a different output pin and no luck. Even with the the switches not connected to the breakout board the Home Signal in Mach is still active. Any advice would be greatly appreciated.

Thanks in Advance!
JAKE
Title: Re: Home Switch Staying Active
Post by: Hood on December 03, 2011, 09:33:36 AM
Could the active state of the home switch inputs have been changed?
Hood
Title: Re: Home Switch Staying Active
Post by: Jake2418 on December 04, 2011, 06:44:28 PM
Hood,

       Nothing in the Mach software has been changed. All settings are as they were a couple of weeks ago when I last ran the mill and nothing was wrong. My Home Limits are active low. When I un-check them the Home Limit LEDS go off but cant get the limit switches to do anything then. They have to be set active low.

Jake,
Title: Re: Home Switch Staying Active
Post by: Tweakie.CNC on December 05, 2011, 04:30:53 AM
Jake,

You say that your switches are wired in parallel and set in Mach as active low. If that is the case then check your 5 volt pull-up resistor.

Tweakie.

Title: Re: Home Switch Staying Active
Post by: Jake2418 on December 05, 2011, 11:03:41 PM
Tweakie,
    Can you please go into detail in what you are asking me to look for. This is my first real problem with my breakout board and for info purposes it is a C10 board. I have little electrical knowledge of this board and its inner workings. Little guidance work be greatly appriciated.

Thanks,
Jake
Title: Re: Home Switch Staying Active
Post by: Tweakie.CNC on December 06, 2011, 02:09:42 AM
Hi Jake,

It is more usual to have the switches wired in ‘series’ but no worries (mine are wired in parallel and I always seem to do everything differently to everyone else).
The ‘pull-up’ resistors are already mounted on the C10 board so assuming your switches are ‘wired in parallel’ then the C10 jumper (X5) need to be set for ‘pull-up’ (2-3) and your switches need to be wired to their ‘normally open’ contacts and Mach configured for ‘active low’ on the switch input pin#. Your actual switches will connect between the relevant input pin# and GND.

Hope this explains it.

Tweakie.
Title: Re: Home Switch Staying Active
Post by: Jake2418 on December 08, 2011, 06:14:46 AM
Got the problem solved this morning. Let this be a lesson. When something just all of a sudden quits working right check the simplest things first. Went back and pulled the wire covers off the home switches and found a loose wire. Tightened the screw back up and problem solved. Thanks to all parties with the assistance. I feel like a dumbass, o well back to making chips.

Thanks again,

Jake