Hello Guest it is July 08, 2020, 07:21:12 AM

Author Topic: Homing all axis Help!!  (Read 5854 times)

0 Members and 1 Guest are viewing this topic.

Offline oskie

*
  •  29 29
    • View Profile
Homing all axis Help!!
« on: June 10, 2008, 10:45:14 PM »
I am sure this has been covered in the past, but I couldn't find anyone having the problems I am having.  I have the three switches wired in series and when I go to the diagnostics page the led lights are lit without the switches being reached so the machine tells me the homing is active and I need to fix the problem once I reset the estop button,  I unchecked the active low in the pin tab and this fixed that problem, butwhen the axis hits the limit switch it doesn't reverse it's movement, it continues trying to drive the axis ( I have broke 2 switches already).  I started testing without the power to the servos( helps with breaking parts) and I notice that when I depress the homing switch it continues to drive and when I release the switch it then moves to the next axis.  Any suggestion on what I have set wrong.
Thanks

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Homing all axis Help!!
« Reply #1 on: June 11, 2008, 01:53:50 AM »
Hi, Oskie

When your Homing are the DROs decreasing in value for X, Y,  & Z DRO increasing.

The spindle should be moving, - X left, - Y towards you & +Z up for Home.

When you push the switch "the axis keep moving in the same direction", It Should Stop and Change Directions, When you release the switch axis should stop.

That axis should zero, Then Mach should move to the next axis and home it the same way..

In Config, Home & Limits, Theres a "Home Neg" Check Box and a "Reversed" Box to change Axis direction if needed.

Hope this Helps, Chip
« Last Edit: June 11, 2008, 03:53:27 PM by Chip »

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Homing all axis Help!!
« Reply #2 on: June 11, 2008, 02:40:24 AM »
If you are using three switches in series (no problem) ALL THREE switches must be shown on Ports and Pins identically.i.e. Xhome YHome and ZHome should all be enabled, all Port 1, all the same pin, and all active hign or low.

If you test these manually, then each switch when pressed should light up ALL THREE led's in the Diagnostices page simultaneously. Mach 3 will sort out which one it wants to look at.

As Chip says - when homing, the axis do not stop immediately, they carry on past the switch slightly, then back off.
I was going to say try just wiring one - but if your diagnostics show all the switches coming in simultaneously, there is not much point.

Have you wired these switches on Make or Break - if you have wired them on Make, then if there is a break elsewhere all three will become inactive.

Running over switches is a hazard - would you try and stop a car by standing in front of it. My switches are now lasers, shining on detectors, to allow for any over-run.



Not me driving the engine - I'm better looking.

Offline oskie

*
  •  29 29
    • View Profile
Re: Homing all axis Help!!
« Reply #3 on: June 11, 2008, 01:47:37 PM »
The DRO's are moving and continue to move once the switch it hit.  With the power turned off to the servo's and a finger on the limit switch I noticed that once I depressed the switch the DRO's showed it to continue to drive  in the same direction until I released the switch with my finger.  Could the switches need more current than is being provided by the parallel port to function properly.  In the diagnostic screen, the LED lite up immediately when any of the switch are depressed and go out once the switch is released.  The switches are wired Normally closed ( I have check about 3 times)
Thanks

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing all axis Help!!
« Reply #4 on: June 11, 2008, 01:54:54 PM »
Please attach your xml. You will need to copy it to  different location n your drive and rename it before the forum will accept it as an attachment.
Hood

Offline oskie

*
  •  29 29
    • View Profile
Re: Homing all axis Help!!
« Reply #5 on: June 11, 2008, 07:46:43 PM »
Here is *.XML file,. hopefully this file will spill the beans

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: Homing all axis Help!!
« Reply #6 on: June 12, 2008, 04:14:00 AM »
I will let Hood confirm it, becasue I am not experienced at reading XML files - but your configuration does not appear correct. You do not appear to have any home or limit switches active.
Not me driving the engine - I'm better looking.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Homing all axis Help!!
« Reply #7 on: June 12, 2008, 05:44:47 AM »
Your xml seems correct here, what I have noticed however is your motors acceleration is very low, especially on the X and Y, this will mean it will take a while for your axis to slow down, stop then reverse, could that be your problem?
 For a test home an axis from mid travel then press that axis switch manually and keep it pressed and see if your motors slow down then reverse. Doing this from mid travel and pressing the switch while close to mid travel will allow you to let the motor run a while without being worried about it crashing into the ends.

Let us know if that is your problem, if not I will look further at your xml and see if I can find anything else.

Hood

Offline oskie

*
  •  29 29
    • View Profile
Re: Homing all axis Help!!
« Reply #8 on: June 12, 2008, 10:50:31 AM »
OK, I will give this a try.  Thanks

Offline oskie

*
  •  29 29
    • View Profile
Re: Homing all axis Help!!
« Reply #9 on: June 24, 2008, 11:34:26 PM »
Sorry for the long delay, I am still having issues with homing once I increased the acceleration.  It doesn't seem to notice when a switch is hit.  I do see on the diagnostic screen that the buttons light once any of the switches are hit.  The switches should be NC right?  Does the cable need to be shielded that goes to the switches?  I am at a loss for what could be happening.
Thanks
Oskie