1981
General Mach Discussion / Re: Help Configuring Limit and Homing Switches
« on: October 23, 2007, 03:54:35 AM »I am confused about settingup my limit and Homing switches. As you can see in the below drawing each axis has two normally closed switches, one just a limit and the other is both a limit and home switch both switches are wired in series. The breakout board manufacture showed this thpe of switch configuration and I understand that this is possible, I just can't find the way to set it up. The X axis is connected to pin 10 on the breakout board. Mach3 must have a way of knowing the direction it is travling and if it hits a limit or a limit and home switch. The breakout board has Gnd, 10, 11, 12, 13, and 15 for the limits, home and EStop switches.
How do you configure this? Also If a limit is hit I want to drive off of it automatically, to get out of theh error condition.
I also pasted a the input screen where I think this is done, but don't know how. Please refer to tabs and screens in their exact names, so I can see how to do the setup. Remember this is my first post.
Hi - Your config for your switch setup looks fine as long as you are actually on port 1 and you do have it wired as you say 10,11,12 and common sig gnd. What is not working?
Home function: Mach does indeed know which way it's travelling and therefore when it hits a switch it decelerates, stops and then backs off until the switch is made again. That's home.
Limit function: Mach doesn't care which way it's travelling - any limit switch going open will immediately result in a dead stop. You then have to JOG off the switch. It's not really logical to want this to happen automatically - a limit is an error - it shouldn't happen - it's Machs way of telling you it's gone out of bounds and needs manual (thoughtful) intervention. Suppose for example it hit limit because it has lost steps - it doesn't know where it is - how can it then automatically sort itself out?