Hello Guest it is September 28, 2020, 09:15:41 AM

Author Topic: Homing Problem  (Read 5516 times)

0 Members and 1 Guest are viewing this topic.

Homing Problem
« on: May 06, 2010, 02:10:42 PM »
I am finishing the setup of Mach and I am having a problem homing the machine.  When I home the axes it starts with the Z, moves the axist until it touches the limit switch then backs of a small amount, this seems just fine.  Then it moves the Y but when it touches the limit switch the machine just enters a e-stop condition, it never backs off the switch.  I set the debounce to 2000 but that didn't help.  Any ideas?

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing Problem
« Reply #1 on: May 06, 2010, 02:17:57 PM »
Does the axis zero? If so then you are likely to have a bad switch. It would seem that the action of the switch is not positive so as it is triggered Mach sees it, starts to reverse but instantly sees the switch close again so sets zero but the switch opens again so Mach sees a limit triggered.
Hood
Re: Homing Problem
« Reply #2 on: May 06, 2010, 02:30:03 PM »
The Z axis zeros but the Y axis never zeros, and the X never has a chance.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing Problem
« Reply #3 on: May 06, 2010, 02:31:39 PM »
Can you attach your xml please.
Hood
Re: Homing Problem
« Reply #4 on: May 06, 2010, 02:49:36 PM »
Here is my XML

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing Problem
« Reply #5 on: May 06, 2010, 03:02:54 PM »
I think I have seen this problem before with that port address, will search and see if it is the same but if it is, for some reason it seems to screw some pins up.
If you look on the Diagnostics page do you see the Y Limit and Home switch LEDs work correctly when you manually trigger the switch?
Hood

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing Problem
« Reply #6 on: May 06, 2010, 03:14:05 PM »
Could you rewire to pin 10 and set that up for the Y axis home and limits and test it out, pin 11 seems to be weird with that port address here and this is just in simulation so it is very strange.
Hood
Re: Homing Problem
« Reply #7 on: May 06, 2010, 04:23:19 PM »
On the Diagnostics page all the limits/homes worked properly according to the LEDs.  Port 1 Pin 10 was taken to I moved the Y to port 2 Pin 10.  The Z and Y are now homing but the X now has the same problem, it hits the limit switch and the machine e-stops.  I moved the X axis limit/home switch to all the open pins and it would function as a limit switch on all of them but it would not home.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing Problem
« Reply #8 on: May 06, 2010, 05:05:13 PM »
It definitely seems to be a problem with your port address, its the correct address but for some reason that address seems to cause problems.
You say Pin 10 is taken, I didnt see that in your XML. You did have pin 10 used for E-Stop but you have that set to Port 0 so I presume you dont actually have an E-Stop.

Hood
Re: Homing Problem
« Reply #9 on: May 06, 2010, 05:09:59 PM »
I do have a E-stop and it works, on my board pin 10 is jumped to +24v.  I bought my system as a package and it came like this so I can't tell you why.